Use mod_rewrite and .htaccess to implement 301 redirects, custom 404 pages, disable hotlinking and more with these quick snippets!
Need to grab all Custom Fields at once? No problem with the “base_get_all_custom_fields” function.
Using jQuery to set cookies is a useful way to save info for use later.
Use PHP to crawl another site and pull their links using PHP’s cURL functions.
jQuery’s slideToggle method is very useful for creating captions and sliding panels. Check out the demo and tutorial!
There’s a MySQL database and you have a string that needs to be replaced in various tables. Let’s get it done using some simple queries and PHPmyAdmin!
Need get the first word from a post or page title and display it? Here’s how.
How to remove the paragraph tags WordPress put in your category descriptions.