Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Add this piece of code in your .htaccess file located in wordpress root directory
0
1132
posted 14 years ago by kirichev
Put this code in your theme, where you want to show followers count. Don't forget to change USERNAME.xml to your twitter user name.
0
1300
posted 14 years ago by kirichev
Most of this code is by:
http://www.wprecipes.com/get-tags-specific-to-a-particular-category-on-your-wordpress-blog
I simply added the Tag Cloud
0
1161
posted 14 years ago by daif
Embed a video via PHP without using `the_content` filter in WordPress. From luckykind at http://wordpress.org/support/topic/call-function-called-by-embed-shortcode-direct
0
1001
posted 14 years ago by jevets
If a MySQL DB for WordPress is encoded as latin1, these steps will prevent utf8 encoding issues.
0
1349
posted 14 years ago by theriddlebrothers
If you run a query to delete old posts manually from MySQL in a WordPress database, the old tags will remain and appear in your tag cloud/listing. This allows you to identify those unused tags, and then delete them with an additional query.
0
1073
posted 14 years ago by theriddlebrothers
This SQL takes the redirects from Drupal 5.5 tables and converts them into a format the WordPress plugin Redirection can understand.
0
1057
posted 14 years ago by ethicka
Wordpress: home page condition , we can identify it any inner pahe (header / footer etc.)
1
983
posted 14 years ago by aashvi
replaced taxonomy = 'category' with taxonomy = '".myTAXONOMY."'
add lines 51, 52, 93 - 123
0
1957
posted 14 years ago by Ijaas
Example of loading thickbox and syntaxhighlighter conditionally from the functions.php of a wordpress theme.
2
1006
posted 14 years ago by zac