• 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

ceelynxo

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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 13, 2016 at 8:18 pm in reply to: Unresponsive Header Image #189432
    ceelynxo
    Member

    Oh wow, I didn't know that! Explains a lot of grief I'm having!

    July 13, 2016 at 4:22 pm in reply to: How to remove tags from posts only on the home & archives + other meta questions #189425
    ceelynxo
    Member

    Hey Brad, unfortunately that didn't work for me either. I ended up with meta in the header and footer , BUT, I kept playing around with it and I came across one of your tutorials on removing seo-titles conditionally, and it didn't help me either lol but the endif you used in the end, reminded me of a tag I would someitmes see when looking through php files, 'elseif'... I did some reading up on how to use elseif and long story short I FIXED IT!! 😀 😀 this is the code I ended up using,

    //* 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_categories before="Filed Under: "]';
    	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) {if ( is_front_page() && is_home() ) {
    	$post_meta = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
    	return $post_meta;
    } elseif ( is_single() ) {$post_meta = '[post_date] by [post_author_posts_link] [post_comments] [post_tags] [post_edit]';
    	return $post_meta;
    }}

    It gave me just what I wanted!! Thank you so much for your help and for being patient with me!

    July 13, 2016 at 1:29 pm in reply to: How to remove tags from posts only on the home & archives + other meta questions #189414
    ceelynxo
    Member

    okay so I added the lines you suggested and it didn't give me error message (thankfully) but it didn't fix my problem either 🙁 My posts & pages still don't have an entry footer... Maybe you can see what I'm doing wrong, here's all the custom code I've added to my functions:

    //* 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_categories before="Filed Under: "]';
    	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) {if ( is_front_page() && is_home() ) {
    	$post_meta = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
    	return $post_meta;
    }}
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    July 13, 2016 at 12:46 am in reply to: How to remove tags from posts only on the home & archives + other meta questions #189379
    ceelynxo
    Member

    You've completely lost me lol. Do I add the first code you showed by itself and just add it in addition to my customized homepage codes I just added? I tried it and got the syntax error... I also tried adding the same footer meta I added for the homepage, but without conditions and that didn't work either.

    July 12, 2016 at 10:14 pm in reply to: How to remove tags from posts only on the home & archives + other meta questions #189369
    ceelynxo
    Member

    Thank you Braddalton, I was able to get the homepage meta just the way I wanted, but when I added the footer meta code with the conditions

    //* 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) {if ( is_front_page() && is_home() ) {
    	$post_meta = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
    	return $post_meta;
    }}

    It made the homepage perfect but took away the footer meta of the single posts & pages... how can I get them back without affecting the homepage?? I tried adding another set of conditions for pages & single posts using the following code but I got an error and had to upload my back-up functions page

    //* 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) {if (is_single () && is_page() ) {
    	$post_meta = '[post_date] by [post_author_posts_link] [post_comments] [post_edit] [post_tags]';
    	return $post_meta;
    }}
    July 12, 2016 at 5:13 pm in reply to: Pagination won't stay at bottom #189346
    ceelynxo
    Member

    Thank you, I think y'all are definitely right... I live previewed it with other themes and they didn't do it, so I sent the theme creator a message. Thanks for the help!

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