Create a Middle Header Widget Area for a Genesis Child Theme

Most Genesis themes including the framework/sample theme come with a ‘header right‘ widget area which solves most header layouts, however there are times when an additional header middle widget area may come in handy, in particular for 3 distinct content blocks that requires a client when handing over, have to manage the content.   In the layout above you…

Read More

Centering The Last Item In A Flexbox Container

flexbox-container-center-last

I’m using flexbox more and really liking it, I’ve hit an issue a few times with center aligning the last item in an uneven row of elements inside a flexbox row container when using the justify-content: space-between; flexbox property, you could use  justify-content: flex-start; – but when that won’t do, here is a solution  below. So…

Read More

Show All the Tags in WordPress Post Editor

show-all-tags-post-editor

Want to show all the tags in the WordPress post editor, so you can easily tag a post with all available tags – you can with get_terms_args In your functions.php add in… add_filter( ‘get_terms_args’, ‘themeprefix_show_tags’ ); // Show Tags function themeprefix_show_tags ( $args ) { if ( defined( ‘DOING_AJAX’ ) && DOING_AJAX && isset( $_POST[‘action’]…

Read More

Add a Custom Post Type Template in WordPress 4.7

custom-post-type template

WordPress 4.7 brings a new feature in the ability to add a Custom Post Type template in a similar way a Page Template is added. A page template can be added by creating a specific file page-{id}.php or page-{slug}.php file, the problem with this approach is that it is not reusable for other pages, so a…

Read More