Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged wordpress



1 ... 35 36 37 38 39 ... 42
0 1214 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 1423 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 1389 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 1366 posted 15 years ago by thesislab
This function assumes a custom print.css located in the custom folder.
1 1018 posted 15 years ago by thesislab
0 1296 posted 15 years ago by gd6d
0 1054 posted 15 years ago by gd6d
0 975 posted 15 years ago by gd6d
0 1066 posted 15 years ago by gabbo
0 1110 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 1296 posted 16 years ago by cyberhobo
the numbers 108 and 18 are the category ids i wanted to exclude
0 1019 posted 16 years ago by crs
Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!
1 1476 posted 16 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 1006 posted 16 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 1205 posted 16 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 1067 posted 16 years ago by paulgrenwood
Allow Visitors to Email Posts to Their Friends
0 987 posted 16 years ago by paulgrenwood
1 1028 posted 16 years ago by paulgrenwood
For use in conjunction with the get_work function in the theme functions template, functions.php.
0 1015 posted 16 years ago by tylersticka
For use in the theme functions template, functions.php.
0 982 posted 16 years ago by tylersticka
1 ... 35 36 37 38 39 ... 42