Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jackjxtoh

    (@jackjxtoh)

    Just to add,

    This does not work as well..

    https://vip.wordpress.com/documentation/list-posts-by-a-co-author/

    regards!

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    You can also use WP_Query‘s taxonomy query feature. Each author is stored in the database as a term of the author taxonomy, and bylines are managed in taxonomy term => post relationships.

    What doesn’t work about the documentation?

    Can you please provide an example?

    The following query does not work.

    $args[‘tax_query’] = array(
    array(
    ‘post_type’ => ‘post’,
    ‘taxonomy’ => ‘author’,
    ‘field’ => ‘slug’,
    ‘terms’ => $user_login,
    )
    );

    My data are in Greek. Could that be the cause?

    However, if I query for just the author name:

    $args[‘author_name’] = $user;

    The results appear correctly for only the first author.

    Any ideas?

    Thank you

    Thread Starter jackjxtoh

    (@jackjxtoh)

    Exactly,

    The query listed in the documentation does not work. In fact it wasn’t able to get any results at all. It would be fantastic if you can provide an example.

    Regards

    Hello, any news on this?

    @grmedsite – I’m also looking for an answer on this. I’ve run multiple WP_Query’s but can’t seem to retrieve Guest Authors.

    Hello, any news on this?

    This seems like a basic feature, to be expected from the plugin right out of the box. Its a disappointment that it is not supported.

    Maybe any bypass?

    Thank you for any feedback.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Get Posts of Author’ is closed to new replies.