• Hi,

    I am using wordpress post tabs and inside one of the tabs I am trying to pull all comments related to the post. The code that I am using is :

    ‘<?php
    do_shortcode(“[tab name=’Editor Review’]<h3>”.get_the_title().”</h3><div>”.get_the_content().”</div><div class=’editorreviewtable>[myrpeditors]</div>[/tab]”);

    do_shortcode(“[tab name=’Comments’]”.wp_list_comments().”[/tab]”);
    echo do_shortcode(“[end_tabset]”);
    ?>’

    I have tried all sorts of options instead of ‘.wp_list_comments()’ including ‘get.wp_list_comments()’ , ‘.comments_template()’ and ‘get.comments_template()’

    How do I pull in the comments inside shortcode like in the above?

    thanks,
    declan

  • The topic ‘Problems pulling comments’ is closed to new replies.