WordPress.org

Ready to get started?Download WordPress

Forums

Decode
[resolved] Can I remove "Posted on" and "by" using custom CSS (5 posts)

  1. marcinhinz
    Member
    Posted 4 months ago #

    I'd like to have "date - Author" under my post title. How can I do it? Is there a chance to do it using Custom CSS field?

  2. Scott Smith
    Member
    Theme Author

    Posted 4 months ago #

    The best way would be to make a child theme, then overwrite the decode_posted_on function in the functions.php file.

    There isn't a way I can think of to alter the content of the page with CSS since the "Posted on" text isn't wrapped up in a tag by itself. (Same with the "by" text)

  3. marcinhinz
    Member
    Posted 4 months ago #

    hmmmm I don't have any "posted_on" text in functions.php file.

    http://ironfactory.pl/

  4. Scott Smith
    Member
    Theme Author

    Posted 4 months ago #

    Sorry, in the inc/template-tags.php file

  5. marcinhinz
    Member
    Posted 4 months ago #

    Lovely. Thank You!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.