Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 18 19 20 21 22 ... 47
0 747 posted 13 years ago by psteinweber
0 735 posted 13 years ago by psteinweber
1 722 posted 13 years ago by psteinweber
Add code in first line your page.
0 734 posted 13 years ago by tcelestino
Do not forget to name images you want to use for background like 1.jpg, 2.jpg, 3.jpg etc.
0 670 posted 13 years ago by ariunbolor
post thumbnail function and display as background if function exists
0 814 posted 13 years ago by zealmurapa
Returns all of the custom fields (meta data) from a page / post and assigns them all to a single session array for compactness
1 861 posted 13 years ago by prwhitehead
Cache the results of your wordpress database queries for faster page generation
0 1033 posted 13 years ago by prwhitehead
Dynamically get the guid of your a post from its post title (with wordpress caching)
0 840 posted 13 years ago by prwhitehead
Add a login form to your wordpress themes frontend.
0 1028 posted 13 years ago by prwhitehead
Create your own wordpress hooks easily and simply. Just rename the function to whatever you like.
0 749 posted 13 years ago by prwhitehead
Create custom database tables within wordpress. Just replace 'stats' with the name of your table, and then the $sql variable with your create table sql.
0 1128 posted 13 years ago by prwhitehead
Remove menu items from the wordpress admin
0 814 posted 13 years ago by prwhitehead
To remove some of the lesser used edit post / page meta boxes:
0 820 posted 13 years ago by prwhitehead
Create a sitemap in wordpress, including posts, categories and pages just use the [sitemap] shortcode within the post content and wordpress / the function does the rest.
0 993 posted 13 years ago by prwhitehead
Create excerpts from text block from your wordpress content and add links page / post from the guid.
0 956 posted 13 years ago by prwhitehead
In the User settings, there is a web form called Contact Info. It has input fields for the user’s AIM account, Yahoo IM account, and so on. But how about Twitter? What about Facebook? Out of the box, the Contact Info panel doesn’t have these i...
0 895 posted 13 years ago by blueocto
This is a great place to add your own custom Help text for a client. You can even customize it for different Admin panels. For example, you can add a different Help text for the Add New Post panel and another one for the Comments panel. Here’s h...
0 883 posted 13 years ago by blueocto
It’s possible to disable it conditionally for each WordPress user by going to Users > Your Profile. However, if you want to remove it completely, you can add the following filter:
0 840 posted 13 years ago by blueocto
I pinched the get_avatar() function from the wp/wp-includes/pluggable.php file and commented out the setting of the avatar as an <img> tag and returned the actual image url instead.
0 731 posted 13 years ago by camdagr8
3rd argument of 'add_action' function is priority, by default set to 10. This is a much simpler way of reorder posts exactly as you want them to appear.
1 631 posted 13 years ago by mrgurner
1 ... 18 19 20 21 22 ... 47