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 937 posted 14 years ago by fjarrett
Clean up your WordPress backend by removing unwanted admin menus that create clutter.
0 929 posted 14 years ago by fjarrett
An example of how to call the dropdown taxonomy term function in the template.
0 941 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 1157 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 1060 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 1290 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 1114 posted 14 years ago by hussong
Show the top tags by usage.
1 1602 posted 14 years ago by daipratt
2 1076 posted 14 years ago by crs
1 702 posted 14 years ago by joseduenas
1 1073 posted 14 years ago by adambundy
Example code for a SlideDeck user to place their SlideDeck on the homepage of their WordPress site.
0 1145 posted 14 years ago by oriontimbers
run funciton once, ideally bind to activation hook of a plugin
2 1046 posted 14 years ago by errkk
Exclude category slugs, only shows parent cats.
0 1057 posted 14 years ago by vagrantradio
Returns the page object of the parent of the current page.
0 1241 posted 15 years ago by levinet
Returns the post or page id using the name/slug of a page.
2 3646 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 1010 posted 15 years ago by oriontimbers
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0 1136 posted 15 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0 1101 posted 15 years ago by vagrantradio
Display any rss feed as html in wordpress
0 1012 posted 15 years ago by richerimage
0 705 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 1673 posted 15 years ago by dallasbpeters
1 ... 26 27 28 29 30 ... 42