• Resolved Rachel1891x

    (@rachel1891x)


    Hi, Does anyone know how to remove the ‘Bookmark the permalink’ text that appears after every blog post?

Viewing 2 replies - 16 through 17 (of 17 total)
  • You need to start by copying content-single.php into your child theme. Then in this custom copy, navigate to:

    $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
    			if ( '' != $tag_list ) {
    				$utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    			} elseif ( '' != $categories_list ) {
    				$utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    			} else {
    				$utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
    			}

    and remove every reference to Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.

    Thread Starter Rachel1891x

    (@rachel1891x)

    Ah brilliant! That worked, thanks esmi!

    Just wished I had known about the need for creating a child theme when I first installed..does this mean that all my template changes previous to me creating the child theme will be lost once the theme is updated?..Or if I copy all my edited templates i.e footer.php ect into my child theme will that preserve my changes?

    [No bumping]

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Remove bookmark the permalink’ is closed to new replies.