• Hi

    I’d love to use Content Views to create a filterable list of each author’s posts on the author.php page.

    I was planning to use the Content Views shortcode on the author.php page using…
    <?php echo do_shortcode(“[insert-your-shortcode-here]”); ?>

    What I’m unsure is if its possible to get the relevant author name in some way. For example, would I be able to use something like…
    [pt_view id=”VIEW_ID” author=”GET_CURRENT”]

    Or if not, is there another way of doing it?

    Thanks so much for your advice on this

Viewing 1 replies (of 1 total)
  • Plugin Author Content Views

    (@pt-guy)

    Hello,
    For author page, you can use the “Replace Layout” feature in our Pro version.
    It helps you to show the posts of current author in our grid/list easily without any coding.

    In case you still want to use the shortcode [pt_view id=”VIEW_ID” author=”GET_CURRENT”], that shortcode is possible in our Pro version too, but requires extra code to get and set the author ID.

    For further support about Pro features, please contact us here.

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Using Content Views to create a list on the author.php page’ is closed to new replies.