If the author has only 1 article .Can we removed the "More From Author" Section

Posted in: Newspaper
Post count: 148

If the author has only 1 article .Can we removed the “More From Author” Section

Please refer the evidence.

Post count: 7909

Hi,

You can add a condition for the More from author section so only if the author has more than one articles to appear – http://screencast.com/t/y0r5uCIuxl Please check as reference – https://codex.wordpress.org/Function_Reference/get_the_author_posts

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.