• turbosaurus

    (@turbosaurus)


    I’m using the underscore theme, and have really only been playing with css and html. I’ve built a cover for each post and want to display the tags and the date posted without the text “Posted on” and “Tags”. I haven’t found the text in any of the html yet and not really sure where it is coming from. Any suggestions?
    Thanks!

    https://cl.ly/image/32380v0O1809

Viewing 2 replies - 1 through 2 (of 2 total)
  • Matt

    (@mzak)

    To remove “Posted on “, you’ll need to edit template-tags.php (line 134) as follows:

    Original:
    <span class="posted-on">Posted on %1$s</span>

    Change to:
    <span class="posted-on">%1$s</span>

    To remove “Tags” I think you’ll need to edit content.php (line 52) as follows:

    Original:
    <?php printf( __( 'Tagged %1$s', 'underscores-test' ), $tags_list ); ?>

    Change to:
    <?php printf( __( '%1$s', 'underscores-test' ), $tags_list ); ?>

    Thread Starter turbosaurus

    (@turbosaurus)

    Boom, thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing "posted on" in the date and "posted in" in the tags text.’ is closed to new replies.