Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 29 30 31 32 33 ... 47
0 525 posted 14 years ago by theasta
The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
1 853 posted 14 years ago by stephcode
Use this function to filter your first and last menu items and assign them each a specific class name. This is very handy when applying separators in CSS but want to exclude the first and/or last items.
3 848 posted 14 years ago by fjarrett
Add your own text and/or link to the admin footer area. Don\\\'t forget to leave in some credit for WordPress and other helpful links.
1 627 posted 14 years ago by fjarrett
Clean up your Admin Editor view by removing unwanted meta boxes that create clutter.
0 636 posted 14 years ago by fjarrett
Keep your WordPress theme code free from harm by removing the Editor link in the Admin Appearance menu.
0 666 posted 14 years ago by fjarrett
Clean up your WordPress backend by removing unwanted admin menus that create clutter.
0 609 posted 14 years ago by fjarrett
Change \"wp\" to your database prefix. Note, this is the quick and dirty way. The more thorough way, which will also clean any tags or categories that are now unused, is here: http://www.snipplr.com/view/29570/get-rid-of-unused-post-revisions/
2 656 posted 14 years ago by jessibird
An example of how to call the dropdown taxonomy term function in the template.
0 659 posted 14 years ago by fjarrett
The dropdown taxonomy term function will enable you to show custom taxonomies in a dropdown menu. It supports both hierarchal (category-type) and non-hierarchal (tag-type) taxonomies.
0 770 posted 14 years ago by fjarrett
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 750 posted 14 years ago by hussong
Gets the date, pulls a list of upcoming events (posts from cat 6) and sorts by custom field \\\"event_date\\\" . Add to sidebar via [PHP Code Widget](http://wordpress.org/extend/plugins/php-code-widget/).
0 949 posted 14 years ago by hussong
Uses action hook of the hybrid theme framework to launch function that modifies the query on the archive page for category 6.\\r\\n\\r\\nSorts by the custom field \\\"event_date\\\" and compares it to the current date.\\r\\n\\r\\nBased on [goto11\\\'...
0 810 posted 14 years ago by hussong
Show the top tags by usage.
1 1298 posted 14 years ago by daipratt
The CSS code uses the Twenty Ten default them
0 550 posted 14 years ago by gitano
2 767 posted 14 years ago by crs
1 470 posted 14 years ago by joseduenas
1 768 posted 14 years ago by adambundy
Example code for a SlideDeck user to place their SlideDeck on the homepage of their WordPress site.
0 826 posted 14 years ago by oriontimbers
run funciton once, ideally bind to activation hook of a plugin
2 725 posted 14 years ago by errkk
Exclude category slugs, only shows parent cats.
0 765 posted 14 years ago by vagrantradio
1 ... 29 30 31 32 33 ... 47