• Resolved Booloo314

    (@booloo314)


    Hi,

    On the free version there’s a box named ‘about the author’ at the end of each post, how to remove it ?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there Booloo314,

    How are you doing today?

    If there are no options for that in your theme settings you should definitely be able to do that with some custom CSS.

    Please post link to one of your single post pages where I can see it and I’ll be happy to help with some code ??

    Cheers,
    Bojan

    Hi Booloo314,

    thanks for using MH Newsdesk lite.

    You could delete the author bio which you’ve added in your user profile, that will disable the author box.

    As an alternative, the premium version of MH Newsdesk offers, among other additional features, options and custom widgtes, also an option to disable the author box on posts.

    Hello Bojan –

    What is the piece of code that you need for CSS to hide the author? Deleting the author doesn’t really help. Thanks

    Hi gordonovan,

    you don’t need to delete the author of course, but the author bio which you can edit in your WordPress dashboard under “Users => Your Profile”.

    tgd

    (@terrydaisydesignsca)

    The easiest way to remove the author box is to create a child theme (which you should do anyway, if you need to further customize any theme), then copy the single.php file over to your child theme folder and on line 9, comment out get_template_part('template', 'authorbox'); Add two slashes ahead of the the function call like this: //get_template_part('template', 'authorbox');. Voila, no more author box. of course, you could also just delete that line, and if you want to return to having the author box, simply delete single.php from your child theme, unless you made other changes to the file. Hope this helps.

    @tgd: MH Newsdesk lite has a conditional for the author box based on if there is an author bio or not. So actually the easiest way is to simply delete the author bio through the WordPress dashboard (as mentioned before) because it’s not needed anyway when there is no author box.

    There is no coding at all required for this when using MH Newsdesk lite and doing it this way even allows to show the author box on a per user basis. If there is an author bio, the author box will be displayed and if not, then the author box won’t be displayed out of the box.

    The only instance where coding would be required is when someone wants to remove the author box in general and don’t let users make this decision – for example for multi-author sites where the admin wants to get rid of the author box on a global scale.

    However, on the other hand, when having a multi-author site, it probably would make sense to give the authors some attribution for their work by showing their stuff. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to remove 'about the author' box ?’ is closed to new replies.