• I would like to program the same first comment on every article.

    For instance, I would like this “Fastned” comment (see link below) to appear below every article…

    Does anybody have an idea how to do this? Thank you!

    LINK

Viewing 1 replies (of 1 total)
  • WordPress database stores comments in a way that ONE comment can be assigned to ONE post ID.

    So for a comment to be assigned to another post, it needs to exist again, I mean we cannot just use ONE comment entry in database for many posts in current schema.

    Maybe you need to do some hacking in your single.php template of your theme.. e.g. something like this;

    Assuming we have a comment id 1 in wp_comments table in database.
    We can have template do :
    1. Show the current post
    2. Fetch comment_ID=1 from db and show that comment here
    3. Show current post’s comments

Viewing 1 replies (of 1 total)
  • The topic ‘Same first comment on every article’ is closed to new replies.