Support » Plugin: Posts Table with Search & Sort » Show in templates

  • Resolved samjco

    (@samjco)


    Does this work for adding to template?

    <?php
    echo do_shortcode('[posts_data_table]');
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Edge – Barn2 Support

    (@barn2support)

    Hello, @samjco.

    Thanks for asking.

    By default, this version lacks that feature, but if you have a look at the sample template provided for the Pro version at https://barn2.co.uk/kb/post-tables-archive-pages/ , you can use it as a starting point for displaying the posts table in your template files. This may require some advanced developer experience, so I hope you’re up for the challenge. 😉

    Please also note that since this version only supports posts (and not other post types), it will only work on the template files for the blog and not for any other post types that use the same template.

    I hope this makes sense and helps. I’ll mark this as resolved for now.

    Best regards,
    Edge

    Thread Starter samjco

    (@samjco)

    Thanks for that explanation.
    But the code above works just fine 🙂

    • This reply was modified 2 years, 1 month ago by samjco.
    Plugin Support Edge – Barn2 Support

    (@barn2support)

    Thanks for your reply, @samjco.

    Awesome then! I’m glad to know it does.

    Be sure to also check out the Posts Table Pro version and its added features.

    Have a great weekend!
    Edge

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show in templates’ is closed to new replies.