Welcome to WP Beaches

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

RECENT POSTS

Setting up Composer and PHPCodesniffer on Atom Editor on macOS

atom-codesniffer-wpcs

Here is a guide on how to get PHPCodesniffer going on Atom text editor using the WordPress code standards, this will be done via adding PHPCodesniffer via Composer, you can also add PHPCodesniffer via Pear or Homebrew, I used to have it running via Pear but have found it to be not as reliable. Install Composer Open…

Remove Meta Boxes in Genesis Theme Settings

remove-genesis-meta-boxes

You can remove the metaboxes that appear in the Genesis theme settings in the WordPress dasgboard – this may help when you want an end user not to use or change certain theme settings. In this Gist are the main ones just include the ones that you need to remove – any settings that have…

Adding a centered horizontal submenu in Genesis Theme

In some instances you may need a horizontal submenu as appose to a vertical one,  in WordPress with a few CSS tweaks, here is how you can achieve it, this guide uses the latest Genesis Sample theme CSS. So going from this…   to this…   There are only 5 CSS selectors to edit, you…

Tab to Accordion Responsive Layouts in WordPress

There is a nice responsive Tabs plugin which is jQuery based called aptly called Responsive-Tabs, it handles changing the layout from a tabbed content structure to an accordion layout at a set media query size. The accordion layout is better suited for smaller mobile/tablet sizes. Going from tab to accordion… To a smaller viewport setting……

Change the Genesis Theme Copyright Line in Footer for WordPress

Genesis Themes have a footer credit copyright line at the base of the page. This includes the copyright and Genesis framework link with a couple of standard WordPress default links. To change this, you can add a new function and filter into your functions.php of your Genesis child theme… Adding the Function //Changing the Credits function wpb_footer_creds_text () { echo…

Checkerboard Featured Posts Layout like Genesis Atmosphere Pro Theme

genesis-checkerboard-layout

Here is a quick tutorial on how to create a blog post layout that has a checkerboard style layout which uses a featured image on one side of the the post and the post headline and content on the other, the image alternates position on each post. This is similar to the Atmosphere Pro theme…

Add a Genesis Footer Widget Area to include extra content

In a lot of Genesis Child themes, the footer has the copyright and credit text but no widget area to add or edit content, most themes do have up to three footer widgets but your design may require these areas and then another area beneath those to add in additional elements and content. Here’s how you can remove…

Set a conditional argument for multiple Custom Post Types in WordPress

cpts-conditionals

You can set a conditional argument for multiple custom post types in WordPress using in_array The format is like so… if( in_array( get_post_type(), array( ‘treatment’, ‘package’ )) ) {//add in cpts here // do stuff } else { //what all the other post types get // do other  stuff } } It searches the array of cpts…

Changing the Genesis Archive Page Settings for Custom Post Types

By default all archive pages and types in Genesis share the same archive settings as set in the Genesis > Theme Settings > Content Archives section, but you can change these settings for a specific custom post type archive and leave the defaults intact for the regular archive pages.   Looking at the Content Archives in…