• Resolved rbmark

    (@rbmark)


    I am using Jetpack comments and would like to disable the comment call to action box so the option to comment shows up under the posts/pages without having to click the comment box.

    Can I remove this?

    Thanks,
    Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Raam Dev

    (@raamdev)

    Can you try adding this to the bottom of functions.php (or even better, to a Child Theme‘s functions.php):

    /*
     * When JetPack Comments is enabled, don't load our comment form enhancements
     */
    if ( ! function_exists( 'independent_publisher_jetpack_comments' ) ) :
    	function independent_publisher_jetpack_comments() {
    		if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'comments' ) ) {
    			function independent_publisher_enhanced_comment_form() { return; }
    		}
    	}
    endif;

    Let me know if that fixes the problem for you. If it does, I’ll add this to the next theme update so that the theme works better when JetPack Comments are enabled.

    Thread Starter rbmark

    (@rbmark)

    Raam,

    I tried adding that code to the bottom of functions.php in both the child theme and main them, but no luck on either. I noticed you use jquery in this area so when I click on the theme’s comment function it changes to “display: none” and then the Jetpack comments opens.

    (My site: http://marklamprecht.com/)

    Thanks!

    Theme Author Raam Dev

    (@raamdev)

    My apologies. The following code should do the trick:

    /*
     * When JetPack Comments is enabled, don't load our comment form enhancements
     */
    if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'comments' ) ) {
    	function independent_publisher_enhanced_comment_form() { return; }
    }
    Thread Starter rbmark

    (@rbmark)

    That work great, thanks!

    As a side, I did like your original set-up, but decided for a little different look/experience. Appreciate your work.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove comment call to action box’ is closed to new replies.