• 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 15 replies - 1 through 15 (of 25 total)
  • Thread Starter youngr

    (@youngr)

    Any help? Desperate here!

    [No bumping, thank you.]

    Which theme? with twenty ten it’s built in to:

    <?php twentyten_posted_in(); ?>

    you can remove it and replace it with :

    <?php the_category();?>

    if you still want to show the category without the bookmark link.

    Thread Starter youngr

    (@youngr)

    Thanks for the reply. Sorry its for twenty eleven, any help?

    What editor file would that be in?

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

    Single.php.
    Don’t confuse “posted_in” with “posted _on” which is at the top, “posted_in” is at the bottom.
    Before you edit, copy all the code and save it in a text file as backup.

    better to do as esmi advises. In addition, without a child theme, you’ll have to remember what you edited and do it again when twentyten/eleven is updated.

    Thread Starter youngr

    (@youngr)

    Thank you for your help guys. I guess I’ve got myself in a pickle. I have edited some files when I first started and now do not remember what I did edit.

    Regarding the child theme, I edit the stylesheet.css. Is that correct?

    Thank you

    Yes, you need to save what you change, and save the whole file, not just what you edited. It’s too easy to mess up that way. After you update your theme, the changes you made will be over written, so you have to replace those files.
    As for your pickle, just replace the entire template file with the default code, start over.

    Thread Starter youngr

    (@youngr)

    So my blog will loose a lot of its features? I dont even remember some of the things I changed.

    Can I just copy all the files into the child theme?

    Also I tried to remove the link for “bookmark the permalink” and it caused an error for my blog. Any other way?

    Sorry for the late reply

    I’m only suggesting that if your project is beyond your ability to repair, you may want to start over. If you don’t remember what you changed it’s unlikely I can help much, I’d have to know all about what you’re trying to do.

    If you post your page code in https://pastebin.com/ maybe I can help salvage what you have and fix the error. I’ll get to it as soon as I can:)

    Thread Starter youngr

    (@youngr)

    Thank you very much for your support, I’m really inexperienced.

    I don’t have an error, its just now I fear I will loose all my edits when twentyeleven updates.

    I will post my single-post content so maybe you can see where I need to make the change?

    Heres the link for pastebin https://pastebin.com/ia2xaTin

    If you want to remove bookmark the permalink from the bottom of single posts in twenty eleven:
    Find content-single.php. Copy and save all of it’s code then replace with this

    It should remove “bookmark the permalink” from the bottom of all single posts.

    The theme is more complex than what I’m used to, it’s got 3 files which appear to handle single posts, but I only found the bookmark code in content-single.php.

    if you look at the default code you’ll see it and know what I removed. I’m not sure what else you may have changed in single.php, and I don’t know if it will effect my change, I doubt it.
    Good luck:)

    Thread Starter youngr

    (@youngr)

    Thanks for dedicating time to my problem. It caused the link to be broken for all single posts. I think something’s wrong ??

    P.s. do you know any way to get a border for my sidebar? also edit the width of the sidebar so that my text fills out the space?

    I know im asking a lot and please dont feel obliged to answer.

    Thanks again deepbevel

    I’m sorry, but if I can’t do something as simple as remove bookmark the permalink, then twenty eleven is beyond me. (3 different files for post single?) I wouldn’t even think of trying to dig into it’s css. Perhaps someone who knows the theme better than I..

    Start by uploading a fresh copy of the Twenty Eleven theme to wp-content/themes using FTP. You can then download a pre-made Twenty Eleven child theme from here.

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