Welcome to WP Beaches
WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host
RECENT POSTS
Remove 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…
How to check for CSS errors in your stylesheet with CSS LINT
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 CSS LINT site and paste in your CSS. You…
Change 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…
Migrate 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…
Download 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….
Adding in Google Plus Authorship and Publisher Profile to Genesis WordPress Theme
As of 26th June 2014, Google has announced that they are dropping the profile image and circle count from the search result listings, this is for both cosmetic and leveling the playing field reasons.Further to this Google has abandoned the Author linking project also the Yoast WordPress SEO plugin has removed the author parts from…
Use Bootstrap Modals in WordPress Themes
Bootstrap has some nifty Javascript plugins in their library for the Bootstrap framework including Modals, which are pop up window dialog prompts. These modal pop up windows can be generated without writing javascript by using Bootstrap’s API data-attribute values which are inserted into the HTML markup and and can control which HTML element can control the…
Add a Submit Button to the Search Input Field in Genesis Search Widget
By default the Search widget in a Genesis WordPress theme does not have a submit button, just hitting enter on the keyboard will do the trick but what if you deadset want that clickable submit button back. Using the Genesis Sample Theme, this is how the search widget looks like when added in the Header Right and…