• Resolved Uhtred

    (@bambootb)


    Heya, thanks for the awesome plugin, however, I would like to know is there any possible way, to run this plugin on admin backend side too, please let me know, thanks ??

    Best and stay safe,
    T

    • This topic was modified 4 years, 9 months ago by Uhtred.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author cfuze

    (@cfuze)

    I would think so. I would just need to register the hook for admin. Let me take a look at it this weekend and if so, I will update the plugin.

    Edit: So I got looking into this and I found a hook where I can inject the tour code. The issue is admin pages are slightly convoluted with which name is being called. For instance, some plugins use admin.php to load, others edit.php all with a URL variable to differentiate the plugin being called. I will have to work on this a bit, so it will probably be several days before an update, but I think we can make this work.

    Thank you for your patience!

    • This reply was modified 4 years, 9 months ago by cfuze. Reason: Additional information discovered
    Thread Starter Uhtred

    (@bambootb)

    Thank you so much for the prompt response, I will looking forward to the next update.

    Stay safe ??
    T

    Plugin Author cfuze

    (@cfuze)

    I just got the code functioning. I will be doing a new release in the next day or so. It is wonky because of how the WordPress admin is and I can’t guarantee it will work with every plugin out there, but if they adhere to decent naming conventions, it should recognize their page names and display the tour.

    Plugin Author cfuze

    (@cfuze)

    The build went through. Were you able to update the plugin? I hope the admin page is working for you.

    Hi, I just installed the plugin and did not see any way to run it in the backend. Is that really possible? Thank you very much for the great plugin! ??

    Plugin Author cfuze

    (@cfuze)

    Yes it is completely possible as the script loads in the admin side as well now. All you need to do is specify the id of the element you want the tour to show on it will appear. In order to start the tour though, you will need to include in your custom plugin or in the plugin you want the tour for, functions.php and add a call to: wpIntroJs_StartTour() That will kick off the tour. Of course, you can add a button to make that call as well. Hope this helps!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Run intro JS via Admin backend’ is closed to new replies.