• 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

SethResler

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 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • December 23, 2015 at 10:04 pm in reply to: Customize 'Read More' Link on Archive Page by Category Type #174688
    SethResler
    Participant

    Found the answer. Combined them into one snippet:

    //*Read More Button For Excerpt
    function themeprefix_excerpt_read_more_link( $output ) {
    	global $post;
    	if ( in_category(502) ) {
    	return $output . ' <a href="' . get_permalink( $post->ID ) . '" class="more-link" title="Watch Webinar">Watch Webinar</a>';
    
    } elseif ( in_category(474) ) {
    	return $output . ' <a href="' . get_permalink( $post->ID ) . '" class="more-link" title="See Video">See Video</a>';
    
    } elseif ( in_category(494) ) {
    	return $output . ' <a href="' . get_permalink( $post->ID ) . '" class="more-link" title="Get It">Get It</a>';
    
    	} else 
    {	return $output . ' <a href="' . get_permalink( $post->ID ) . '" class="more-link" title="Read More">Read More</a>';
    
       }
    
    }
    add_filter( 'the_excerpt', 'themeprefix_excerpt_read_more_link' );
    May 19, 2014 at 1:22 am in reply to: Education HTML5? + Columns Not Working #105827
    SethResler
    Participant

    Is the plan to upgrade the Education theme to HTML 5? Is there an ETA?

    Thanks!

    February 22, 2014 at 1:10 am in reply to: Simple Hooks: Add Post Category to genesis_title hook #91885
    SethResler
    Participant

    The answer is that the Yoast SEO plugin was overriding this hook (and apparently forcing the php outside the </title> tag). I went into the Yoast settings and added %%category%% to the Title Template for posts, and scrapped the genesis_title code in Simple Hooks altogether. It seems to be working.

    February 21, 2014 at 5:38 pm in reply to: Google Analytics Code Not Appearing on WordPress Login Page #91816
    SethResler
    Participant

    Found the answer: http://www.blogsynthesis.com/track-wordpress-login-register-and-dashboard/

    Thank you!

    May 28, 2013 at 12:52 am in reply to: Education Theme: Move the Call to Action bar above the Featured Widgets #42877
    SethResler
    Participant

    Perfect, thank you!

    May 7, 2013 at 1:26 am in reply to: Create new layout: Secondary Sidebar / Content (No Primary) #39679
    SethResler
    Participant

    I figured it out. This goes in functions.php:

    `

    //** Add sidebar-alt-content layout **//
    genesis_register_layout( 'sidebar-alt-content', array(
    'label' => 'Small Sidebar/Content',
    'img' => CHILD_URL . '/images/sidebar-alt-content',
    ) );

    add_action('genesis_before', 'gt_new_custom_layout_logic');
    function gt_new_custom_layout_logic() {

    $site_layout = genesis_site_layout();

    if ( $site_layout == 'sidebar-alt-content' ) {
    // Remove default genesis sidebars
    remove_action( 'genesis_after_content', 'genesis_get_sidebar' );
    remove_action( 'genesis_after_content_sidebar_wrap', 'genesis_get_sidebar_alt');
    add_action( 'genesis_before_content_sidebar_wrap', 'genesis_get_sidebar_alt' );

    }
    }

    `

    This post was very helpful: http://genesistutorials.com/understanding-genesis-layout-options/

    May 7, 2013 at 12:13 am in reply to: Create new layout: Secondary Sidebar / Content (No Primary) #39669
    SethResler
    Participant

    To follow up, I also have BBPress installed, and I want to remove the primary sidebar on the BBPress pages. Is there a function that can check for a particular custom post type, and then remove the primary sidebar on that post type? Thanks!

    Alternatively, maybe a template?

    Thanks!

    May 4, 2013 at 11:32 am in reply to: Create new layout: Secondary Sidebar / Content (No Primary) #39279
    SethResler
    Participant

    This tutorial is great, but there is no "custom class" option for the layout on Category or Tag archives. What can I do for these pages?

    May 4, 2013 at 9:43 am in reply to: Create new layout: Secondary Sidebar / Content (No Primary) #39255
    SethResler
    Participant

    Thanks, that was very useful!

    May 3, 2013 at 9:43 pm in reply to: How to Display Taxonomy Description on Taxonomy Archive Page? #39203
    SethResler
    Participant

    I used the Simple Sidebars plugin to insert this code before the loop to get the taxonomy description on the archive page:
    `
    if(is_tax()) {
    $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
    ?>
    `

    description;
    ?> <!--?php }

    But I can't get the shortcodes to work. I've tried:

     

    add_filter( ‘term_description’, ‘shortcode_unautop’);

    add_filter( ‘term_description’, ‘do_shortcode’ );

     

    in the functions.php file but no luck. Any ideas? Thanks!

    November 25, 2012 at 11:30 pm in reply to: Remove Posts from Homepage in Education Child Theme #1694
    SethResler
    Participant

    Perfect, thanks for your help!

    November 25, 2012 at 9:22 pm in reply to: Remove Posts from Homepage in Education Child Theme #1669
    SethResler
    Participant

    We're close! That eliminated the primary sidebar, but it also eliminated the secondary sidebar, which I do want to display on the homepage. I only want to get rid of the primary sidebar.

    November 25, 2012 at 7:39 pm in reply to: Remove Posts from Homepage in Education Child Theme #1661
    SethResler
    Participant

    http://tastetrekkers.com

    Scroll to the bottom and you'll see the "Event Schedule" which is from the primary sidebar.

    November 25, 2012 at 7:05 pm in reply to: Remove Posts from Homepage in Education Child Theme #1658
    SethResler
    Participant

    This works, but the primary sidebar still shows up. How do I remove that from just the homepage? Thanks!

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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