Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Do not forget to name images you want to use for background like 1.jpg, 2.jpg, 3.jpg etc.
0
952
posted 14 years ago by ariunbolor
post thumbnail function and display as background if function exists
0
1215
posted 14 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
1318
posted 14 years ago by prwhitehead
Cache the results of your wordpress database queries for faster page generation
0
2326
posted 14 years ago by prwhitehead
Dynamically get the guid of your a post from its post title (with wordpress caching)
0
1235
posted 14 years ago by prwhitehead
Create your own wordpress hooks easily and simply. Just rename the function to whatever you like.
0
1059
posted 14 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
1547
posted 14 years ago by prwhitehead
To remove some of the lesser used edit post / page meta boxes:
0
1250
posted 14 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
1327
posted 14 years ago by prwhitehead
Create excerpts from text block from your wordpress content and add links page / post from the guid.
0
1323
posted 14 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
1379
posted 14 years ago by blueocto