Welcome to WP Beaches

WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host

RECENT POSTS

List all WordPress Custom Post Types in a Menu

Want to display a list of a certain WordPress Custom Post Types in a list or menu? You can do this with a simple query using WP Query. WP Query is the preferred function to query all posts in WordPress and has a multitude of arguments and parameters that can be passed in to change…

Swap Post Title and Image Position on Archive Page in Genesis

You can swap the order of the post title and thumbnail featured image of a post on an archive page by rearranging the genesis_do_post_image from its default position in the entry content into the entry header, this is done by removing and adding the function in a higher location. In your functions.php add in function themeprefix_swap_title_image()…

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…

Put 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…

Stop video playing when Bootstrap modal is closed

If you add a video to a Bootstrap Modal and either dismiss or close the modal whilst the video is playing the video will keep on playing.You can adjust this behaviour by adding in some Bootstrap javascript/jQuery that acts to stop the video if either the modal window is either clicked to close or the…

Remove 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…

Migrating 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,…

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. //*…

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…