Blog

Author Archive


How to Move a WordPress Install from a Directory to a Sub-Domain on the Same Web Host
Posted on October 14, 2013 in Command Line, Linux, WordPress by Matt Jennings

Some of the info in this post was taken from a post by David Coveney, James Whitehead and …

Read more


How to Clear Your Cache
Posted on August 1, 2013 in Cache, Customers by Matt Jennings

Anytime your website has been edited to view updated website, and not an older version, you will need to clear …

Read more


Setting Timezone and Date with ini_set
Posted on July 23, 2013 in PHP by Matt Jennings

To change the time zone – which is the second parameter in ini_set() below – use a value from Read more


Create a Class for Body Tag Using PHP File Name
Posted on April 22, 2013 in PHP by Matt Jennings

/***** Code Inside PHP Include *****/
<?php
//Create a Class for Body Tag Using PHP File Name
function body_class()
{
$body_call_var = $_SERVER[‘REQUEST_URI’];

if($body_call_var == ‘/index.php’ …

Read more


Shorthand If, Elseif & Else Statement Example
Posted on April 9, 2013 in PHP by Matt Jennings

<?php if (homepage()): ?>
<?php echo ‘Home Title’; ?>
<?php elseif (officetour()): ?>
<?php echo ‘Office Tour Title’; ?>
<?php else: ?>
<?php echo ‘Default …

Read more