• Resolved Karis

    (@askel45)


    Hi. I stumbled upon this code, but it seems to affect the comments by changing the post’s comment or comment box to the last post appearing in the sequence (let’s say I am reading post A. The code is set to show six posts. Then the comments box for post A is the one for the last of the six posts). This however does not happen if I hook it after the comments box (like after main content). Same thing happening with default 2020 theme. Are you able to kindly suggest a way to stop this from happneing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Leo

    (@leohsiang)

    Hi there,

    Unfortunately we can only help with theme (GP) related questions in the free support forum here.

    For your question, I would recommend trying the following route:
    – Open a support topic with the WordPress support team.
    – Comment on the page you found and see if they can help with a solution.
    – Use a WordPress general forum like this: https://wordpress.stackexchange.com/

    Thanks for your understanding 🙂

    Thread Starter Karis

    (@askel45)

    Solved it. Just needed to add one line of code.

    Leo

    (@leohsiang)

    Glad to hear 🙂

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

The topic ‘Code affecting comments’ is closed to new replies.