• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

[Resolved] How to hide Post meta and Entry Footer on blog page

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › Flex Theme › How to hide Post meta and Entry Footer on blog page

  • This topic has 4 replies, 3 voices, and was last updated 5 years, 4 months ago by Chinmoy Paul.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 16, 2015 at 11:41 am #561
    Joseph
    Participant

    Hi…

    How to hide Post meta and Entry Footer on blog page only screenshot: http://prntscr.com/8gy0lg but show in single post.

    Regards,

    September 16, 2015 at 11:46 am #562
    Davinder Singh Kanith
    Moderator

    Add following code to style.css file before media queries

    .page-template-page_blog .entry-meta { 
    	display: none; 
    }
    
    September 16, 2015 at 12:22 pm #563
    Joseph
    Participant

    Wow super fast, thanks a lot. Can you also provide me the code for archive page?
    Screenshot: http://prntscr.com/8gyjlc & http://prntscr.com/8gyjsu

    September 16, 2015 at 12:32 pm #564
    Davinder Singh Kanith
    Moderator

    Here is the code for tags and category pages.

    .tag .entry-meta,
    .category .entry-meta {
    	display: none;
    }
    
    September 16, 2015 at 1:06 pm #565
    Chinmoy Paul
    Moderator

    Or You can try this PHP script. Add this small code in your functions.php file:

    add_action('genesis_before_loop', 'flex_show_post_meta_on_single_page' );
    function flex_show_post_meta_on_single_page() {
       if( is_singular( 'post' ) )
         return;
    
       remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
       remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
       remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
       remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    }
  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Copyright © 2021 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates