• Resolved teknika

    (@teknika)


    Hi,
    I updated the plugin yesterday, but sorting function is not working properly. “Wp-discus-front-actions” line does not appear. When I delete the condition where in comment-form.php at line 182, the sort links are appear. But, when i click the link, the sorting is not affected.

    There are not any eror in Chrome’s console.

    What should I do?

    https://wordpress.org/plugins/wpdiscuz/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Hi teknika,
    Could you please leave some URL to allow us check it.
    Also please make sure you’ve turned on sorting buttons in wpDiscuz Settings > Hide/Shop Components Tab

    And please remove all caches and purge CDN if you have.

    Thread Starter teknika

    (@teknika)

    Thank you for your answer; The caching (plugin or server) is off and ‘Show sorting buttons’ option is enabled. But these were not the solution of my problem.

    My website: http://windowsphonehaber.com

    Plugin Author gVectors Team

    (@gvectors-team)

    We don’t see sorting buttons, we can’t check those, please turn those on.

    Thread Starter teknika

    (@teknika)

    Sorting buttons options in cp are already enabled. The problem starts here, sorting buttons only appear when I delete the line 182 at comment-form.php.

    <?php if ($commentsCount > 0 && $wpdiscuz->optionsSerialized->showSortingButtons && !$wpdiscuz->optionsSerialized->wordpressIsPaginate) { ?>

    I’m going to delete this condition to show you.

    Plugin Author gVectors Team

    (@gvectors-team)

    Ok, I see what are you doing.
    Please note, sorting buttons only work if the default wordpess comment pagination is turned off.
    Do not make any changes in core, just uncheck this: http://screencast.com/t/i7RZWSL9a option in Settings > Discussions admin page (then remove cache) :

    Thread Starter teknika

    (@teknika)

    It works 🙂

    Thanks so much !

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

The topic ‘Sorting is not working’ is closed to new replies.