Migrating WordPress MultiSite to a New URL can be done with a combo of 2 excellent free plugins; WP Migrate DB and BackWPup the former deals with the database and the latter deals with the files. The key thing when updating the WordPress database to reflect a new hosting URL is making sure any data serialization stays intact, …
Read More
Add a Custom Header Image in Genesis Sample Theme
The Genesis Sample theme does not have a custom Header option in the Appearance sub-menu in WordPress Dashboard unlike all the other Genesis themes. Custom Headers are a native WordPress function that can be added to any theme including the Sample theme. This option can be easily added via a code snippet into your functions.php file. //* …
Read More
Using ScrollNav to control long documents in WordPress
Controlling long document display on a web page can be greatly enhanced with a Javascript solution like ScrollNav which collates all of a defined HTML element in a document like a heading tag such as a h2, puts all of the elements set up in a navigation markup done for you and keeps the links to the relevant …
Read More
Genesis Menu Item with Float Right, Drops in Chrome
Genesis has a nifty CSS class named .right which when applied to a Menu Item will float that particular item to the right and keep the other menu items to the left. You need to apply the menu items in the correct way for it to work in Chrome. Applying the Float to Menu Items In …
Read More
Remove all Inner HTML Mark Up Content on Genesis Home Page
To remove inner HTML mark up content from a customised Front Page in Genesis, you can use a conditional statement to remove the ‘loop’ just on the front page like so: //Remove Loop from Home Page function thmeprefix_remove_homepage_content() { if ( is_front_page() ) { remove_action( ‘genesis_loop’, ‘genesis_do_loop’ ); } } add_action( ‘genesis_before’,’thmeprefix_remove_homepage_content’ ); The header …
Read More
Optimise and streamline your CSS style code with CSScomb
You can really optimize and streamline your CSS code with a great application called CSScomb. It can also help identify errors, similar to the excellent CSS Lint which does error checking and style/selector suggestion. However where CSScomb comes into its own is the presentational and efficiency aspect of CSS style coding. CSScomb features include sorting your CSS …
Read More
How to check for CSS errors in your stylesheet with CSSlint
You’ve worked long and hard and slaved over your masterpiece but the CSS styles you wrote are just not being applied to your HTML, how can you check that the CSS syntax and formatting is correct? CSS Lint can do this for you. Got to the site and paste in your CSS. You can refine …
Read More
How to set up Virtual Hosts in Apache on Mac OSX 10.10 Yosemite
Setting up Virtual Hosts in Apache on Mac OSX 10.10 Yosemite is straight forward after you have your local Web Development environment up and running – get your web development up and running first including Apache, PHP and MySQL following this AMP stack guide here 10.10 if required. The process of setting up Virtual Hosts is done easier in …
Read More