The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Remove "Posted by Admin" only. (6 posts)

  1. fast4u
    Posted 3 years ago #

    Is there a way to just remove the whole posted by: admin. when i use the css code. it only removes the name. i want posted by: admin removed. all together. but the categories and date to be there.

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Try these selectors;

    .post footer


  3. bradthomas127
    Theme Author

    Posted 3 years ago #

    @fast4u - You would need to make a child theme and copy over the whole leaf_entry_meta() function into the function.php file of the child theme and do your edits to it. You can find the function here on GitHub between line:120 - 156 and the part you will need to edit is between line:141 - 147.

  4. sethkastner
    Posted 3 years ago #

    Alternatively you could add

    .posted-by {
    display: none;

    to you custom css. Leaves a spare "//" but works well enough for me.

  5. tizz
    Posted 3 years ago #

    Nothing wrong with the display none solution, but generally (expecially for the theme), it's better avoid it in favour of code removing directly (in a child theme) to prevent code from being unnecessarily loaded

  6. tizz
    Posted 3 years ago #

    In addition, edit that function allows you to remove that spare //.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic