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 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
Show the top tags by usage.
1 1298 posted 14 years ago by daipratt
2 767 posted 14 years ago by crs
1 470 posted 14 years ago by joseduenas
1 768 posted 14 years ago by adambundy
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
run funciton once, ideally bind to activation hook of a plugin
2 725 posted 14 years ago by errkk
Exclude category slugs, only shows parent cats.
0 765 posted 14 years ago by vagrantradio
Returns the page object of the parent of the current page.
0 935 posted 14 years ago by levinet
Returns the post or page id using the name/slug of a page.
2 2665 posted 14 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 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
Display any rss feed as html in wordpress
0 704 posted 14 years ago by richerimage
0 490 posted 14 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 1235 posted 14 years ago by dallasbpeters
1 ... 26 27 28 29 30 ... 42