Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged wordpress



1 ... 35 36 37 38 39 ... 42
0 816 posted 15 years ago by gd6d
As you can probably see I use the Sociable plugin on this blog. I recently realized that the Digg link was broken. Here is the fix:
0 956 posted 15 years ago by captbaritone
Once the automatic button placement for the ShareThis plugin has been deactivated, this function added to custom_functions.php will place the button on single posts only (not the home page).
1 928 posted 15 years ago by thesislab
Add the code below to custom_functions.php to restore Thesis Options and Design Options to their defaults. Keep in mind that this has no effect on custom.css, or the other functions in custom_functions.php.
2 965 posted 15 years ago by thesislab
This function assumes a custom print.css located in the custom folder.
1 688 posted 15 years ago by thesislab
0 849 posted 15 years ago by gd6d
0 739 posted 15 years ago by gd6d
0 671 posted 15 years ago by gd6d
0 676 posted 15 years ago by gabbo
0 740 posted 15 years ago by gabbo
This makes template code that applies to children of a particular page much more readable, especially if you can use a page path instead of an ID: `if ( is_child_of( 'topic/subtopic' ) ) :`.
1 869 posted 15 years ago by cyberhobo
the numbers 108 and 18 are the category ids i wanted to exclude
0 679 posted 15 years ago by crs
Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!
1 942 posted 15 years ago by joelhaus
Search Engine Optimisation, or SEO is something that a lot of bloggers get obsessed about, whilst others think it’s a load of rubbish. I’m halfway between the two – whilst I believe that you can change certain things to better SEO your content,...
0 650 posted 15 years ago by paulgrenwood
Whilst there are a number of ways of displaying thumbnails, this is still my favourite (even if it does require the most work!). First, upload timthumb to /wp-content/themes/yourtheme/ and create an image 250px by 250px with your site’s logo and up...
0 787 posted 15 years ago by paulgrenwood
This is something that I wished I’d thought of a long time ago – show other posts in the same series using not a plugin but custom fields. All you’ve got to do for this trick to work is create a custom field ‘Series’ with a link to each oth...
1 694 posted 15 years ago by paulgrenwood
Allow Visitors to Email Posts to Their Friends
0 662 posted 15 years ago by paulgrenwood
1 726 posted 15 years ago by paulgrenwood
For use in conjunction with the get_work function in the theme functions template, functions.php.
0 655 posted 15 years ago by tylersticka
For use in the theme functions template, functions.php.
0 632 posted 15 years ago by tylersticka
1 ... 35 36 37 38 39 ... 42