I have registered form Google Apps Preimer and I’m going to be using it for easy off location access to emails for my 3 domains (pixelpress.com.au lugg.com.au and digitalcoffee.com.au). The most troublesome thing about setting this up was configuring Gmasil to allow me to send or reply to email from any of my domains. This Full Article…
Get Post ID outside the Loop as PHP variable
In the wordpress loop section, each posts displayed on the page with defined format along with such criteria decided by administrator. The Loop template tag the_ID can be used to easily display the post’s ID inside the post. Alternatively, inside the the_content filter, declare $id global and use $id to retrieve the post ID. the_ID Full Article…
Hide Password Protected WordPress Posts from Search Engines
If you add this code to your header.php file, it will tell Google not to index your password-protected content:
Add Excerpts to Page
Drop this line in your active theme’s functions.php file and you’re good to go… probably forever!
Google Maps API of localhost
Use this Google Maps API for localhost development versions of websites: ABQIAAAAnfs7bKE82qgb3Zc2YyS-oBT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSySz_REpPq-4WZA27OwgbtyR3VcA
Save FTP details for locked down servers
If WordPress asks you your FTP host, username and password each time you’re trying to upgrade, you should eaither check your file permissions or use this very useful hack which will make WordPress remember your FTP host, username and password.
PHP Operators
This section lists the different operators used in PHP. Arithmetic Operators Operator Description Example Result + Addition x=2 x+2 4 – Subtraction x=2 5-x 3 * Multiplication x=4 x*5 20 / Division 15/5 5/2 3 2.5 % Modulus (division remainder) 5%2 10%8 10%2 1 2 0 ++ Increment x=5 x++ x=6 — Decrement x=5 x– Full Article…