Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 29 30 31 32 33 ... 47
0 652 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 1036 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 1027 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 774 posted 14 years ago by fjarrett
Clean up your Admin Editor view by removing unwanted meta boxes that create clutter.
0 789 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 821 posted 14 years ago by fjarrett
Clean up your WordPress backend by removing unwanted admin menus that create clutter.
0 793 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 810 posted 14 years ago by jessibird
An example of how to call the dropdown taxonomy term function in the template.
0 823 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 978 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 902 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 1116 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 983 posted 14 years ago by hussong
Show the top tags by usage.
1 1472 posted 14 years ago by daipratt
The CSS code uses the Twenty Ten default them
0 682 posted 14 years ago by gitano
2 936 posted 14 years ago by crs
1 597 posted 14 years ago by joseduenas
1 938 posted 14 years ago by adambundy
Example code for a SlideDeck user to place their SlideDeck on the homepage of their WordPress site.
0 990 posted 14 years ago by oriontimbers
run funciton once, ideally bind to activation hook of a plugin
2 910 posted 14 years ago by errkk
1 1090 posted 14 years ago by alozuldo
Exclude category slugs, only shows parent cats.
0 926 posted 14 years ago by vagrantradio
1 ... 29 30 31 32 33 ... 47