Enqueue Styles and Scripts in Functions File for Child Theme

This is what you need to include in the functions file of your child theme to include the parents style without having to do a @import in the css file. This also checks the last modified time and uses that as a query variable to ensure you are loading the latest...

Fedex Tracking Api Using PHP

So I was trying to track down the way to use the FedEx API and Developer Tools to get tracking information.  Found the API's Documentation a little hard to follow but thankfully I came across an article that gave a nice sample script.  Thank you for providing the...

Find Files by Size

The below command is set to search the home directory of the server for files that are larger than 200M into a new text file large_files. find /home/ -xdev -type f -size +200M -exec ls -la {} \; | sort -n > large_files  

Find possible hacked files in Linux

These commands can be used to find files with matching code that could be possible hacked files. find . -type f -name ‘*.php' | xargs grep -l “eval” –color or find . -type f -name ‘*.php' | xargs grep -l “eval *(” –color...

Fix Login Cookie Issue WordPress

//fix for cookie error while login. setcookie(TEST_COOKIE, ‘WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, ‘WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);...