WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove bookmark the permalink (18 posts)

  1. Rachel1891x
    Member
    Posted 1 year ago #

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

  2. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    Please post a link substituting the word dot for the .

  3. Rachel1891x
    Member
    Posted 1 year ago #

    Hi, ah I can't post a link as it is quite a secretive site at the minute aha ;)..I think it's a common problem alot of people have being experiencing..don't understand why it's even there! Looks quite unattractive for site visitors.

    It is on the same line as posted by admin at the bottom of every blog post in the twenty eleven theme

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the Twenty Eleven theme. First create a child theme for your changes or use a custom CSS plugin.

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    Note: It's really difficult to debug hypothetical issues.

    Have you tried deactivating plugins to explore whether any could be responsible?

  6. Rachel1891x
    Member
    Posted 1 year ago #

    The problem is I have already made a great deal of edits in my editor so don't really want to un-edit as the website is looking really good..but yeah i might do that from now for future edits.

    Andrew - the problem is not a problem as such as it is the default of the theme to have that line after all post entries in 2011..it's been there from when I first installed.

  7. Rachel1891x
    Member
    Posted 1 year ago #

    I just want to remove it so the page looks cleaner or more tidy as it serves no purpose to the visitor to click on that link

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    the problem is I have already made a great deal of edits in my editor

    Sorry but there's nothing we can do about that. You need to move all of those changes over to a child theme and re-upload an unedited version of the original. Or create a new standalone theme.

  9. Rachel1891x
    Member
    Posted 1 year ago #

    Ok that's fine I will create a child theme but in terms of the 'bookmark the permalink' problem..it's not as a result of my edits as it is the default of this theme to have that appear after every posts along with 'posted by admin'

    I'd just like to know if there's any way of removing that or what html code I need to type into my template .php pages to remove it.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    Once your new child, or standalone, theme is in place, we should be able to point you towards the relevant custom template files that you will need to create and/or edit.

  11. Rachel1891x
    Member
    Posted 1 year ago #

    Ok I'll do that then. do you know how to align the tagline so that it is inline with the site title by any chance? Again it is the default of the theme to have the tagline slightly to the left of the title..it is the only other problem i can't seem to resolve ha

  12. esmi
    Forum Moderator
    Posted 1 year ago #

    You will probably need to start customising the theme's CSS - again via a child theme or a custom CSS plugin.

  13. Rachel1891x
    Member
    Posted 1 year ago #

    Ah ok. The theme should have been created with these things already in place and ready for edit, would have made things so much easier. Also why there is a no 'restore default' button/option in the appearance editior for all the templates is beyond me..there really should be one incase someone forgets to backup the default htmp before edit

  14. esmi
    Forum Moderator
    Posted 1 year ago #

    The theme should have been created with these things already in place and ready for edit,

    It was. It's called CSS. ;-)

    why there is a no 'restore default' button/option in the appearance editior for all the templates is beyond me

    Because you shouldn't be editing the main theme in the first place. also no theme files are versioned via the database. That's simply never been part of WordPress to date. You need to keep your own backups.

  15. Rachel1891x
    Member
    Posted 1 year ago #

    Oh sorry I didn't realise the reason you shouldn't edit the main theme is because changes will be lost once it's updated. Ok so I've created my child theme via my ipage hosting account..from here do you know what Htmp I need to edit to make the desired changes?

  16. Rachel1891x
    Member
    Posted 1 year ago #

    'html'

  17. esmi
    Forum Moderator
    Posted 1 year ago #

    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>.

  18. Rachel1891x
    Member
    Posted 1 year ago #

    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]

Topic Closed

This topic has been closed to new replies.

About this Topic