Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is designed to show 10 posts on each of the pages after the home/blog page when the home page only shows 5 (because if you just use posts_per_page=10 without the offset you will lose the most recent posts numbered 6-10 in between the first and...
0
630
posted 14 years ago by kristarella
This template code will work only in the WordPress Loop to include a map if the Geo Mashup plugin is active and the current post has a location.
0
867
posted 14 years ago by cyberhobo
I didn't like the way my bookmarks came out with wp_list_bookmarks or any other built-in function, so I figured out a way to have total control about the way your wordpress bookmarks are displayed.
In this example I wanted a table with the Bookmark...
0
631
posted 14 years ago by zartgesotten
Here is the code I used to show all of the posts for a particular category...
0
949
posted 14 years ago by bdnnikki
Had many people ask me how I display all posts in a category when they click on the category link in the header @<a href="http://www.vagrantradio.com">http://www.vagrantradio.com</a>.
There's a lot more involved, but here's the quick and dirty;
0
973
posted 14 years ago by vagrantradio
This will create a bookmark link to send a Wordpress post to your Evernote Account similar to the send to Google reader feature on the Evernote blog.
0
797
posted 14 years ago by vagrantradio
Gives you the option to select a custom gravatar in the Wordpress discussion setting in admin dashboard
1
743
posted 14 years ago by vagrantradio
Thanks to Jennifer Zelazny
You can see complete post in http://www.sandboxdev.com/blog/wordpress/178/remove-private-from-wordpress-titles/comment-page-2/#comment-16447
Add the following code into functions.php file (within theme directory)
0
959
posted 14 years ago by vigoncas