WordPress.org

Forums

ACF Single Relationship Add New
[resolved] wrong link to add post item (3 posts)

  1. scottnath
    Member
    Posted 2 years ago #

    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 example.com/blog/wp-admin. On other sites I have example.com/wordpress/wp-admin. The link your system uses for the "Add New" button doesn't take into account these other setup types.

    thanks!
    Scott

    http://wordpress.org/extend/plugins/acf-single-relationship-add-new/

  2. scottnath
    Member
    Posted 2 years ago #

    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:
    https://github.com/scottnath/acf-single-relationship-add-new

    thanks,
    Scott

  3. fancyfiber
    Member
    Plugin Author

    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ACF Single Relationship Add New
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic