Support » Plugin: Yoast SEO » Replytocom removal breaks WP Touch Pro nested comments

  • Resolved Markurs

    (@markurs)


    The v7.0.2 release removes the replytocom option. This now breaks nested comments for mobile theme users using the WP Touch Pro plugin as it relies on replytocom to work.

    I received the code from another thread:
    https://wordpress.org/support/topic/how-to-get-replytocom-back/

    add_filter( 'wpseo_remove_reply_to_com', '__return_true' );

    However, I cannot get this to work as adding it into the mobile theme does not seem to solve the issue (desktop theme is unaffected by replytocom)

    I have tried inserting the above code in to various locations within the WP Touch plugin, all without success though:

    – wp-content/wptouch-data/themes/classic-redux/root-functions.php
    – wp-content/wptouch-data/themes/classic-redux/default/functions.php
    – wp-content/plugins/wptouch-pro/themes/foundation/root-functions.php
    – wp-content/plugins/wptouch-pro/themes/foundation/default/functions.php

    As a last resort, I also tried inserting it in to the standard functions.php file, also without success as my desktop theme does not rely on replytocom only the mobile site.

    Any further ideas would be greatly appreciated.

Viewing 16 replies (of 16 total)
  • We’re also getting this issue on organizedthemes.com/blog (and we use a custom theme) but we fixed it.
    Yoast SEO should provide an official fix as it isn’t fair to anyone.

    To confirm, we did disable all plugins and found that Yoast SEO is the one causing this, strange enough :).

    To fix this: We added the following line of code in functions.php in our child theme: add_filter( ‘wpseo_remove_reply_to_com’, false );

Viewing 16 replies (of 16 total)
  • The topic ‘Replytocom removal breaks WP Touch Pro nested comments’ is closed to new replies.