Moving the Genesis Category/Archive Headline and Intro Text
In Genesis you can set an Category/Archive headline and intro text value inside the man Category edit area; WP Dasboard > Posts > Categories The markup gets added in an .archive-description inside the main .content This is fine in almost every instance, but if you apply a masonry style layout the title and intro are…
Read MorePut Google Experiment Code Higher in the Header in WordPress
To get Google Experiment Code working you need to get it higher in the WordPress head above the regular Google GA code. If you have used a plugin to insert the Google GA code there may be no control on whereabouts the code can be placed or adjusted in priority, for example Yoast Google Analytics plugin has no…
Read MoreRemove Post Meta from Category Archive Pages in a Genesis Theme in WordPress
Archive pages in a Genesis theme by default, include the post info which displays the post author, post date and comments info and the post meta which displays the category and tag values. You may want to have these values removed or edited for your Archive pages but leave them intact for regular posts. This is possible by adding an…
Read MoreMigrating WordPress MultiSite to a New URL
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 MoreAdd 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 MoreGenesis 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 MoreRemove all Inner HTML Mark Up Content on Genesis Home Page
To remove the 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…
Read MoreChange the Search Field Default Text in Genesis WordPress Theme
You can change the default “Search this Website…” text in the Search bar field in a Genesis WordPress theme by using a filter added to your functions.php file. //Change search form text function themeprefix_search_button_text( $text ) { return ( ‘Search text goes here…’); } add_filter( ‘genesis_search_text’, ‘themeprefix_search_button_text’ ); So in the above code a function is…
Read MoreMigrate WordPress Site from Local Development to Live Server and fix serialized data issues
There are a number of ways to migrate a local development WordPress site from a test to a live server, you can to this manually or via a plugin. Migrating WordPress Manually The manual way to migrate a WordPress site to a live server is in a few steps: Copy the all the contents of…
Read MoreDownload and Install Lastest WordPress with wp-cli on OSX
With the new versions of WordPress available to download and test, here’s how to use wp-cli to download and configure it all from the Terminal, you need to have wp-cli and MySQL installed as well as the rest of a working AMP stack. Launch Terminal and [optionally] create and change directory into your desired webroot.…
Read More