rliverman


Member since 11/19/2010

11 snippets

7059 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 2089 posted 14 years ago by rliverman
// quick function to cut back on the length of content
0 1620 posted 14 years ago by rliverman
Relies on "trunCate" a truncating function.
2 2797 posted 14 years ago by rliverman
Wordpress by default wraps images in <p> tags, this kills that.
3 2169 posted 14 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 2002 posted 14 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 1633 posted 15 years ago by rliverman
0 1815 posted 15 years ago by rliverman
0 1443 posted 15 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 1425 posted 15 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 3730 posted 15 years ago by rliverman
« Prev 1 Next »