ThemeShaper Forums » Thematic

[closed]

remove "By Author | " text in meta on every post

(4 posts)
  • Started 5 years ago by B.B.
  • Latest reply from lqunta
  • This topic is resolved
  1. B.B.
    Member

    I need to remove the text "By" and the post author's name and the separator line " | " for every post on a blog I am setting up. Is there a simple way to do this? I saw this issue addressed elsewhere on the forum, and they mentioned "thematic/library/extensions/hooks-filters.php" but I don't seem to have that document.

    Posted 5 years ago #
  2. amygail
    Member

    B.B

    There are a ton of posts on this topic.
    The quick and easy way is via css

    http://forums.themeshaper.com/topic/how-to-remove-posted-in-uncategorized-comments-closed

    If you want to investigate other methods try a search (in this forum) for something like "remove meta"

    Posted 5 years ago #
  3. B.B.
    Member

    (Hi amygail, thanks for your help.)

    With the link above, I was able to remove the Author Name and separator, but was still left with the word "By" in the post meta. After a little more investigation, I found that the word "By" in the post meta was labeled ".meta-prep-author" in the content-extensions.php file. So here is what finally worked for me -- just use the code below in the "style.css" of your child theme under the section called "/* =Content" ...this will remove the " By Author Name | " text but leave the " Published: Date " text:

    .entry-meta .meta-prep-author {
    display:none;
    }
    .entry-meta .author {
    display:none;
    }
    .entry-meta .meta-sep {
    display:none;
    }

    That's it!

    Posted 5 years ago #
  4. lqunta
    Member

    Greetings All,

    This post has been of great help.

    Cheers
    LQunta

    Posted 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.