Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged wordpress



1 ... 26 27 28 29 30 ... 42
Keep your WordPress theme code free from harm by removing the Editor link in the Admin Appearance menu.
0 1080 posted 15 years ago by fjarrett
Clean up your WordPress backend by removing unwanted admin menus that create clutter.
0 1127 posted 15 years ago by fjarrett
An example of how to call the dropdown taxonomy term function in the template.
0 1076 posted 15 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 1365 posted 15 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 1234 posted 15 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 1522 posted 15 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 1285 posted 15 years ago by hussong
Show the top tags by usage.
1 1776 posted 15 years ago by daipratt
2 1286 posted 15 years ago by crs
1 845 posted 15 years ago by joseduenas
1 1241 posted 15 years ago by adambundy
Example code for a SlideDeck user to place their SlideDeck on the homepage of their WordPress site.
0 1410 posted 15 years ago by oriontimbers
run funciton once, ideally bind to activation hook of a plugin
2 1231 posted 15 years ago by errkk
Exclude category slugs, only shows parent cats.
0 1241 posted 15 years ago by vagrantradio
Returns the page object of the parent of the current page.
0 1508 posted 15 years ago by levinet
Returns the post or page id using the name/slug of a page.
2 4202 posted 15 years ago by levinet
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 1184 posted 15 years ago by oriontimbers
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0 1333 posted 15 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0 1308 posted 15 years ago by vagrantradio
Display any rss feed as html in wordpress
0 1162 posted 15 years ago by richerimage
0 820 posted 15 years ago by neverdark
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 2170 posted 15 years ago by dallasbpeters
1 ... 26 27 28 29 30 ... 42