Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
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
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
Code snippet that allows the user to be automatically logged in on account creation, this works with s2Member since they allow the user to create their own password.
1
733
posted 14 years ago by oriontimbers
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0
819
posted 14 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0
779
posted 14 years ago by vagrantradio
Used this on the vox site to find a custom post type and then assign a variable to get different classes for the output.
0
1235
posted 14 years ago by dallasbpeters