Viewing 1 replies (of 1 total)
  • Plugin Author Heateor Support

    (@heateor)

    Plugin picks url by the post ID of current webpage for Facebook Comments box at the webpage. If post ID doesn’t give a valid url, plugin picks the url displayed in the address bar of the browser along with any querystring parameters appended to the url. To force remove the “fbclid” querystring parameter from the target url for Facebook Comments box, you can add following code in the “functions.php” file of your active theme:

    /**
     * Load comments for the current webpage after removing fbclid querystring parameter from the url 
     */
    function heateor_ffc_custom_target_url( $post_url, $post ) {
    	return remove_query_arg( 'fbclid', $post_url );
    }
    add_filter( 'heateor_ffc_facebook_comments_target_url', 'heateor_ffc_custom_target_url', 10, 2 );

    BTW, both the urls you have mentioned are showing the same comments as Facebook Comments box at both of these webpages are ignoring “fbclid” parameter.

Viewing 1 replies (of 1 total)

The topic ‘The comment doesn’t appear in same page’ is closed to new replies.