• I’m using front-end editor & Role scoper. When I’m logged in & press on the edit link it takes me back to to dashboard. What have I done wrong?

Viewing 8 replies - 1 through 8 (of 8 total)
  • There can be multiple Edit links on the page. Front-end Editor shows one on the left of the content, which moves along with your cursor.

    Thread Starter legalmax

    (@legalmax)

    The link I’m talking about is the single underlined blue link that appears at bottom of page when using experimental link facility. I’m using this because not using it means that the html version is shown & my users would be so confused.

    Thread Starter legalmax

    (@legalmax)

    Forget html thing – was thinking of something else. Have now reverted to Enable the WYSIWYG editor – only. Slider edit button now appears in Firefox, IE & Chrome – if you’re patient! BUT edit link still appears & if clicked goes to dashboard. If the link is supposed to be there & do that can I remove it? I can tell users NOT to click it but we all would;-)

    Yes, you can either hide it through CSS or remove the edit_post_link() call from the theme file.

    Thread Starter legalmax

    (@legalmax)

    Give me a clue. I’m using Twentyten. Where do I find CSS or the edit_post_link() call in the theme file? Ta.

    Look in wp-content/themes/twentyten/loop-page.php around line
    around line 30
    change this:-
    edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”edit-link”>’, ‘</span>’ );
    to this:-
    //edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”edit-link”>’, ‘</span>’ );

    and in wp-content/themes/twentyten/loop-page.php
    around line 56
    change this:-
    edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”edit-link”>’, ‘</span>’ );
    to this
    //edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”edit-link”>’, ‘</span>’ );

    and in wp-content/themes/twentyten/loop.php
    around line 100
    change this:-
    edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”meta-sep”>|</span> <span class=”edit-link”>’, ‘</span>’ );
    to this:-
    //edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”meta-sep”>|</span> <span class=”edit-link”>’, ‘</span>’ );

    No! Don’t edit the Twenty Ten theme. Instead create a child theme for your changes.

    Thread Starter legalmax

    (@legalmax)

    Many thanks davidosullivan. The 2dn loop-page is loop-single. esmi I can never get child themes to work for me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘front-end editor takes me to dashboard’ is closed to new replies.