WordPress.org

Ready to get started?Download WordPress

Forums

Author of post not working with custom post type (4 posts)

  1. jobmeer
    Member
    Posted 3 years ago #

    Hi,

    I converted a view posts to a custom post type. These posts have a specific author. These authors are exposed in the theme by <?php the_author_posts_link(); ?> This works perfect. But when I look under users on the admin side, WordPress does refer any post to these authors. Which is strange because under edit posts the author is the author of the post. This error gives me problems on the author theme template. I can't make a query to show only the post from a specific author. Does anyone have a solution for this strange problem?

  2. Jamil Jonna
    Member
    Posted 3 years ago #

    I have this same problem. If I find the solution, I be sure to post it here. It is very annoying. I'm using co-authors plus and it is supposed to work with custom post types but I realize now that there must be a problem with the way I'm registering my custom post type.

  3. Jamil Jonna
    Member
    Posted 3 years ago #

  4. jobmeer
    Member
    Posted 3 years ago #

    @Jamil Can you explain how you did it? I tried the solution from the link but it is still not working.

Topic Closed

This topic has been closed to new replies.

About this Topic