Show Author box for certain authors only

Posted in: Newsmag
Post count: 6

Hi and thanks for the help

Is there a way to show the author box for only certain authors?

Say I have Mary as and author. But I also have post by Admin. I only want the author box for Mary to show up.

Thanks,
Steve

Post count: 6535

Hi

You can sort the authors after id: http://screencast.com/t/zGCcdhhf To get the author id check this link: http://screencast.com/t/lkeE1lLw3

Thanks!

Post count: 6

Hi, Thanks so much for the reply. That would work on pages, but I don’t see how to do that on posts. Those block elements don’t seem to be available when writing pots.

Steve

Post count: 6

I found how to turn on visual composer for posts. I was hoping to use the built-in author block. It shows the the bio blur, social icons and looks much better.

Is there another way?

Steve

Post count: 6535

Hi

The author box block from Visual Composer can be used on post like a widget in sidebar or footer area. Also you can use the shortcode to insert it in post content like here: http://screencast.com/t/yJZKlrt1f5
To get the shortcode create a blank page, add the author box and set it as you want, then switch in backend editor, copy this code: http://screencast.com/t/OPqNgAyGm and insert it in post.

Hope this will help!

Post count: 6

Thanks again for the reply.

I see how to do it that way. I however like the built-in author box better. It has the social media icons and just looks better.
http://screencast.com/t/gzp3gePWD

So I was hoping to find a way to only show certain authors using that method. Perhaps adding a filter to the function.php file

Thanks again,
Steve

Post count: 6535

Hi

You can customize the actual author box editing td_block_authors.php file and adding this code: http://pastebin.com/4DbvKd14 like here: http://screencast.com/t/Y8CM9lS0GVf6
This should display author socials and description in author box block.
Let me know how it goes!

Thanks!

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