WordPress.org

Forums

SemPress
[resolved] How to remove Posted by? (8 posts)

  1. jsteinke17
    Member
    Posted 3 years ago #

    On individual posts it currently says "Posted on <date> by <author>"

    I'd like to have this be the date only, so "Posted on <date>"

    Thanks,
    Jeff

  2. Matthias Pfefferle
    Member
    Theme Author

    Posted 3 years ago #

    Hey Jeff,

    there is no settings for that, so you have to do it by hand. The easiest way is to do it by css:

    address.byline {
      display: none;
    }

    or you create a child theme and add your own sempress_posted_on() function.

    I hope this helps,
    Matthias

  3. jsteinke17
    Member
    Posted 3 years ago #

    Thanks Matthias - I'd found the way to remove the entire line altogether but hadn't seen just the author, so I could keep the date. Thanks!

  4. Omair.Mahmood
    Member
    Posted 2 years ago #

    Hey please tell me how to do it, step by step

  5. Omair.Mahmood
    Member
    Posted 2 years ago #

    hey, I went to editor, style.css and pasted the link at the end, and it is done. thank you so much.

    now is there any way to remove the date of the post?

  6. Matthias Pfefferle
    Member
    Theme Author

    Posted 2 years ago #

    You can hide the complete line by adding:

    .entry-header .entry-meta {
      display: none;
    }
  7. Omair.Mahmood
    Member
    Posted 2 years ago #

    thank you

  8. Matthias Pfefferle
    Member
    Theme Author

    Posted 2 years ago #

    Your welcome :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.