• 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

Modify the Comments Link Text does not work

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 › Modify the Comments Link Text does not work

This topic is: not resolved

Tagged: comments_link, genesis_post_categories_shortcode, genesis_post_comments_shortcode, post_categories

  • This topic has 9 replies, 2 voices, and was last updated 9 years, 1 month ago by Brad Dalton.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • December 14, 2016 at 1:45 am #197556
    Annaedv
    Participant

    Hello
    I use Agent Focused Pro and want to modify the comments link text to my own language. It doesn´t work with the snippets.
    What to do?
    /Anna

    http://fossilfri.com
    December 14, 2016 at 2:58 am #197560
    Brad Dalton
    Participant

    Please clarify which comments link text you are referring to.


    Tutorials for StudioPress Themes.

    December 14, 2016 at 3:26 am #197561
    Annaedv
    Participant

    Hello. The one above the post. i also want to change "FILED UNDER:" before the category.

    December 14, 2016 at 5:00 pm #197590
    Brad Dalton
    Participant

    1. You need to filter the post_comments shortcode using the genesis_post_comments_shortcode filter

    2. Also, you need to filter the post_categories shortcode using the genesis_post_categories_shortcode filter

    Both modifications should be done in your child themes functions file.

    You can see the default code in genesis > lib > shortcodes post.php


    Tutorials for StudioPress Themes.

    December 15, 2016 at 12:52 am #197601
    Annaedv
    Participant

    Hello - and thank´s. But this is to little information for me to fix this.
    Is there a tutorial?
    I don´ know how to "filter" (I am not understanding english that well).
    I have not been working with shortcodes either....
    /Anna

    December 15, 2016 at 3:03 am #197603
    Brad Dalton
    Participant

    I haven't seen any existing tutorials for this so the code would need to be written and tested unless you can find code which uses those 2 filter hooks.


    Tutorials for StudioPress Themes.

    December 15, 2016 at 7:27 am #197614
    Annaedv
    Participant

    Okey!
    Can you explain the word "filter"? Is it to take away the shortcodes from the code if I´ll find them?
    Anna *feeling stupid*

    December 15, 2016 at 4:28 pm #197655
    Brad Dalton
    Participant

    Filter means modify and filter functions require fairly advanced knowledge of writing PHP code.

    I suggest you try and find a working example of code which uses the filter hooks i mentioned.

    I searched but did not find any which you can use as a guide to modify the default output of both shortcodes.

    Basically a filter function enables you to modify the default output which can be seen in genesis > lib > shortcodes post.php

    Learn more here


    Tutorials for StudioPress Themes.

    December 16, 2016 at 1:16 am #197665
    Annaedv
    Participant

    Thank´s!
    Can you recommend a plug in for the php-code? Or do I have to experiment in the original files?
    Anna

    December 16, 2016 at 5:19 pm #197708
    Brad Dalton
    Participant

    There's no plugin to do this that i know of so you'll need code.


    Tutorials for StudioPress Themes.

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