• 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

Functionality Issues With The Thrive Themes Plugin "Thrive 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 › Functionality Issues With The Thrive Themes Plugin "Thrive Comments"

This topic is: not resolved

Tagged: Thrive Comments Plugin

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 6 months ago by Sridhar Katakam.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 25, 2018 at 1:42 pm #225227
    Luis Lorenzo
    Member

    Hi,

    I'm using the Authority Pro Theme From Studio Press. However, when trying to integrate with the Thrive Comments Plugin, there's an issue. All the "leave a comment" hyperlinks do not take users to the comments section for the blog post or page they refer to.

    I opened up a ticket with the Thrive Themes help desk and this is what their advice:

    Related to the Thrive Comments issue our developers check this and suggested to have changed this URL
    for example:

    https://luislorenzoriverasevilla.com/como-formar-tu-primer-negocio-en-internet-con-cero-inversion-de-capital/#respond

    https://luislorenzoriverasevilla.com/como-formar-tu-primer-negocio-en-internet-con-cero-inversion-de-capital/#comments

    The key here, for making the Thrive Comments plugin work, is to have the comments URL structure from the Authority Pro Theme, to use #comments instead of #respond

    I don't know how to code, but my guess is that something like this should be achievable.

    Any guidance on how to do it?

    Anyone has gone through the same issue?

    Or if you could recommend a coder who could do this for me.

    Your help is most appreciated.

    Thank you very much. Merry Christmas to everyone!

    https://luislorenzoriverasevilla.com/
    December 27, 2018 at 7:52 pm #225267
    Sridhar Katakam
    Participant

    Add this in child theme's functions.php:

    remove_filter( 'get_comments_link', 'genesis_comments_link_filter', 10, 2 );


    Genesis Tutorials | Follow me on Twitter

    December 27, 2018 at 9:08 pm #225268
    Luis Lorenzo
    Member

    Thank you for your help, Sridhar. Unfortunately, it doesn't work.

    The key here, for making the Thrive Comments plugin work, is to have the comments URL structure from the Authority Pro Theme, to use #comments instead of #respond

    This is according to the plugin developer, ThriveThemes.com

    December 27, 2018 at 10:09 pm #225269
    Sridhar Katakam
    Participant

    Yes. That is exactly what that code snippet is supposed to do.

    The relevant code in genesis/lib/structure/comments.php:

    add_filter( 'get_comments_link', 'genesis_comments_link_filter', 10, 2 );
    /**
     * Filter the comments link. If post has comments, link to #comments div. If no, link to #respond div.
     *
     * @since 2.0.1
     *
     * @param string      $link    Post comments permalink with '#comments' appended.
     * @param int|WP_Post $post_id Post ID or WP_Post object.
     * @return string URL to comments if they exist, otherwise URL to the comment form.
     */
    function genesis_comments_link_filter( $link, $post_id ) {
    
    	if ( 0 == get_comments_number() ) {
    		return get_permalink( $post_id ) . '#respond';
    	}
    
    	return $link;
    
    }

    I tested it in Authority Pro 1.1.0 and it works.

    Did you make any code change in your child theme to make the comment link show up?

    I had to comment out add_filter( 'genesis_post_info', 'authority_modify_post_info' ); for that.


    Genesis Tutorials | Follow me on Twitter

  • 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

© 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