• 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

Entry Meta [post_comments] – How to delete the internal links to the comments?

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 › Entry Meta [post_comments] – How to delete the internal links to the comments?

This topic is: resolved

Tagged: genesis_post_comments_shortcode, post_comments

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 7 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 12, 2016 at 1:54 pm #196069
    Fabian182
    Member

    Hello,
    how can I delete the internal links to the comments on each blog post? I install the simple edit plugin, but I only can complete delete the [post_comments]. I want to remove the internal links to the comments...

    Bild

    I use the Atmosphere Pro Child Theme.

    Many thanks for your help 🙂

    -Fabian

    https://www.farbentour.de/blog/
    November 12, 2016 at 9:33 pm #196080
    Brad Dalton
    Participant

    You need to filter the function for the comments shortcode which you'll find on line 426 of genesis/lib/shortcodes/post.php

    Change the value for the $comments variable by removing the link like this:

    $comments = sprintf( '%s', $comments );
    

    Tutorials for StudioPress Themes.

    November 13, 2016 at 3:13 am #196091
    Fabian182
    Member

    Many thanks 🙂

    November 13, 2016 at 3:56 am #196092
    Brad Dalton
    Participant

    Also, make sure to use the filter function in your child theme and not edit the Genesis files.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2026 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