rliverman


Member since 11/19/2010

11 snippets

2286 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

rliverman's Recent PHP Snippets



« Prev 1 Next »
From 'Andy' in the comments.
0 1066 posted 12 years ago by rliverman
// quick function to cut back on the length of content
0 548 posted 12 years ago by rliverman
Relies on "trunCate" a truncating function.
2 781 posted 12 years ago by rliverman
Wordpress by default wraps images in <p> tags, this kills that.
3 833 posted 12 years ago by rliverman
In this example I used the "Members" plugin to add a capability called "hide_jobs" and that was the trigger to hide certain admin menus and also hide the "Right Now" dashboard widget.
0 852 posted 12 years ago by rliverman
Needed this to have the index.php or main blog page show the full content for the first two posts and then just the excerpt for the rest and still have pagination working.
2 628 posted 13 years ago by rliverman
0 546 posted 13 years ago by rliverman
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 519 posted 13 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 742 posted 13 years ago by rliverman
« Prev 1 Next »