Welcome To Snipplr


Everyone's Recent Snippets Tagged theme



How to enable Custom Navigation Menus in WordPress 3.0 Like the custom background, header image, and post thumbnails, the custom navigation menus also needs to be enabled through your theme’s functions.php file.
0 628 posted 13 years ago by johnnyrokkit
Modify the StandardTheme.lib file
0 594 posted 13 years ago by bnotess
Adds support for excerpts in WordPress pages. Great for using WordPress as a CMS. A text field appears in the admin panel and you can pull the excerpt from your template files (for teaser texts etc.)
0 596 posted 13 years ago by hussong
Embed the "Who's online" block from within a template file.
1 817 posted 13 years ago by daipratt
This may be necessary to properly add theme support for multiple menus.
0 672 posted 13 years ago by Jamie
Used these styles to comply with default wordpress WYSIWYG class names
0 482 posted 13 years ago by myke
get custom fields value in wordpress theme
1 748 posted 13 years ago by maximaker
1 571 posted 13 years ago by screamwork
add home link
1 618 posted 13 years ago by screamwork
0 481 posted 14 years ago by sennesaelium
0 423 posted 14 years ago by blumenberg
themes the primary links adding spans (useful for sliding doors technique) and nice ID's based on the link title rather than the standard ugly menu-851 classes etc.
1 793 posted 14 years ago by ReeceMarsland
Wizzlern, a Dutch Drupal trainer, has a Dutch article online on how to remove the "search this site" label in the Drupal search-block.
2 797 posted 14 years ago by berkes
I pieced together this code when I had to do this for a client: - show the first image attached to a post (based on sort order in gallery tab) in medium size - put all the other images attached to the post into an imageset so that when you click on...
1 870 posted 14 years ago by zartgesotten
2 548 posted 15 years ago by spark9
0 473 posted 15 years ago by zachharkey
Create theme override file: `upload_attachments.tpl.php` in your theme directory. [CSS styles](http://snipplr.com/view/11848)
2 736 posted 15 years ago by zachharkey
The following styles are designed to work with the markup from a custom theme override template called [upload_attachments.tpl.php](http://snipplr.com/view/11851)
1 776 posted 15 years ago by zachharkey
2 529 posted 15 years ago by zachharkey
Few different ways to output primary links in your page.tpl.php template.
3 1014 posted 15 years ago by zachharkey
uri: http://organic.qualitywordpress.com/
0 527 posted 15 years ago by ChaosKaizer
The code for my wordpress Archives page, there have been a few people who asked how I did it.
0 681 posted 15 years ago by kristin
A per-region override. ogt_blocks is ran for a region, if a region contains blocks, we search for a theme function named theme_region_regionname(). If exists, we run that, else we just return the concatenated blocks for that region.
1 803 posted 16 years ago by berkes