Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 22 23 24 25 26 ... 47
Modify the array to get different number of posts, change the order, change / add categories etc.
1 1477 posted 15 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 1264 posted 15 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 1484 posted 15 years ago by firewalker06
3 1653 posted 15 years ago by SixteenOne
Inserts WordPress shortcode outside the loop in a template
1 1239 posted 15 years ago by primitiveshaun
0 1219 posted 15 years ago by silentpro
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 1440 posted 15 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 1547 posted 15 years ago by hussong
his code will show the child pages, and only the child pages, when on a parent or on one of the children. This code will not work if placed after a widget block in the sidebar.
1 1836 posted 15 years ago by raz
List WordPress subpages and include parent
0 1455 posted 15 years ago by raz
0 2303 posted 15 years ago by alik
1 1921 posted 15 years ago by widescape
'container' => ' ' -- removes the container div
1 1594 posted 15 years ago by adambundy
You may need to change the IDs around.
2 1582 posted 15 years ago by joshvermaire
0 1132 posted 15 years ago by lexpresso
0 1017 posted 15 years ago by anhonestboy
this code to load image from my theme images folder
0 1352 posted 15 years ago by root_hacker
I got the answer to this question on WordPress Stack Exchange website: http://wordpress.stackexchange.com/questions/6931/is-there-a-wordpress-function-that-i-can-use-to-retrieve-the-current-page-that-is
0 3068 posted 15 years ago by racl101
Use this to get the name of the custom taxonomy. Note that this only returns the name of the first selected item, but since this returns an array, use a foreach loop to find all names.
0 2884 posted 15 years ago by ToddSmithSalter
Plugin gets child pages of parent in Wordpress. You'll need to pass the parent ID but this isn't difficult to figure out programmatically if needed, either.
0 1706 posted 15 years ago by ashworthconsulting
0 1167 posted 15 years ago by slcwebapps
my wordpress loop with paging support and category,tag filteration
3 1591 posted 15 years ago by root_hacker
1 ... 22 23 24 25 26 ... 47