Support » Plugin: ACF Single Relationship Add New » wrong link to add post item

  • Resolved scottnath


    Hey there,

    Thanks for a great plugin. Found a bug:

    I have my WordPress-core files in a subfolder, so the actual link to my wordpress admin is On other sites I have The link your system uses for the “Add New” button doesn’t take into account these other setup types.


Viewing 2 replies - 1 through 2 (of 2 total)
  • scottnath


    I’ve done an adjustment to your code, adding a js variable so that the admin url is automatically found.

    I’ve put this into a GitHub repo here:


    Plugin Author fancyfiber


    Thanks for the code fix, and I’m sorry I didn’t see this support request, I didn’t receive an email about is I thought I should have.

    The code has been updated with your fix, with some slight modifications.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wrong link to add post item’ is closed to new replies.