Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
785
posted 13 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
679
posted 13 years ago by jevets
Wordpress: home page condition , we can identify it any inner pahe (header / footer etc.)
1
608
posted 13 years ago by aashvi
replaced taxonomy = 'category' with taxonomy = '".myTAXONOMY."'
add lines 51, 52, 93 - 123
0
1473
posted 13 years ago by Ijaas
Example of loading thickbox and syntaxhighlighter conditionally from the functions.php of a wordpress theme.
2
617
posted 13 years ago by zac
Modify the array to get different number of posts, change the order, change / add categories etc.
1
836
posted 13 years ago by amyb
this is pretty useful if you want to use the wordpress blog system to feed a custom application/site of yours
0
657
posted 13 years ago by louisdedecker
## Benefit
To notify visitors that the current post they are viewing is an old post. Suitable for Blog / Website that provide timely articles
0
816
posted 13 years ago by firewalker06
Inserts WordPress shortcode outside the loop in a template
1
636
posted 13 years ago by primitiveshaun
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
795
posted 13 years ago by rliverman
Custom sorting for events based on a custom field
needs to be added to navigation-links.php
requires plugin: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
0
923
posted 13 years ago by hussong