• 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

Chris Cree

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 - 21 through 40 (of 129 total)
← 1 2 3 … 5 6 7 →
  • Author
    Posts
  • June 11, 2013 at 7:08 pm in reply to: Reposition Page Titles #45381
    Chris Cree
    Participant

    Silly me. The blog page template doesn't have a page title in Genesis. So we don't have to remove it there, just add it back in.

    TryTry this on for size.

    // Move titles above the content sidebar wrap
    add_action( 'genesis_before', 'wsm_move_title' );
    function wsm_move_title() {
    	if ( is_page() && !is_page_template( 'page_blog.php' ) {
    		remove_action( 'genesis_post_title', 'genesis_do_post_title' );
    		add_action( 'genesis_after_header', 'wsm_show_page_title_text', 2 );
    	}
    	elseif ( is_page_template( 'page_blog.php' ) ) {
    		add_action( 'genesis_after_header', 'wsm_show_page_title_text', 2 );
    	}
    }
    function wsm_show_page_title_text() {
    	echo '<div class="top-title">';
    	echo '<h1>' . get_the_title() . '</h1>';
    	echo '</div>';
    }
    June 11, 2013 at 5:58 pm in reply to: Reposition Page Titles #45368
    Chris Cree
    Participant

    Holy smokes! The forum butchered that code. Let me see if I can edit it...

    OK. That's much better.

    June 11, 2013 at 5:58 pm in reply to: Reposition Page Titles #45367
    Chris Cree
    Participant

    Instead of

    if ( is_page() ) {

    Try

    if ( is_page() && !is_page_template( 'page_blog.php' ) ) {

    That should keep it from affecting your plog page. If it is affecting single posts add !is_single() like this

    if ( ( is_page() && !is_page_template( 'page_blog.php' ) ) || !is_single() ) {
    June 11, 2013 at 2:55 pm in reply to: Reposition Page Titles #45351
    Chris Cree
    Participant

    I think you're going to have to do it in two steps. Try something like this:

    // Move titles above the content sidebar wrap
    add_action( 'genesis_before', 'wsm_move_title' );
    function wsm_move_title() {
    if ( is_page() ) {
    remove_action( 'genesis_post_title', 'genesis_do_post_title' );
    add_action( 'genesis_before_content_sidebar_wrap', 'wsm_show_page_title_text', 2 );
    }
    }
    function wsm_show_page_title_text() {
    echo '<div class="top-title">';
    echo '<h1>' . get_the_title() . '</h1>';
    echo '</div>';
    }

    Then add the CSS for your new .top-title class as appropriate.

    January 5, 2013 at 11:11 pm in reply to: Tag Widget Title #9890
    Chris Cree
    Participant

    It might be easier to add a display: none; property for those individual widget titles in your CSS. For example

    #tag_cloud-2 .widget-title,
    #categories-7 .widget-title {
    	display: none;
    }

    Use whatever widget ID's you want to adjust. Then you can "cheat" by adding a text widget above each of them with the title image only coded up as straight HTML in the body of the text widget instead of as a CSS background.

    January 5, 2013 at 11:01 pm in reply to: How do I create portfolio Categories #9886
    Chris Cree
    Participant

    Steve, if you have the Pro Plus package check out the page_portfolio.php file from the Crystal theme. That theme actually shows whatever category you designate using the query_args Custom Field for the portfolio page.

    The benefit of that approach is that it's easy to have multiple portfolio pages that show different categories.

    The down side is that the layout as far as what is shown is far less flexible.

    In your case you might find that easier than going the custom post type approach.

    January 5, 2013 at 10:51 pm in reply to: add featured top to eleven40 theme #9884
    Chris Cree
    Participant

    If you don't want the grid loop below the widget area you added to the home page, just delete it from your home.php file. So instead of adding the code from Brian's post you end up replacing the loop that's there with Brian's code.

    If you remove this it should do it:

    add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );
    /** Add support for Genesis Grid Loop */
    function eleven40_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features' => 1,
    			'feature_image_size' => 0,
    			'feature_image_class' => 'alignleft post-image',
    			'feature_content_limit' => 0,
    			'grid_image_size'		=> 'grid-thumbnail',
    			'grid_image_class'		=> 'alignnone',
    			'grid_content_limit' => 250,
    			'more' => __( '[Continue reading]', 'genesis' ),
    			'posts_per_page' => 5,
    		) );
    	} else {
    		genesis_standard_loop();
    	}
    
    }

    Keep in mind you'll still want to keep this line of code in your home.php file:

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    January 5, 2013 at 10:45 pm in reply to: Modifying the excerpt on a post list page #9882
    Chris Cree
    Participant

    Sweet. Glad you were able to get it sorted.

    January 5, 2013 at 10:44 pm in reply to: Corporate Theme Feature and Home Widgets #9881
    Chris Cree
    Participant

    Nearly all Genesis themes use a home.php template for the front page of the website. Usually this page is largely widget driven so that it's easy to adjust what content shows on the front of your site.

    For that reason, setting a static home page will cause that widgetized home page to disappear until the setting is put back to "Your Latest Posts".

    Since you have not posted a link to your site, I'm not really clear on your question. I might be able to answer it better if you share a link.

    January 5, 2013 at 9:04 pm in reply to: Changing Leave a Comment under Archive Only? #9857
    Chris Cree
    Participant

    Instead of adding it to your post type files, put something like this in your functions.php file:

    /** Modify the comment link text */
    add_filter( 'genesis_post_meta', 'post_meta_filter' );
    function post_meta_filter( $post_meta ) {
    	if ( is_singular( 'custom-post-type' ) {
    		return '[post_comments zero="Leave a Review" one="1 Review" more="% Reviews"]';
    	}
    	else return '[post_comments zero="No Comments" one="1 Comment" more="% Comments"]';
    }

    Change out custom-post-type with the actual custom post type you want it to apply to. See is_singluar() in the WP Codex.

    January 5, 2013 at 8:56 pm in reply to: Corporate Theme Feature and Home Widgets #9855
    Chris Cree
    Participant

    Double check your Settings --> Reading settings. You should have "Front Page Displays" set to "Your Latest Posts".

    Usually when the home page not displaying the content at all it's because that setting is set to a static page.

    January 5, 2013 at 8:53 pm in reply to: What is going on with Nick The Geek's Website? 500 Internal Error… #9854
    Chris Cree
    Participant

    He may be working on it. And I second the thanks to Nick!

    January 5, 2013 at 8:51 pm in reply to: Modifying the excerpt on a post list page #9853
    Chris Cree
    Participant

    Genesis uses the WordPress function the_excerpt() for excerpts. I don't see a filter listed for the excerpt content itself. But if you research it you may find someone who has done it already.

    Short of that, I'd try my initial suggestion about changing the post info and use the content limit instead on your home page.

    January 5, 2013 at 8:44 pm in reply to: Not receiving all comment notifications #9850
    Chris Cree
    Participant

    Email can be a finicky animal. I've run into problems with form notifications for one client on a server while several others have no problems whatsoever. And you're right. They are crazy hard to troubleshoot.

    It hasn't been updated in a while, but I've had good luck with the WP Mail SMTP plugin in those instances where email notifications were problematic.

    January 5, 2013 at 8:39 pm in reply to: Qualifications for Buddy Press through Synthesis? #9849
    Chris Cree
    Participant

    That note is over on the Synthesis pricing page. Mouse over the check mark beside "Multisite Support" to see that along with where to inquire about it.

    January 5, 2013 at 8:35 pm in reply to: Need help with Genesis Slider #9846
    Chris Cree
    Participant

    Have you tried deactivating other plugins?

    You have two versions of jQuery being called in your header. The main one from WordPress and another much older version from Amazon S3.

    This second version of jQuery looks to be improperly enqueued and is probably causing the issue with your slider.

    January 5, 2013 at 8:30 pm in reply to: Metric Theme: WooCommerce #9844
    Chris Cree
    Participant

    I use WooCommerce on several Genesis sites with no issues. I don't think I've used the Genesis Connect for WooCommerce plugin though. But that does work just fine too.

    There has to be something else going on with your setup somehow.

    January 5, 2013 at 8:18 pm in reply to: How can I change the featured image size? #9840
    Chris Cree
    Participant

    It sounds like what you really want is a Grid Loop. Here is the tutorial page for that: http://my.studiopress.com/tutorials/genesis-grid-loop/

    January 5, 2013 at 8:14 pm in reply to: Strange spacing challenge #9839
    Chris Cree
    Participant

    It looks like you've pulled a separate page's content into the top of your blog page template. It's a side issue. But one that is complicating what you are doing.

    In your stylesheet you have this at line 840:

    .post h1, 
    .post h2, 
    .post h3 {
    	margin: 285px 0 0 35px;
    }

    That's putting a huge top margin on all of your headings. It means that if you use a heading inside a post it will have a huge top margine as well.

    You can change that to something like this instead so that it selects only the entry titles on your single posts and not the rest of your heading tags:

    .single-post .entry-title {
    	margin: 285px 0 0 35px;
    }
    January 5, 2013 at 7:58 pm in reply to: Modifying the excerpt on a post list page #9835
    Chris Cree
    Participant

    You can do that with a combination of modifying the post info section and css. If you use the Simple Edits plugin you can use this shortcode in the post info section:

     [post_date format="j F Y" after=" - "] 

    Then you can just use the appropriate CSS to position that at the beginning of the first paragraph of text.

    Edit: I missed that you are asking about the excerpt. It might be easier for you to use manual excerpts and add the date to the excerpt field.

  • Author
    Posts
Viewing 20 posts - 21 through 40 (of 129 total)
← 1 2 3 … 5 6 7 →
« Previous Page

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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