WordPress.org

Forums

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

  1. jsteinke17
    Member
    Posted 1 year 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. pfefferle
    Member
    Theme Author

    Posted 1 year 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 1 year 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 1 year ago #

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

  5. Omair.Mahmood
    Member
    Posted 1 year 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. pfefferle
    Member
    Theme Author

    Posted 1 year ago #

    You can hide the complete line by adding:

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

    thank you

  8. pfefferle
    Member
    Theme Author

    Posted 1 year ago #

    Your welcome :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.