• 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

News Pro Theme – customize category overview

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 › General Discussion › News Pro Theme – customize category overview

This topic is: not resolved

Tagged: News Pro, overview

  • This topic has 7 replies, 2 voices, and was last updated 10 years, 9 months ago by Mige77.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 4, 2014 at 1:57 am #116935
    Mige77
    Member

    Hi,

    Im running a site on News Pro theme. On all category overview pages Id like to shorten the entry-footer part to remove the meta information about category and tags.

    URL: http://www.stringworks.ch/musiknews/
    category overview

    Also I`ve tried to include a social media sharing solution via simple "simple hooks", which generally works, but the theme adds the sharing buttons on all overviews and pages too. How can I add the sharing just on article detail level?

    Article detail

    Thank you for any help in advance!

    Kind regards,
    Michael

    August 4, 2014 at 2:21 am #116936
    Genesis Developer
    Member

    Add the following code in your functions.php file so category & tags will remove

    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' );

    For social sharing buttons use the conditional tag:

    if ( is_singular( array( 'post', 'page')){
       // ADD YOUR CODE HERE
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 5, 2014 at 12:25 am #117124
    Mige77
    Member

    Hi, thank you very much!

    That first one worked perfectly. I have to try the second part with the social media buttons too.

    Kindly,
    Michael

    August 8, 2014 at 3:13 am #117739
    Mige77
    Member

    Hi,

    Thanks again for your advice with the conditional tag. I`ve tried that and used this code:

    if ( is_singular( array('post'))){
       echo do_shortcode('[socialMediaEnhancer]');
    }

    This should display the social media sharing buttons. But the output of the plugin is not visible. Do I have to define the exact position of the output somehow in functions.php, where it should be executed on a post page?

    KR,
    Michael

    August 8, 2014 at 5:29 am #117740
    Genesis Developer
    Member

    Add the code in your functions.php file.

    add_action('genesis_entry_header', 'add_sharing_button', 30);
    function add_sharing_button(){
        if ( is_singular( array( 'post', 'page')){
             echo do_shortcode('[socialMediaEnhancer]');
        }
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 8, 2014 at 9:14 am #117763
    Mige77
    Member

    Hi genwrock

    Thank you again for the add sharing function. I have included that on my second website, but it does not seem to work. I`m not getting any error message, but the sharing buttons are not visible:

    http://www.michaelherb.ch/globiwanderweg-lenzerheide/

    Wondering if it has to do with the shortcode or the plugin itself...

    Kind regards,
    Michael

    August 8, 2014 at 9:24 am #117770
    Genesis Developer
    Member

    Oho.. this theme is not using HTML5 markup. My code will work for HTML5 site. Ok. Please remove the previous & use this code:

    add_action('genesis_before_post_content', 'add_sharing_button', 30);
    function add_sharing_button(){
        if ( is_singular( array( 'post', 'page')){
             echo do_shortcode('[socialMediaEnhancer]');
        }
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 9, 2014 at 5:31 am #117882
    Mige77
    Member

    Thanks a lot genwrock!

    It all worked perfectly, on both the HTML5 and on the other site. Your help is much appreciated 🙂

    KR,
    Michael

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘General Discussion’ 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

© 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