• Resolved bevyme

    (@bevyme)


    Hi Greg, is it possible to show (to other user) all author ads?
    I tried using this code but its not working:
    <p>Other ads by <?php the_author_posts_link(); ?></p>
    And also this one:
    $current_user_posts = get_posts( $args );
    Can you give a hint please?

    https://ww.wp.xz.cn/plugins/wpadverts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    This won’t work because themes are using their own author.php template files so you would need to create or overwrite the existing template file.

    Thread Starter bevyme

    (@bevyme)

    Can i use a shortcode to retrive user ads like the one in the manage ads page but without the edit button?

    Plugin Author Greg Winiarski

    (@gwin)

    Right now the [adverts_list] does not support such user_id param, i will add it in next release, then it should be possible to browse ads posted by a single user.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘link to posts’ is closed to new replies.