Remove The Author From Certain Posts
-
I want to remove or hide the “by author-name” on certain posts only
have found this code to add to single.php and archive.php<?php if ( has_tag(‘stories’) ) {
echo ”;
} else {
echo ‘by ‘; the_author_posts_link();
}
?>
where posts with tag of stories
But I have no idea where to put it in the files
It says in the author area of the files but I have no idea where that is
Using Thematic with a child theme
Any assistance as allways gratefully appreciated
Albert
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove The Author From Certain Posts’ is closed to new replies.