Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Trisha Cupra

    (@trishacupra)

    And if there isn’t a way to easily get around this without editing (or patching) core files, is there a way to work around it by creating a link that will allow me to directly edit that specific post (instead of just a link to the Dashboard) that I can use instead of edit_post_link? I’m hoping for it to be dynamic – I know I can do it manually.

    <?php edit_post_link(); ?> will work for subdirectory installation also.

    May I know the URL – where it is not working?

    Thread Starter Trisha Cupra

    (@trishacupra)

    Hi GJames

    It’s very strange – it didn’t work when I was logged in as Admin, but now I’m logged in as an Editor it does appear.

    The url is a test site at http://ecodepot.trishacupra.com/

    kimflournoy

    (@kimflournoy)

    I think this is just an issue with your browser cookie — log out and log in again, and the problem should resolve itself.

    Thread Starter Trisha Cupra

    (@trishacupra)

    Wow. You’re right. It is just a matter of logging in and out after editing the theme to include an ‘edit post’ link, and then the Edit link appears.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘edit_post_link doesn’t work with WordPress installed in subdirectory’ is closed to new replies.