• 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

Metro Pro – After Entry

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

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Metro Pro – After Entry

This topic is: not resolved

Tagged: After Entry, Metro Pro

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 4 months ago by hn345.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 27, 2014 at 8:45 am #129437
    Marco7
    Member

    Hi guys,

    I installed the plugin "Genesis Simple Edits" and I used the field "Entry
    Meta (above content)" to insert the code for the Socials Buttons, author
    and date.

    Correctly the Metro Pro Theme doesn't show that on pages, but it does
    on archives, search results and categories. How can I exclude that field
    on those pages?

    Thank you very much for your help
    Marco

    October 27, 2014 at 8:51 am #129439
    Marco7
    Member

    I guess that the solution could be in this code on funtions.php but I'm not able to modify it (and not sure that my guess is true! 🙂 )

    //* Hooks after-entry widget area to single posts
    add_action( 'genesis_entry_footer', 'metro_after_post'  ); 
    function metro_after_post() {
    
        if ( ! is_singular( 'post' ) )
        	return;
    
        genesis_widget_area( 'after-entry', array(
    		'before' => '<div class="after-entry widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
        ) );
    
    }
    November 14, 2014 at 12:56 pm #131540
    hn345
    Member

    Hi Marco - A lot of these things can be accomplished in style.css (without any risk of your website crashing). I'm also using Metro Pro, and I removed parts of entry meta from category and other archive pages using the property "display: none". For example, to remove entry meta from Category with an ID of 18, add the following code to the end of your style.css:

    .category-18 .entry-meta {
    display: none;
    }

    The category IDs are listed in the categories page in admin. If you don't see them there, install a plugin called "Reveal IDs".

    To look up the specific names of class selectors ("entry-meta", "entry-author", "entry-comments-link", etc), use Firebug or other similar tool to inspect the element.

    The "display: none" property is also really handy for excluding items from the different mobile screens.

    I hope that helps. Good luck with the website!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

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