New Landing How can we help? Themeforest Theme Support Supreme Split: Disqus comments not showing up

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Supreme
  • #11172
    pasturebraised
    Member
    Post count: 17

    I am having issues with Disques as well. Disqus is showing up on my individual posts, but not showing up Supreme Theme’s Mason Tile blog area, or on the recent posts widgets.

    #11230
    Ben – SUPPORT
    Member
    Post count: 690

    Hey Pasturebraised,

    I’ve created you a new topic so we don’t get them all confused!

    I’m almost 100% sure they’re not supposed to show up in either area, I’ll try and get Ed in here just to check

    Thanks
    Ben

    #11361
    pasturebraised
    Member
    Post count: 17

    Still no resolution to this topic! Any help would be much appreciated. Not having my comment counts display on my home page is bad news.

    Thanks,

    #11363
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Just seen that it’s showing up as 0 on our demo site too. Not sure if something changed at Disqus’ end, but I will check this out.

    – Ed

    #11371
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Think i’ve got a fix. Edit the function on functions.php line 1369 to:

    function disqus_count($echo = true) {
    $options = get_option('sf_supreme_options');
    $disqus_shortname = $options['disqus_shortname'];
    global $post;
    if ($echo) {
    echo '<a class="disqus-count" href="'. get_permalink() .'#disqus_thread" data-disqus-identifier="'.$disqus_shortname.'-'.$post->ID.'""></a>';
    } else {
    return '<a class="disqus-count" href="'. get_permalink() .'#disqus_thread" data-disqus-identifier="'.$disqus_shortname.'-'.$post->ID.'"></a>';
    }
    }

    That should fix it.

    Let me know.

    – Ed

    #11375
    pasturebraised
    Member
    Post count: 17

    I can find the functions.php through my word press admin, but it doesn’t list lines. How do I find line 1369?

    #11377
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Went in and sorted it for you.

    – Ed

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register