Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged wordpress



1 ... 22 23 24 25 26 ... 42
2 716 posted 13 years ago by mb2o
0 647 posted 13 years ago by Joergermeister
Using shortcode to retrieve the author page url (ex. abc.com/?author=123), using the WP Shortcode API as reference.
1 653 posted 13 years ago by sdxxx
0 765 posted 13 years ago by Farhan
How to display your page or categories list within a definition list instead of the default unordered list. The first block is about pages and the second one is about categories.
0 521 posted 13 years ago by brunohstein
0 603 posted 13 years ago by baires
0 368 posted 13 years ago by recipient
Used in Wordpress to get the post Thumbnail. Thumb url goes to $img
0 545 posted 14 years ago by RWolford
For Wordpress. Used to get the url of the post Thumbnail.
0 495 posted 14 years ago by jazzikins
Use this to grab the first image in a post
0 772 posted 14 years ago by howardpanton
Add custom logo to the login and dashboard of wordpress. More customization functions at: http://sixrevisions.com/wordpress/how-to-customize-the-wordpress-admin-area/
1 693 posted 14 years ago by rliverman
Code for the wordpress functions file to add a custom post type. Full doc at: http://codex.wordpress.org/Function_Reference/register_post_type http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress
0 2290 posted 14 years ago by rliverman
This code is usefull for getting the list of Wordpress Sites from Multisite without sending each user id.
0 1182 posted 14 years ago by juanrossi
1 ... 22 23 24 25 26 ... 42