• 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

Remove "category" after post excerpt in parallax pro

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 › Remove "category" after post excerpt in parallax pro

This topic is: resolved

Tagged: category, css, parallax-pro

  • This topic has 6 replies, 2 voices, and was last updated 8 years, 10 months ago by donnielaw.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 29, 2014 at 5:21 pm #97344
    donnielaw
    Member

    I have the parallax pro theme and I'm trying to remove the little folder icon and category which says "filed under." Basically I don't want the category displayed. Looking in the style.css I see this:

    .entry-categories::before,
    .entry-tags::before {
    	display: inline-block;
    	font: normal 20px/1 'dashicons';
    	margin-right: 5px;
    	margin-top: 2px;
    	vertical-align: top;
    	-webkit-font-smoothing: antialiased;
    }
    
    .entry-categories::before {
    	content: "\f318";
    }
    
    .entry-tags::before {
    	content: "\f323";
    }
    
    .entry-categories,
    .entry-tags {
    	display: block;
    }
    
    .entry-comments-link::before {
    	content: "\2014";
    	margin: 0 6px 0 2px;
    }

    Would I change any of that code or something else?

    Thanks!

    March 30, 2014 at 12:23 am #97387
    Davinder Singh Kainth
    Member

    Remove following code

    .entry-categories::before {
    	content: "\f318";
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    March 30, 2014 at 4:20 pm #97537
    donnielaw
    Member

    Thanks Davinder.

    Unfortunately that only removed the little folder icon. I don't want to display any category. What would I remove to accomplish that?

    March 30, 2014 at 8:56 pm #97558
    Davinder Singh Kainth
    Member

    Add this code to functions.php file (backup before making changes)

    //* Remove post meta - http://www.basicwp.com/remove-post-meta-info-contents-genesis
    add_action('template_redirect', 'child_conditional_actions'); 
    function child_conditional_actions() { 
    if( is_single() ) { 
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    }}  

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    March 31, 2014 at 11:00 am #97693
    donnielaw
    Member

    Awesome thank you!

    It worked great once in a post (no more category displayed) but unfortunately on the main blog page with all the post excerpts the category is still showing.

    Any idea how to remove the category info from the main blog page which displays all the post excerpts?

    Thanks

    March 31, 2014 at 8:36 pm #97840
    Davinder Singh Kainth
    Member

    Delete previously added code and use following code instead

    //* Remove post meta - http://www.basicwp.com/remove-post-meta-info-contents-genesis
    add_action('template_redirect', 'child_conditional_actions'); 
    function child_conditional_actions() { 
    if( !is_home() ) { 
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    }}

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    April 1, 2014 at 6:47 pm #97986
    donnielaw
    Member

    Thank you!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Remove "category" after post excerpt in parallax pro’ is closed to new 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