Hi,
You can disable Author box from Theme Panel > Post Settings: http://screencast.com/t/wb7isABV3 but it will be disabled for all articles.
You can hide it via css for specific posts using post ID: http://screencast.com/t/XomB4CiKXK0k
.postid-xx .author-box-wrap {
display: none;
}
You can check post ID like this: http://screencast.com/t/efodiPKCCnKW
Thanks!
Is there a way to hide the author box on specific categories? We have hundreds of posts, however, if we could block the author box within posts in a category such as “Fun” on our blog site, that would be helpful as well: http://powerofhumans.com/category/fun/
Thank you,
Adria
-
This reply was modified 10 years by
adria.
Hello adria,
If you want to hide the author box on posts from the specific category, it is necessary to alter the file core named td_module_single_base.php and add the function in_category, like this -> http://screencast.com/t/xs3gctdQVn If you have more than one category, you have to use array attribute to introduce all the categories, like this -> http://screencast.com/t/qY8kjBYlV
Hope this helps!
Thank you for the message!
Should this code still work with the most current version of Newspaper6?
When I try using it, it breaks the site.
Hello InstallationComplete,
I have tested this code of my side with the latest version of the theme and works as properly. Please ensure that you have correctly followed all the steps which are presented above. If you are not aware in this case, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thanks!