In Genesis Facebook group a user asks: Hi everyone I’m wondering which genesis hook are would be best for a blanket affiliate links disclosure across by blog posts on my blog. They need to be at the top for Australia but I don’t want them being in my excerpts. We can add custom HTML content […]
Search Results for: ai content
How to remove Email and Website fields from Comment Form in WordPress
Looking to remove Email and Website/URL fields in your WordPress site’s comment form? Add the following in your child theme’s functions.php: add_filter( ‘comment_form_default_fields’, ‘comment_form_custom_fields’ ); /** * Remove Email and Website fields in comment form. * * @param array $args Default comment form arguments * @return array Modified comment form arguments */ function comment_form_custom_fields( $args […]
How to change product image thumbnail size on Easy Digital Downloads checkout page
By default product thumbnails on EDD checkout page appear very tiny (25 x 25). Here’s the code snippet to set a custom image size for the same: add_filter( ‘edd_checkout_image_size’, ‘filter_edd_checkout_image_size’, 10, 1 ); /** * Change product image thumbnail size on Easy Digital Downloads checkout page. * * @param array $array default image size (25 […]
How to wrap posts list in a container and reposition archive pagination on archives in Genesis
In GenesisWP Slack chat, a user asked: I’ve been searching for a simple way to do this and am stumped. In a CPT archive page I’d like to create a wrapper div around only the looped posts and not include the pagination, of the form; <main class=”content” id=”genesis-content”> <div id=”my-wrapper”> <article>…</article> looped etc … </div> […]
How to remove “Select options” button from variable products on the main WooCommerce shop page
Updated on August 20, 2018 In Genesis Slack‘s WooCommerce channel, a user asked: Totally random question but does anyone know how to remove the “Select Options” button in WooCommerce Shop Main page? woocommerce_loop_add_to_cart_link filter hook can be used to remove the Select options buttons for each variable product. Add the following in child theme’s functions.php: […]
Adjacent Entry Navigation in Genesis with Thumbnails
In GenesisWP Facebook group a user asked: Does anyone have a tutorial or some direction on how I can add thumbnails to the entry post pagination like the mockup pictured below? TIA We can tweak the code from the earlier tutorial titled Visual Adjacent Entry Navigation in Genesis to display links to previous and next […]
Off-Canvas content in Genesis using JS Offcanvas
Offcanvas is a jQuery script for setting up fully accessible sidebar or top/bottom sliding (or push) panels with keyboard interactions and ARIA attributes. In this tutorial, we shall register a custom Off-Canvas Content widget area and reveal the widget(s) placed in it from the browser edge when a button is clicked. Screenshots: Screencasts: With a […]
Grid of featured images with sliding content panels on a CPT archive in Genesis
In my tutorial requests Trello board, a user asked: I would love a tutorial on how to use cpt and maybe the accordian show/hide to get a result similar to this Team/Staff page: http://www.unified.com/team/ I think this could be used for portfolio pages also. Thank you so much! I think this could be used for […]
How to apply full content layout to WooCommerce pages in Genesis
Looking to force full content layout to all WooCommerce product category archives, WooCommerce product tag archives and single product pages in your Genesis site? Just add the following code in your child theme’s functions.php: // Force full content layout on product category, product tag archives and all single products add_action( ‘get_header’, ‘sk_force_layout’ ); function sk_force_layout() […]
How to set up a custom Page Template for full width content in Digital Pro
In Genesis Slack a user wrote: Hi everyone, keep coming back to Genesis and am determined to get my head around it this time! Currently trying to work out how to create a template with full width backgrounds and wrapped content. I’d like to do this without a plugin. Can anyone point me in the […]
Recent Comments