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 1030 posted 15 years ago by fjarrett
Clean up your WordPress backend by removing unwanted admin menus that create clutter.
0 1053 posted 15 years ago by fjarrett
An example of how to call the dropdown taxonomy term function in the template.
0 1022 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 1273 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 1166 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 1452 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 1196 posted 15 years ago by hussong
Show the top tags by usage.
1 1715 posted 15 years ago by daipratt
2 1209 posted 15 years ago by crs
1 782 posted 15 years ago by joseduenas
1 1172 posted 15 years ago by adambundy
Example code for a SlideDeck user to place their SlideDeck on the homepage of their WordPress site.
0 1323 posted 15 years ago by oriontimbers
run funciton once, ideally bind to activation hook of a plugin
2 1164 posted 15 years ago by errkk
Exclude category slugs, only shows parent cats.
0 1159 posted 15 years ago by vagrantradio
Returns the page object of the parent of the current page.
0 1422 posted 15 years ago by levinet
Returns the post or page id using the name/slug of a page.
2 4083 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 1108 posted 15 years ago by oriontimbers
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0 1258 posted 15 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0 1227 posted 15 years ago by vagrantradio
Display any rss feed as html in wordpress
0 1109 posted 15 years ago by richerimage
0 781 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 2037 posted 15 years ago by dallasbpeters
1 ... 26 27 28 29 30 ... 42