Force a Read More Link on all Post Excerpts in WordPress
Can’t see a read more link on a WordPress post on the blog page? The read more link can be forced on all excerpts for posts on an archive page by adding the following code to your theme. Sometimes the read more wont show due to a shortfall of characters or an element like an iframe sitting…
Read MoreCreate an extra Widget Areas in WordPress TwentyTwelve
How to create extra widget areas in WordPress – this tutorial uses the TwentyTwelve theme but this can be used on any WordPress theme. WordPress themes come with a certain number of widgets per theme to position content on the page, for example the TwentyTwelve theme has a sidebar and 2 home page widget areas, you…
Read MoreSet a Sidebar to all posts of a Custom Post Type in Genesis
Simple Sidebars is a great plugin to use different sidebars on posts, pages, categories and tags in a Genesis theme. You can set a certain sidebar to appear on all posts of a specific custom post type (CPT). function themeprefix_remove_default_sidebar() { if ( get_post_type() == ‘listing’ ) { //set CPT here remove_action( ‘genesis_sidebar’, ‘ss_do_sidebar’ ); remove_action(…
Read MoreAdd Text After the Price in a WooCommerce Product
You can add a bit of static text after the price in a WooCommerce Product by using a woocommerce filter woocommerce_get_price_html. For the above product I want to add some text just after the price to a certain range of products. Here below is the code to do that: So I have set my target products in…
Read MoreUsing MeanMenu Mobile with Genesis Theme
This guide goes through using the lightweight jquery mobile menu meanmenu in a Genesis Theme based on the Sample Theme. Get the Assets Download the latest version of meanmenu from GitHub. Need to get two files in your child theme and also create a jquery initialise script. Move – jquery.meanmenu.min.js into your child theme js folder…
Read MoreCustom Genesis Loop on Blog Archive Page
To customise the Genesis loop on the blog page only, the blog page can be conditionally selected, the loop removed on that page only and a custom loop inserted. The blog page is selected with is_home, the genesis_do_loop is removed and a new loop wpb_change_home_loop is inserted. The core markup for the genesis_do_loop is found in the…
Read More90 Menu Item Limit in WordPress Menu
Can’t add another item in an already stacked WordPress menu past the point of 90 items? When you save the menu after adding so many items they don’t save and the menu theme location is also lost! I guess there shouldn’t be that many items in a menu in the first place, but sometimes it may…
Read MoreUsing ScrollNav to control long documents in WordPress
Controlling long document display on a web page can be greatly enhanced with a Javascript solution like ScrollNav which collates all of a defined HTML element in a document like a heading tag such as a h2, puts all of the elements set up in a navigation markup done for you and keeps the links to the relevant…
Read MoreUsing ScrollReveal.js in a WordPress Genesis Theme
ScrollReveal.js is a javascript resource for animating objects as they appear in the viewport, here’s how to get it going in a Genesis theme for WordPress. Above are four colored balls set to animate with scrollreval each time they enter into the viewport. You can apply the affects to small page elements or larger containers, for example…
Read MoreSwap Header Right and Title/Logo Area in Genesis Sample Theme
How to swap Header Right and the Title/Logo Area mark up structure in Genesis Sample Theme. Genesis themes most of the time come with a header site title & description area on the left and widget area on the right, this is suitable a lot of the times but on occasion you may need this…
Read More