Support » Plugin: IssueM » My IssueM articles are not counted as a post!

  • I’m using IssueM plugin for my magazine style website, so thousands of my articles are under IssueM issues. When I click on author’s name on archive pages, it says, “Sorry, no posts matched your criteria.” even though the author has many articles posted. That causes another problem to author’s bio page. There’s many authors related to IssueM articles, the author’s biography page doesn’t work, because it doesn’t count it as a post.

    This is a big problem to me. How can I make IssueM articles countable as a post? So I can click on author’s name to see all the related articles and also the author’s bio page too. Please advise.

    https://wordpress.org/plugins/issuem/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ZEEN101

    (@zeen101)

    Hey kmonitor,

    We just pushed out an update that should fix this for you (v2.3.0). Thanks for letting us know!

    Ok. That’s awesome! Should I delete the old one and re-download it? or just update it? I’m afraid if all my articles would be deleted…..

    I cannot see that this is fixed. When I click the author I get:
    Entries by XX
    Nothing Found
    Sorry, no posts matched your criteria

    Will this be fixed?

    Plugin Author ZEEN101

    (@zeen101)

    Your theme is probably only pulling posts for the author page. You’ll need to modify your theme to pull articles as well. Something like this in your theme’s functions.php or a php file in the wp-content/mu-plugins directory should help:

    function custom_post_author_archive( $query )
    {
        if ( $query->is_author ) {
            $query->set( 'post_type', array( 'post', 'article' ) );
        }
    }
    add_action( 'pre_get_posts', 'custom_post_author_archive' );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My IssueM articles are not counted as a post!’ is closed to new replies.