• 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

WordPress

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 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • March 11, 2014 at 7:43 pm in reply to: First-letter CSS not working (for drop caps) #94352
    Wordpress
    Member

    Look out for the extra space in * /.

    /* Related Content --- * / ---> /* Related Content --- */

    March 11, 2014 at 7:19 pm in reply to: Custom search.php #94346
    Wordpress
    Member

    ^ Looks good. That's done.

    As for the plugin, I've tried and it works. I can see search terms highlighted. Adding/removing code didn't affect it. I can only suggest the obvious like reinstalling the plugin or rebuilding the index. Not much else I can do there sorry.

    March 11, 2014 at 4:22 am in reply to: Custom search.php #94249
    Wordpress
    Member

    This assumes HTML5 is enabled. Place this in your functions.php file:

    // Set number of posts for search results to 18
    add_action( 'pre_get_posts', 'child_search_posts_per_page' );
    function child_search_posts_per_page( $query ) {
        if ( !is_admin() && $query->is_main_query() && $query->is_search() ) {
            $query->set( 'posts_per_page', 18 );
        }
    }

    Now copysearch.php from Genesis parent theme (if you haven't already), and paste it into your Child template directory. In that search.php file put in the following code (right before the genesis();) Like so:

    // Remove post info & entry footer - Optional
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    remove_all_actions( 'genesis_entry_footer' );
    
    // Excerpt and "read more" link
    remove_all_actions( 'genesis_entry_content' );
    add_action( 'genesis_entry_content', 'child_do_post_excerpt' );
    function child_do_post_excerpt() {
        the_excerpt();
        echo '<a class="read-more-link" href="' . esc_url( get_permalink() ) . '">read more</a>';
    }
    
    genesis();

    Note: I haven't tested with the Relevanssi plugin.

    March 11, 2014 at 12:44 am in reply to: How to Omit Categories Beneath Posts ("News" theme) #94233
    Wordpress
    Member

    Put this in functions.php

    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );

    See here: http://my.studiopress.com/snippets/post-meta#remove

    March 11, 2014 at 12:26 am in reply to: Search Box Suddenly Is Not Responsive??? Agency Pro Theme #94231
    Wordpress
    Member

    That widget points to a JavaScript file, which contains #IDX-quicksearch-34117 {width:960px;}.

    Add this to your css file:

    #IDX-quicksearch-34117 {
        width: 100% !important;
    }

    If you want to keep it 960px wide then also add max-width: 960px;

    February 27, 2014 at 5:09 pm in reply to: How to remove link underneath images? #92751
    Wordpress
    Member

    On Chrome I directly inspect the element and look at the styles. Click around on the HTML part on the left to see if it's inheriting styles from ancestor/parent elements. In this case all I did was directly inspect the social icon, then on the HTML panel clicked its parent <a> tag to check if it's inheriting styles from it, and it was and that's how I knew. Oh, and yeah, check the class/id name of those elements on the HTML panel.

    February 27, 2014 at 4:49 pm in reply to: How to remove link underneath images? #92745
    Wordpress
    Member

    The social icons are being styled by the rule a { border-bottom: 1px dotted #333; } Put this in your css file to remove that border for the social icons:

    .social-icons a {
        border: 0;
    }
    February 27, 2014 at 1:51 pm in reply to: featured image display ONLY on select catagories #92715
    Wordpress
    Member

    Go to Genesis > Theme Settings > Content Archives > deselect "Include the Featured Image?"

    Add this to your functions.php file:

    add_action( 'genesis_before_entry_content', 'child_category_thumbnail' );
    function child_category_thumbnail() {
    	if ( in_category( 'yourcategory' ) ) {
    		the_post_thumbnail();
    	}
    }

    yourcategory is your category. If you want to add more categories, then add more categories in an array separated by a comma (e.g., if ( in_category( array( 'category1', 'category2', 'category3' ) ) ) { )

    A nicer alternative (more similar to Genesis) - this links the featured image to the post, but no featured image when in single view:

    add_action( 'genesis_before_entry_content', 'child_category_thumbnail' );
    function child_category_thumbnail() {
    	if ( in_category( 'yourcategory' ) && ! is_singular() ) {
    		echo '<a href="' . get_permalink() . '">' . get_the_post_thumbnail() . '</a>';
    	}
    }
    February 27, 2014 at 12:46 pm in reply to: Site Title Issue – Streamline #92700
    Wordpress
    Member

    The above is the solution for Genesis SEO.

    For Yoast SEO, go to Dashboard > SEO > Titles & Metas > Home tab remove %%sep%%

    February 27, 2014 at 12:20 pm in reply to: Site Title Issue – Streamline #92693
    Wordpress
    Member

    Go to Dashboard > Genesis > SEO Settings > Homepage Settings uncheck "Add site description (tagline) to <title> on home page?site description"

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

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