Double title tag

  • Author
    Posts
  • #30597
    Michael Oestreicher

    There are double title tags defined in nirvana/includes/themeloop.php line 404/405. So you havet to change

    function nirvana_thumbnail_link( $html, $post_id, $post_image_id ) {
         $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) .
    			'" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';
         return $html;
    }; // nirvana_thumbnail_link()

    to

    function nirvana_thumbnail_link( $html, $post_id, $post_image_id ) {
         $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';
         return $html;
    }; // nirvana_thumbnail_link()

    Thanks
    Michael

Viewing 1 post (of 1 total)

The topic ‘Double title tag’ is closed to new replies.