• Resolved youngr

    (@youngr)


    Hi, I need help removing “bookmark the permalink” from all posts as I think it is unnatractive. Ive tried looking in some files but when I try remove anything it shows an error.

    Can anyone direct me in the right direction?

    I’m using twentyeleven theme.

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter youngr

    (@youngr)

    Thanks for your help guys.

    I just have to keep the “bookmark this permalink” lol

    professorpeanuts

    (@professorpeanuts)

    Hi youngr and others. First post here.
    Actually I registered because i finally saw a chance to help someone out after having consulted this forum multiple times for myself.

    The solution to your problem youngr, should be this. Deepbevel almost had it right… he deleted more of the code then he should have deleted. also, commenting is better I’d say. This way you can still ‘revive’ that piece of code.

    I hope This thread can be marked as ‘resolved’ now. Does it work? It works with me.

    // i have taken out the bookmark this permalink text by commenting out the bookmarking part on line 37. Line 35 and 39 commented out so server doesn’t load stuff needlessly //

    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' );
    			}

    https://pastebin.com/z1X0efZ8 That is a link to pastebin with the same code. Compare your code to mine to see the difference.

    deepbevel

    (@deepbevel)

    yeah, no closing brackets on mine.. opps. probably should have left the twentyeleven too. Nice to have a solution, and welcome!

    Thread Starter youngr

    (@youngr)

    Mate, your an absolute legend!!

    Thank you all (deepbevel, esmi and professorpeanuts) for your help! Really appreciate it.

    Professor thank you again! Got my face like this: ??

    P.S. What would the code be to hide the author?? Sorry ?? lol

    deepbevel

    (@deepbevel)

    Just delete everything. that’s my stock answer now. (haha)

    but actually, if I were you I might try applying the same “commenting out” method to the author code:

    <!-- This entry was posted by <a href="%6$s">%5$s</a>. -->
    Thread Starter youngr

    (@youngr)

    Lol, I’m content with how it is. Thanks for all your help guys x

    professorpeanuts

    (@professorpeanuts)

    Glad I could help someone! Good luck in life.

    I’m having the same problem in Origami, blogrolls hundreds of them in the sidebar ??

    That sounds like a differnt problem.
    Do you mean widgets in the sidebar? or you literally have hundreds of blogroll links?

    @divineanddecadent: As per the Forum Welcome, please post your own topic. Your problem – despite any similarity in symptoms – is likely to be completely different.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘How to remove "Bookmark the permalink" from every post’ is closed to new replies.