• 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

Removing site tags and Comments title

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 › Removing site tags and Comments title

This topic is: not resolved

Tagged: css, display

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 9 months ago by gucu.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 6, 2017 at 3:40 am #211135
    gucu
    Participant

    Hi

    The site is here:

    Simply Sewing Magazine – Issue 2

    At the foot of the post it is displaying labels, tags and comment count. I want to hold the tags and comment count. I have tried to do this by:

    .tags-links span {
    	display: none;
    	visibility: hidden;
    }
    .comments-title h2 {
    	display: none;
    	visibility: hidden;
    }

    But they refuse to disappear.

    Can anyone help please?

    Thanks

    Rich

    http://www.makery.uk/2015/03/simply-sewing-magazine-issue-2/
    September 6, 2017 at 5:07 am #211139
    Victor Font
    Moderator

    Hiding text with CSS is considered a no-no by Google and could result in lower SEO rankings. The Genesis Framework provides an ample number of WordPress filters that allow you to alter the markup output. To hide the comment title properly, you add the following filter to functions.php:

    add_filter( 'genesis_title_comments', '__return_null');

    As for the entry meta, you would use the snippet on this page:

    Remove Entry Meta

    BTW, you are using the wrong classes in the CSS you display in your post. The comments class is comments_title (no h2), and the tags-links class is just tags-links. No need to use the span. By adding the span, you are saying "hide the first span that follows the tags-links class. If you must use the span, then it should be referenced first as in span.tags-links. This says, "the span with the class tags-links."


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 6, 2017 at 6:44 am #211150
    gucu
    Participant

    Thanks Victor. You're a star.

    Rich

  • 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