Posted on & Posted in Twentyeleven child functions (1 post)

  1. Pioneer Web Design
    Posted 3 years ago #

    I have this snippet in my functions.php (Twentyeleven child theme) which works well to:

    A Not reveal the author's UN in HTML.
    B) Correct the pubdate validation issue (at W3).

    function twentyeleven_posted_on() {
      printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', 'twentyeleven' ),
        esc_url( get_permalink() ),
        esc_attr( get_the_time() ),
        esc_attr( get_the_date( 'c' ) ),
        esc_html( get_the_date() )

    Above for the 'Posted on' post headers...

    Now I need to do the same for the footer links 'Posted in'...

    Anyone have a tested snippet for 'Posted in' (the issue is pupdate)??

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Pioneer Web Design
  • This topic is not resolved
  • WordPress version: 3.5.1