Protected: Code Snippets for Putty

Posted by on May 26, 2017 in General, Snippets | Enter your password to view comments.

There is no excerpt because this is a protected post.

Add Fields To Custom Taxonomy

Posted by on Feb 24, 2015 in Snippets, Wordpress | No comments yet

As a WordPress developer, some times we need to add fields to custom taxonomy. So, in this post we are going through the code snippet for adding field to taxonomy. Let have a look, Here we are taking the taxonomy …

Find and Replace with MySQL

Posted by on Mar 7, 2014 in Snippets | No comments yet

— 1st example UPDATE files SET filepath = REPLACE(filepath,’path/to/search’,’path/to/replace’); — 2nd example UPDATE customers SET address = REPLACE(address,’_CODE_’,postcode);

Remove File Extention From URLs In .htaccess

Posted by on Mar 7, 2014 in Snippets | No comments yet

# Method 1: RewriteRule ^about$ about.php [L] # Method 2: RewriteCond /%{REQUEST_FILENAME}.php -f RewriteRule ^([a-zA-Z0-9_-\s]+)/$ /$1.php

Load More