Removing author box on admin posts

Posted in: Newsmag
Post count: 66

Hi guys,

Is it possible to hide the author box for admin posts? Doesn’t seem to be any sense to have an author box on things like event announcements or re-written press releases.

Thanks,

Serg

Post count: 7909

Hi,

You can try to add a condition in loop-single.php(or edit the post template that you use) like this: http://screencast.com/t/KLixIJTweRZ6

<?php
   if ($td_mod_single->post->post_author != 1) {
         echo $td_mod_single->get_author_box();
   }
?>

Thanks!

Post count: 66

Thanks Alin, I’ll give it a try.

Post count: 9544

What some folks do is create an account in place of admin
like “Staff Editor” …
and then put one sentence like

Stories crafted by our editorial team.

and then make the soclal links all the main site’s own social links.

You will see this commonly done on a lot of sites to replace “admin” posts.

(you should not even have an account called “admin” btw; hopefully you renamed your “superuser” to something else!)

Post count: 66

Nah, I don’t actually have an account called “admin,” that’s like password “1,2,3,4.”

I’ve thought about using that “Staff editor” sort of solution for admin posts … seems a little weasily, but lots of people do it, so I might go with that.

Thanks!

Post count: 9544

On one site we made up a sock puppet name in place of admin, for client. Not greatest solution either.

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