rliverman


Member since 11/19/2010

12 snippets

6771 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

rliverman's Recent Snippets



« Prev 1 Next »
From 'Andy' in the comments.
0 2057 posted 14 years ago by rliverman
// quick function to cut back on the length of content
0 1600 posted 14 years ago by rliverman
Relies on "trunCate" a truncating function.
2 2775 posted 14 years ago by rliverman
Wordpress by default wraps images in <p> tags, this kills that.
3 2137 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 1979 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 1601 posted 15 years ago by rliverman
0 1787 posted 15 years ago by rliverman
0 1425 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 1395 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 3702 posted 15 years ago by rliverman
« Prev 1 Next »