Skip to main content
added 11 characters in body
Source Link

Nevermind, I fixed it by changing query by author_name instead of ID Works!

$the_query = new WP_Query(
array( 
    'posts_per_page' => -1,
    'author''author_name' => get_the_author_meta('ID''nickname'),
)
);

We can close this question!

Nevermind, I fixed it by changing query by author_name instead of ID Works!

$the_query = new WP_Query(
array( 
    'posts_per_page' => -1,
    'author' => get_the_author_meta('ID'),
)
);

We can close this question!

Nevermind, I fixed it by changing query by author_name instead of ID Works!

$the_query = new WP_Query(
array( 
    'posts_per_page' => -1,
    'author_name' => get_the_author_meta('nickname'),
)
);

We can close this question!

Source Link

Nevermind, I fixed it by changing query by author_name instead of ID Works!

$the_query = new WP_Query(
array( 
    'posts_per_page' => -1,
    'author' => get_the_author_meta('ID'),
)
);

We can close this question!