• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

tornado

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 50 total)
1 2 3 →
  • Author
    Posts
  • March 14, 2021 at 10:37 am in reply to: Is pagination and SEO a mess? #503450
    tornado
    Participant

    In addition to the above: the canonical link that displays with query_args on paginated pages points to the first page of the blog, which is not what I want, as it essentially tells Google that paginated pages should be ignored.

    Am I missing something here or is this all a bit of a mess?

    March 12, 2021 at 3:14 pm in reply to: Relocate Hero Video section on mobile only #503433
    tornado
    Participant

    Thanks, Anita.

    July 23, 2019 at 1:10 pm in reply to: How to hide post content now Genesis theme setting functionality has vanished #492516
    tornado
    Participant

    Additional:

    Hiding the content but keeping the 'continue reading' link is needed also, so users know to click through too read the content.

    March 12, 2019 at 7:39 am in reply to: Outfitter Pro links below author info #489976
    tornado
    Participant

    Hi Anita!

    Thank you! Yes, I had Simple Edits active, so have removed that and all is good.

    Much appreciated.

    🙂

    March 16, 2018 at 2:31 pm in reply to: Sub menu issues on many themes #217993
    tornado
    Participant

    Hi Victor. Thanks so much for the reply. On the Foodie Pro demo, for example:

    https://my.studiopress.com/themes/foodie/#demo-full

    you can see they use a + in their mobile menu to indicate the use of a sub menu associated with a menu item. Is there any CSS that could place that + before the menu text, as opposed to it being located to the far right of the screen (to place it left instead of right, but not so the menu text is overlaid)? That would pretty much solve the problem completely as the user could easily see the + and would know to click it.

    🙂

    March 10, 2018 at 9:25 am in reply to: Pagination exclusion and positioning #217714
    tornado
    Participant

    Brad, you absolute star. Thank you so much.

    Works a charm.

    THANK YOU.

    March 10, 2018 at 7:15 am in reply to: Pagination exclusion and positioning #217711
    tornado
    Participant

    Thanks for looking into this.

    <?php
    /**
     * Custom amendments for the theme.
     *
     * @package   FoodiePro
     * @copyright Copyright (c) 2017, Feast Design Co.
     * @license   GPL-2.0+
     * @since     1.0.1
     */
    
    defined( 'WPINC' ) || die;
    
    require_once trailingslashit( get_template_directory() ) . 'lib/init.php';
    
    define( 'CHILD_THEME_NAME', 'Foodie Pro Theme' );
    define( 'CHILD_THEME_VERSION', '3.1.0' );
    define( 'CHILD_THEME_URL', 'https://feastdesignco.com/product/foodie-pro-2/' );
    define( 'CHILD_THEME_DEVELOPER', 'Feast Design Co.' );
    define( 'FOODIE_PRO_DIR', trailingslashit( get_stylesheet_directory() ) );
    define( 'FOODIE_PRO_URI', trailingslashit( get_stylesheet_directory_uri() ) );
    
    add_theme_support( 'genesis-responsive-viewport' );
    
    add_theme_support( 'html5' );
    
    add_theme_support(
    	'genesis-accessibility',
    	array(
    		'headings',
    		'search-form',
    		'skip-links',
    	)
    );
    
    add_theme_support( 'custom-header', array(
    	'width'           => 640,
    	'height'          => 340,
    	'header-selector' => '.site-title a',
    	'header-text'     => false,
    ) );
    
    add_theme_support( 'custom-background' );
    add_theme_support( 'genesis-connect-woocommerce' );
    add_theme_support( 'genesis-after-entry-widget-area' );
    add_theme_support( 'genesis-footer-widgets', 4 );
    
    genesis_register_sidebar( array(
    	'id'			=> 'before-header',
    	'name'			=> __( 'Before Header', 'foodiepro' ),
    	'description'	=> __( 'This is the section before the header.', 'foodiepro' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'home-top',
    	'name'			=> __( 'Home Top', 'foodiepro' ),
    	'description'	=> __( 'This is the home top section.', 'foodiepro' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'home-middle',
    	'name'			=> __( 'Home Middle', 'foodiepro' ),
    	'description'	=> __( 'This is the home middle section.', 'foodiepro' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'home-bottom',
    	'name'			=> __( 'Home Bottom', 'foodiepro' ),
    	'description'	=> __( 'This is the home bottom section.', 'foodiepro' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'recipes-top',
    	'name'			=> __( 'Recipes Top', 'foodiepro' ),
    	'description'	=> __( 'This is the recipes top section.', 'foodiepro' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'recipes-bottom',
    	'name'			=> __( 'Recipes Bottom', 'foodiepro' ),
    	'description'	=> __( 'This is the recipes bottom section.', 'foodiepro' ),
    ) );
    genesis_register_sidebar( array(
    	'id'          => 'nav-social-menu',
    	'name'        => __( 'Nav Social Menu', 'foodiepro' ),
    	'description' => __( 'This is the nav social menu section.', 'foodiepro' ),
    ) );
    
    require_once FOODIE_PRO_DIR . 'lib/helpers.php';
    require_once FOODIE_PRO_DIR . 'lib/customize/init.php';
    
    if ( is_admin() ) {
    	require_once FOODIE_PRO_DIR . 'lib/admin/functions.php';
    }
    
    add_action( 'after_setup_theme', 'foodie_pro_content_width', 0 );
    /**
     * Set the content width and allow it to be filtered directly.
     *
     * @since  1.0.0
     * @access public
     * @return void
     */
    function foodie_pro_content_width() {
    	$GLOBALS['content_width'] = apply_filters( 'foodie_pro_content_width', 610 );
    }
    
    add_action( 'after_setup_theme', 'foodie_pro_load_textdomain' );
    /**
     * Loads the child theme textdomain.
     *
     * @since  2.1.0
     * @return void
     */
    function foodie_pro_load_textdomain() {
    	load_child_theme_textdomain( 'foodiepro', FOODIE_PRO_DIR . 'languages' );
    }
    
    add_action( 'init', 'foodie_pro_register_image_sizes', 5 );
    /**
     * Register custom image sizes for the theme.
     *
     * @since  1.0.0
     * @access public
     * @return void
     */
    function foodie_pro_register_image_sizes() {
    	add_image_size( 'horizontal-thumbnail', 680, 450, true );
    	add_image_size( 'horizontal-thumbnail-small', 340, 225, true );
    	add_image_size( 'vertical-thumbnail', 680, 900, true );
    	add_image_size( 'vertical-thumbnail-small', 340, 450, true );
    	add_image_size( 'square-thumbnail', 320, 321, true );
    }
    
    add_action( 'widgets_init', 'foodie_pro_register_widgets', 11 );
    /**
     * Unregister the default Genesis Featured Posts widget and register all of
     * our custom Foodie Pro widgets.
     *
     * @since  2.0.0
     */
    function foodie_pro_register_widgets() {
    	require_once FOODIE_PRO_DIR . 'lib/widgets/featured-posts/widget.php';
    
    	unregister_widget( 'Genesis_Featured_Post' );
    	register_widget( 'Foodie_Pro_Featured_Posts' );
    }
    
    add_action( 'wp_enqueue_scripts', 'foodie_pro_enqueue_js' );
    /**
     * Load all required JavaScript for the Foodie theme.
     *
     * @since   1.0.1
     * @return  void
     */
    function foodie_pro_enqueue_js() {
    	wp_enqueue_script(
    		'foodie-pro-general',
    		FOODIE_PRO_URI . 'js/general.js',
    		array( 'jquery' ),
    		CHILD_THEME_VERSION,
    		true
    	);
    }
    
    add_filter( 'body_class', 'foodie_pro_add_body_class' );
    /**
     * Add the theme name class to the body element.
     *
     * @since  1.0.0
     * @param  array $classes Current body classes.
     * @return array $classes Modified body classes.
     */
    function foodie_pro_add_body_class( $classes ) {
    	$classes[] = 'foodie-pro';
    	return $classes;
    }
    
    add_action( 'genesis_before', 'foodie_pro_before_header' );
    /**
     * Load an ad section before .site-inner.
     *
     * @since  1.0.0
     * @return void
     */
    function foodie_pro_before_header() {
    	genesis_widget_area( 'before-header', array(
    		'before' => '<div id="before-header" class="before-header">',
    		'after'  => '</div> <!-- end .before-header -->',
    	) );
    }
    
    add_filter( 'wp_nav_menu_items', 'foodie_pro_primary_nav_menu_social', 10, 2 );
    /**
     * Append a social widget area to the primary menu.
     *
     * @since  3.0.0
     * @param  string $menu The current menu output.
     * @param  array  $args The args used for displaying the current menu.
     * @return string $menu The modified menu output.
     */
    function foodie_pro_primary_nav_menu_social( $menu, $args ) {
    	if ( 'primary' !== $args->theme_location || ! is_active_sidebar( 'nav-social-menu' ) ) {
    		return $menu;
    	}
    
    	ob_start();
    	genesis_widget_area( 'nav-social-menu' );
    	$widget_area = ob_get_clean();
    
    	$menu .= sprintf( '<li id="foodie-social" class="foodie-social menu-item">%s</li>',
    		$widget_area
    	);
    
    	return $menu;
    }
    
    add_filter( 'wp_nav_menu_items', 'foodie_pro_primary_nav_menu_search', 12, 2 );
    /**
     * Append a search box to the primary menu.
     *
     * @since  3.0.0
     * @param  string $menu The current menu output.
     * @param  array  $args The args used for displaying the current menu.
     * @return string $menu The modified menu output.
     */
    function foodie_pro_primary_nav_menu_search( $menu, $args ) {
    	if ( 'primary' !== $args->theme_location || genesis_get_option( 'nav_extras' ) ) {
    		return $menu;
    	}
    
    	$menu .= sprintf( '<li id="foodie-search" class="foodie-search menu-item">%s</li>',
    		genesis_search_form( false )
    	);
    
    	return $menu;
    }
    
    add_filter( 'genesis_search_text', 'foodie_pro_search_text' );
    /**
     * Customize search form input box text.
     *
     * @since  3.0.0
     * @return string Modified Shay Bocks credits.
     */
    function foodie_pro_search_text() {
    	return esc_html__( 'Search', 'foodiepro' );
    }
    
    add_filter( 'excerpt_more', 'foodie_pro_read_more_link' );
    add_filter( 'get_the_content_more_link', 'foodie_pro_read_more_link' );
    add_filter( 'the_content_more_link', 'foodie_pro_read_more_link' );
    /**
     * Modify the Genesis read more link.
     *
     * @since  1.0.0
     * @return string Modified read more text.
     */
    function foodie_pro_read_more_link() {
    	return sprintf( '...</p><p><a class="more-link" href="%s">%s</a></p>',
    		get_permalink(),
    		esc_html__( 'Read More', 'foodiepro' )
    	);
    }
    
    add_filter( 'genesis_comment_form_args', 'foodie_pro_comment_form_args' );
    /**
     * Modify the speak your mind text.
     *
     * @since  1.0.0
     * @param  array $args the default comment reply text.
     * @return array $args the modified comment reply text.
     */
    function foodie_pro_comment_form_args( $args ) {
    	$args['title_reply'] = esc_html__( 'Comments', 'foodiepro' );
    	return $args;
    }
    
    // Add post navigation.
    add_action( 'genesis_after_entry_content', 'genesis_prev_next_post_nav', 5 );
    
    // Modify the author says text in comments.
    add_filter( 'comment_author_says_text', '__return_empty_string' );
    
    add_filter( 'genesis_footer_creds_text', 'foodie_pro_footer_creds_text' );
    /**
     * Customize the footer text
     *
     * @since  1.0.0
     *
     * @param  string $creds Default credits.
     * @return string Modified Shay Bocks credits.
     */
    function foodie_pro_footer_creds_text( $creds ) {
    	return '[footer_copyright before="Copyright "] &middot; <a href="https://feastdesignco.com/">Foodie Pro</a> & <a href="http://www.studiopress.com/">The Genesis Framework</a>';
    }
    
    March 10, 2018 at 6:40 am in reply to: Pagination exclusion and positioning #217709
    tornado
    Participant

    I tried but it didn't work. I tried variations also of the hooks and still nothing.

    March 10, 2018 at 6:16 am in reply to: Pagination exclusion and positioning #217707
    tornado
    Participant

    Hey Brad.

    The Foodie Pro theme has this already in functions.php:

    // Add post navigation.
    add_action( 'genesis_after_entry_content', 'genesis_prev_next_post_nav', 5 );

    I actually just now removed the pagination from the two posts I didn't want pagination on using CSS. All good.

    My only issue now is that the pagination on all other posts is right at the bottom of the posts, AFTER the After Entry widget, so nobody is going to click them because they are under the After Entry content and so hard to see. How would I move them up above the After Entry widget?

    🙂

    May 9, 2016 at 4:48 pm in reply to: Remove word 'Archives' in categories #185318
    tornado
    Participant

    Thanks, Brad. But this only reveals the text as within the .entry-title area. For example, the blog header over the header image reads 'Blog Archives'. I want to remove the word 'Archives' - it makes absolutely no sense that it's there at all. I can remove 'Blog Archives' but I don't want to do that - I want to keep the word 'Blog'.

    G

    October 13, 2015 at 3:52 am in reply to: How to remove the sidebar from a WooCommerce shop? #168013
    tornado
    Participant

    Hi.

    The above solution does not support the shop page alone having a full width display - only if the full width is applied site wide.

    Any ideas how to remove the sidebar completely, only from the Woocommerce product page?

    G

    August 4, 2015 at 3:18 am in reply to: Remove category link in breadcrumbs #161371
    tornado
    Participant

    Brad - works a treat. Thanks loads for this. Top man.

    August 3, 2015 at 8:10 am in reply to: Remove category link in breadcrumbs #161241
    tornado
    Participant

    Thanks!!!!!!

    August 3, 2015 at 3:53 am in reply to: Remove category link in breadcrumbs #161219
    tornado
    Participant

    Thanks, Brad.

    I'll attempt to wrap my mind around that. I'm looking at removing the category link so may be a case of deleting reference to that...

    🙂

    December 27, 2014 at 4:26 pm in reply to: Advice needed on website structure #135427
    tornado
    Participant

    Thanks, Ren. Good food for for thought! I appreciate your input.

    G

    November 29, 2014 at 6:50 am in reply to: Members only shortcode #133200
    tornado
    Participant

    Thanks, Brad. That's spot on. Really good site.

    Cheers.

    G

    November 19, 2014 at 12:57 am in reply to: Custom Simple Social Icons responsiveness #132078
    tornado
    Participant

    Thanks!!!!!!!!!!

    November 17, 2014 at 1:22 am in reply to: Custom Simple Social Icons responsiveness #131809
    tornado
    Participant

    Lauren - who's amazing? You're amazing!

    Thank you so much for this. So good.

    I learnin'!

    Could I ask - how do I figure out the ID? I used Firebug before I sent this ticket because I thought it may have something to do with an ID, but couldn't find anything.

    Cheers.

    Graeme:)

    November 15, 2014 at 3:55 pm in reply to: Stack widgets in Header Right #131671
    tornado
    Participant

    nunotmp, that is awesome. Thanks. Much cleaner!

    I really appreciate this.

    The only thing I need now is to make the Header Right widget (where your code is now inserted - in a text widget) to be responsive so it falls below the logo. At the moment the icons show over the logo. Do you have any ideas?

    G:)

    November 15, 2014 at 2:22 pm in reply to: Stack widgets in Header Right #131648
    tornado
    Participant

    Hey, thanks for the time you've taken to reply. No hate, only love!

    Good suggestions. I agree.

    However, my client needs the images in place as they are.

    I created another post here, asking how I can make images in the Header Right widget (as inserted in a text widget) fall responsively below the logo.

    Tom gave a great response to my initial query (how to do the same but for the Simple Social Icons widget) but I still don't know how to address only images in a standard text widget. That would essentially sort part of the problem for me. Maybe I should create a new topic asking this specific question.

    I really appreciate your reply.

    G:)

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 50 total)
1 2 3 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble