How to disable author name from Block?

Posted in: Newspaper
Post count: 34

Hello,

I would like to disable showing Author Name from all blocks but should display in post view. How do I do this?

If it’s block specific, then please let me know about disabling in Block 3 and 13?

URL: geekflare.com

Post count: 22421

Hello scorpiock,

There is an option in the theme panel but it disables all author names. If you want to disable it selective, you need to use a custom CSS to do that. Add this code in the theme panel and it should do the trick.

.td_block_3 .td-post-author-name, .td_block_13 .td-post-author-name{
display:none;}

Thank you.

Post count: 34

Hello,

It hides but link is still there in source code. I am trying to reduce link count so need to get rid of author link from source code as well. How do i do this?

Post count: 22421

Hi,

In order to remove the author and not hide it, you need to edit the theme’s core files and remove it manually for each module (not block):
http://screencast.com/t/KBQyacySa4
Just comment out the ‘get author’ line of code and it should do the trick.
You can check this list in the theme pane to see exactly what block each module uses: http://screencast.com/t/yzAfhFyx18

Thank you!

Post count: 34

This is so manual and will override in next theme update. Would it be possible to turn off this feature through Theme Panel?

Post count: 22421

Hello scorpiock.

Unfortunately there is no other option. The option from the theme panel is a general option. It removes the author across the whole site. If you don’t want this you can either use the CSS or the file modification I’ve pointed out above.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.