Show author per post

Posted in: Newspaper
Post count: 161

Is it possible to create a custom function to show or hide author info per page? Maybe by adding post meta in the custom field of a post? I managed to do this for my ads, so i wonder if this is possible with an existing function like the author box.

Post count: 780

Hello,

it should be possible sure.

you can try adding this for example: http://screencast.com/t/yDjWkruxtZMo

the custom post field is td_show_author and when you set it to show it will show the author box.


if (get_post_meta($this->post->ID, 'td_show_author') == 'show') {
    $buffy .= $this->get_author_box();
}
Post count: 161

Hi Radu,

I will take a look and test the provided code! Thanks!

Could you please take a look at this thread? Both my problem and the problem of the person who started that thread is still not resolved!

Post count: 161

Hi Radu,

I’ve added the code as you mentioned, but it does not return author info. My theme settings are set to hide author info. Should this code override theme settings?

Post count: 161

Bump!

Post count: 3343

Hello,
Unfortunately we can’t find a good solution for that, sorry about that 😐 If you are not happy with the theme please contact us on email at contact@tagdiv.com we can give you the money back.

Thanks for understanding!

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