Hide Certain Authors

Posted in: Newsmag
Post count: 48

Hi,
How can i hide the author box for certain authors underneath the post. OR how i can show the author box for certain authors? is there a code for that?

Post count: 23312

Hello m0re,

Please keep in mind that each post page displays the post author, underneath the post content. If you want to remove the author box for a certain post you should use a bit of CSS code to do that.

The code is here ->

.postid-217 .author-box-wrap{
display:none;
}

The result is here -> https://www.screencast.com/t/xl2sOy3A

Also, if you want to display all of your authors on a page, you should use the Block Author Box from Visual Composer.

If is not what you mean, please provide more details so I will be able to provide a more accurate response.

Thanks for your understanding!

Post count: 48

Thank you, but i was actually looking for hiding certain authors completely. I mean If I have 4 authors Author 1, Author 2, Author 3 and Author 4. I would be interested in displaying author box for only Author 1 and Author 4. It shouldn’t be on post basis but only on Author basis.

Post count: 23312

Hello m0re,

If you are referring to the pages or post pages? If you want to sort the authors on this block, you should check the Visual Composer like this -> https://www.screencast.com/t/9BIP5CDJ From where do you want to remove the authors? Please give me an example on your website so I can identify it the section and also, so I will be able to provide a more accurate response/code. Sorry for this, please provide more details about this.

Thanks for your understanding!

Post count: 48

On my website, morenews.pk i just don’t want certain authors profile to appear underneath the posts (any post, all posts). Just want the author profile of selected authors to appear underneath the posts.

Post count: 23312

Hello m0re,

Unfortunately, our theme does not have any such an option that allows you to hide an author by Id, sorry! Notice that the theme show up the author of the post on each post page and if you do not want to display any author you should change it to another one or you should delete it from panel, like this -> https://www.screencast.com/t/0uwG1Lib0zF -> https://www.screencast.com/t/QuzjZbjd

Thanks for your understanding!

Post count: 48

Hi,
I think there was a confusion. The following screenshot shows that the author box for some author is not required.

http://prnt.sc/emuu7e

I only want the author box underneath the posts for some authors. But i want to hide this box for some authors. Please let me know if i am clear?

Post count: 22421

Hello,
The post author box does not have this type of settings so it has to be made by hard-coding it. Here is an example of how to do it: https://forum.tagdiv.com/topic/disable-one-specific-author-box/
Thank you!

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