• 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

donmcleman

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 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • December 9, 2015 at 8:19 am in reply to: Remove footer mark-up on post page only #173322
    donmcleman
    Member

    Thank you for the replies, I think I found another way round the problem – but it's too long ago for me to remember 🙂

    November 13, 2015 at 4:03 pm in reply to: Change order of elements in loop #171051
    donmcleman
    Member

    Thank you, now I know what I'm doing 🙂

    November 13, 2015 at 4:00 pm in reply to: Change order of elements in loop #171048
    donmcleman
    Member

    So I would replace 'genesis_entry_footer' with 'genesis_after_entry'?

    November 13, 2015 at 3:56 pm in reply to: Change order of elements in loop #171046
    donmcleman
    Member

    I added the following to functions.php:

    //* Add category post navigation (requires HTML5 theme support)
    add_action('genesis_entry_footer', 'crosswebideas_nav_links', 25 );
    function crosswebideas_nav_links() {
    if( !is_single() ) 
          return;
    echo ('<h2 class="explore">Explore the next article</h2>');
        previous_post_link('<span class="previous-post-link">%link', '%title', TRUE);
    echo ('<div id="hr_explore"></div>');
        next_post_link('<span class="next-post-link">%link', '%title', TRUE);
    }
    November 13, 2015 at 3:25 pm in reply to: Change order of elements in loop #171041
    donmcleman
    Member

    Third attempt to reply: http://staging.crosswebideas.com/look-for-a-need-find-a-business-idea.html

    July 30, 2015 at 1:56 am in reply to: Display post meta differently on home page #160923
    donmcleman
    Member

    Hi, I don't have that plugin installed, I'm trying to cut down on the number of plugins I use so I'd really prefer a code solution.

    July 29, 2015 at 12:44 pm in reply to: Display post meta differently on home page #160893
    donmcleman
    Member

    Well, it doesn't actually work... I can see that format working for other functions but it's not working with this one.

    This posts both the footer meta and the header meta:

    
    add_filter( 'genesis_post_info', 'sp_post_info_filter' );
    function sp_post_info_filter($post_info) {
    if( !is_home() )
    $post_info = '[post_date]';
    return $post_info;
    }
    
    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    if( is_home() )
    $post_meta = '[post_date]';
    return $post_meta;
    }

    Any explanation?

    July 29, 2015 at 12:32 pm in reply to: Display post meta differently on home page #160889
    donmcleman
    Member

    Well, I would never have worked that out... I must take some sort of intro course.

    Thank you!

    July 29, 2015 at 10:48 am in reply to: Display post meta differently on home page #160877
    donmcleman
    Member

    Sorry, Brad, I didn't know what this means: 'Conditional tags should come immediately after the function.' You can't mean after the closing curly bracket?

    July 29, 2015 at 10:32 am in reply to: Display post meta differently on home page #160874
    donmcleman
    Member

    Thank you, Brad! This is the code I've used and it works:

    //* Customize the entry meta in the entry header (requires HTML5 theme support)
    add_filter( 'genesis_post_info', 'sp_post_info_filter' );
    function sp_post_info_filter($post_info) {
    	$post_info = '[post_date]';
    if( !is_home() )
    	return $post_info;
    }
    
    //* Customize the entry meta in the entry footer (requires HTML5 theme support)
    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    	$post_meta = '[post_date]';
    	if( is_home() )
    return $post_meta;
    }
    

    I'd also like to remove the footer mark-up on the post as I've given it a border. I thought the following code would work but it doesn't – my php skills are minimal so I can't see what's wrong:

    //* Remove the entry footer markup (requires HTML5 theme support)
    add_filter( 'genesis_entry_footer', 'crosswebideas_footer_markup');
    function crosswebideas_footer_markup() {
    if( !is_home() )
    remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
    remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
    }
    

    Please do you have any suggestions for this part?

    July 29, 2015 at 3:21 am in reply to: Adding a subheading to posts #160841
    donmcleman
    Member

    Hey, I got there first 🙂

    The reason the tags are displaying is that I copied your code from the email not this thread - in the email the tags are shown as alt codes rather than the symbols.

    Lesson learned... thank you 🙂

    July 29, 2015 at 3:18 am in reply to: Adding a subheading to posts #160840
    donmcleman
    Member

    Hi, Brad, thanks for helping me out.

    This is almost right - it displays the subheading in the right place but the p tags get printed as is. I'm trying to think of a way round that but you could probably get there a bit qicker than me...

    July 29, 2015 at 3:15 am in reply to: Add subheading to posts #160838
    donmcleman
    Member

    Hi, this is being addressed in the other thread... I'll mark this one as resolved.

    July 29, 2015 at 3:01 am in reply to: Adding a subheading to posts #160835
    donmcleman
    Member

    Hi, I want to use it on all posts, on the blog page of excerpts and on each single post. Not pages.

    I should have made that clear...

    July 28, 2015 at 6:05 pm in reply to: Adding a subheading to posts #160809
    donmcleman
    Member

    I think I should have posted this in the General Discussion forum …it was my first post, so I didn't know 🙂

    I'll copy it out and repost. Could a moderator delete this thread?

    July 28, 2015 at 5:50 pm in reply to: Layout of excerpt, featured image and button #160806
    donmcleman
    Member

    UPDATE: I've figured it out with css 🙂

    I've given the image a margin-bottom negative amount, so allowing the button to be positioned according to the amount of the text.

    Hey, thank you 🙂

  • Author
    Posts
Viewing 16 posts - 1 through 16 (of 16 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