• Resolved waynmeyer

    (@waynmeyer)


    Hi @dcooney

    The author archive page shortcode has broken my site, its not showing all posts from all authors. however if you are admin, then on your admin author profile page it will show only your posts. But for another author on another page, this wont work, it will show all posts from all authors. I deactivated all plugins and tried a fresh install. Still wont work. Where can i download version 2.1.3 as this was the most stable version for me and i had it working perfectly. Please im desperate for the older version urgently. You also might want to check your website http://connekthq.com/plugins/

    Kind regards

    https://wordpress.org/plugins/ajax-load-more/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter waynmeyer

    (@waynmeyer)

    Found the fix, incase anyone else has this issue:

    <?php
    $author = get_the_author_meta('ID', get_query_var('author'));
    echo do_shortcode('[ajax_load_more author="'.$author.'" post_type="post, promotion" repeater="default" posts_per_page="2" transition="fade" button_label="Older Posts"]');
    ?>

    What we needed in the standard template is this line
    get_query_var('author')

    Thanx for a great plugin, love it

    Plugin Author Darren Cooney

    (@dcooney)

    Thanks for the heads up about the plugins page. Something happened with the page cache.

    I will also look into your fix here… Not sure how I didn’t catch this while testing.
    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author shortcode archive pages NOT working’ is closed to new replies.