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 …
Read More
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() …
Read More
Git and WordPress workflow for Local Dev on OSX to webserver
This guide shows a Git and WordPress workflow and demonstrates version control using Git from a local development environment on OSX to a live production webserver which is a cPanel server running on CentOS. CentOS cPanel comes with Git and you can do an easy install for OSX. Set up SSH (no passwords) A key requisite for this is …
Read More
Yoast WordPress SEO Settings Guide, Set up SEO in an Optimal Way
WordPress SEO Settings Yoast v1.6 SEO in WordPress just doesn’t cut it until you use the powerful all singing and dancing WordPress SEO plugin from Yoast. This tutorial covers the WordPress SEO plugin by Joost De Valk, it is a powerhouse of a tool that deals with all the SEO configurables you could ever think …
Read More
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 More
Get 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 More
Stop video playing when Bootstrap modal is closed
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 …
Read More