Hi,
I would like to know how can we stop displaying a specific user (for example, Admin) when listing ou displaying posts?
My blog has many posts from Admin and I do not want to display the admin name or link.
I would like to see the admin posts without mentioning the author everywhere in the site.
Thank you,
Choose a layout that don’t show that like what i done… check my site http://jahliveradio.com
Here i found a plugin that should do what u need…
http://wordpress.org/plugins/show-hide-author/
not sure what this one do but you can try this other plugin and see if it work for you as well
Hi,
Add this code to the loop-single.php file like this: http://screencast.com/t/ELXmZQpHSQ
<?php
$author_cx = get_the_author();
if ($author_cx != 'admin'){
echo $td_mod_single->get_author_box();
}
?>
Thank you
Hi Lucian, thank you.
I did it for the loop-single.php and worked like this:
if ( 1 !== get_the_author_meta( ‘ID’ ) ) {
echo $td_mod_single->get_author_box();
}
Where should I add the same conditional to stop listing everywhere in the site like on archives.php, search.php etc?
Hi,
If you enabled the author on modules (by uncommenting the line) you have to apply the same condition on each module – http://screencast.com/t/qz9w3P2tzQ6w
Including module search – http://screencast.com/t/qhNYcStfq
Thank you, Emil G.
