[Resolved] Adding the text "Posted " before date on blog posts (in widget)

Home Forums Support Adding the text "Posted " before date on blog posts (in widget)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1055729
    Timi

    Hello and thank you for a very easy to use wp theme!

    On the Classic design the text “Published” is not shown on blog posts but I used the add_filter-coding from another topic so solve it on the blog page (https://generatepress.com/forums/topic/meta-in-customizer/page/2/).

    But I can’t figure out how to display the text “Published” before the date (class=”post-date”) in the widget where you can show recent posts.

    Any suggestions?

    #1055796
    David
    Staff
    Customer Support

    Hi there,

    simplest way would be with some CSS like so:

    .widget_recent_entries ul li .post-date:before {
        content: 'Published:';
        margin-right: 5px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.