Return to Support

Comments continue to cascade even when threading is disabled

Home Forums Graphene WordPress theme Support Comments continue to cascade even when threading is disabled

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46
    jkeis
    Member

    I noticed that when I disable threading in dashboard/discussion, comments still cascade.

    Thanks.

    Jason

    #10964
    Syahir Hakim
    Keymaster

    Hurm..I’ve never actually tried disabling it before. You need to do it manually then.

    Open up the file comments.php and find the wp_list_comments() function call. Remove the max_depth parameter, so that it looks just like this:

    wp_list_comments(array('callback' => 'graphene_comment', 'style' => 'ol'));

    #10965
    jkeis
    Member

    Could this feature be implemented in your next version?

    #10966
    jkeis
    Member

    I get

    Parse error: syntax error, unexpected ‘<‘ in /home/content/64/6614464/html/wp-content/themes/graphene.1.0.7/graphene/comments.php on line 96

    #10967
    Syahir Hakim
    Keymaster

    I hope you didn’t remove the closing PHP tag, ?>?

    The wp_list_comments() function callback should look like this:

    wp_list_comments(array('callback' => 'graphene_comment', 'style' => 'ol')); ?>

    Yes, this change will be included in the next version.

    #10968
    jkeis
    Member

    yes I got it now 🙂 thank you… now for the jaggedness… any ideas?

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

You must be logged in to reply to this topic.