• Resolved tspnyc

    (@tspnyc)


    When I look up this issue, how to make the most recent comment show at the top rather than bottom of the comment list, I see solutions that refer to code which DOES NOT EXIST in the comments code for the Bouquet theme.

    I do not know code at all.

    How can I make comments in Bouquet so the order is reversed and the most recent is on top?

    I am also using a child theme, but it has been so long since I sent that up I do not even know how to get back into it.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi tspnyc,

    In Settings -> Discussion under “Other comment settings” you can set in which order comments should appear.

    Best,
    Konstantin

    Thread Starter tspnyc

    (@tspnyc)

    Thanks! Unfortunately, when I go into Discussion and change it to ‘Comments should be displayed with the newer at the top of each page’ it does NOT do anything and my comments remain in their original order.

    I made sure I was in the correct Dashboard, etc. and I saved the changed. I even tried checking the box about using 50 comments per page and display the last page.

    Could this be related to the fact I am using a child theme?

    In a related issue, I can no longer remember where the comments.php file lives or any .php file. I have been through every menu in the dashboard – including the Administrator section and they do not show up. Please advise. Thanks.

    PS I found the comments php in my ftp, I still cannot find where in Dashboard I go for that stuff.

    Anyway, most WP help says

    “replace
    <?php foreach ($comments as $comment) : ?>

    with

    <?php foreach (array_reverse($comments) as $comment) : ?>”

    But the comments.php does not contain any code remotely like this.

    It does contain the following note

    * The area of the page that contains both current comments
    * and the comment form. The actual display of comments is
    * handled by a callback to bouquet_comment() which is
    * located in the functions.php file.

    but the functions.php file likewise contains nothing like ‘foreach ($comments)etc.

    Remember to press CTRL and F5 simultaneously when viewing an updated page/site. Or try emptying your browser cache. This should ensure that your web browser fetches a fresh copy of the page rather than serving up an out-dated copy from your own cache.

    Also disable/deactivate any caching plugin(s).

    Thread Starter tspnyc

    (@tspnyc)

    Thanks it was the refresh! It did nothing but I restarted the browser and deleted my recent history.

    But where DO I find the php files when in WordPress Dashboard?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to make latest comment show first’ is closed to new replies.