• Resolved rubyt

    (@rubyt)


    Hi,

    Thank you for this plugin, it works fantastically.

    My issue is that I’d like to display different sets of comments in tabs. So, Tab 1 displays one set of comments and Tab 2 displays another set.

    Perhaps one way to do this is to display comments from a different post? I’m not sure.. Would be grateful if you could help me out.

    Appreciate the support.

    Cheers,
    Ruby

    https://wordpress.org/plugins/custom-content-shortcode/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hello,

    As you described, I think you can create a post for each set of comments. Then each tab can display comments from each post.

    For example, tab #1:

    [loop type=post name=tab-1]
      [comments]
        ..
      [/comments]
    [/loop]

    Tab #2:

    [loop type=post name=tab-2]
      [comments]
        ..
      [/comments]
    [/loop]
    Thread Starter rubyt

    (@rubyt)

    Thank you, Eliot.

    Your suggestion works but I find that it breaks my tabs’ code. Would you mind taking a look at my site? Basically, whenever I use the code below to display my comments, my tabs are broken but if I just use [comment template] my tabs work fine.

    Below code breaks my tabs:

    [comments count=3 id=this]
      [comment] by [comment author] on [comment date]
    [/comments]

    Appreciate your support.

    Cheers,
    Ruby

    Thread Starter rubyt

    (@rubyt)

    Hi Eliot,

    I found a way to make it work with the code below:

    [loop type=post name=tab-2]
    [comment template]
    [/loop]

    Cheers,
    Ruby

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display different sets of comments on same post’ is closed to new replies.