Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dokan-admin.js is not loaded on settings page so Select "Store Header Template" not working #242

Closed
iamdharmesh opened this issue Apr 26, 2018 · 0 comments

Comments

@iamdharmesh
Copy link
Contributor

iamdharmesh commented Apr 26, 2018

After update to version 2.8.0 dokan-admin.js is not loaded on settings page so Select "Store Header Template" not working

Please put this
// Load common styles and scripts
wp_enqueue_style( 'dokan-admin-css' );
wp_enqueue_script( 'dokan-tooltip' );
wp_enqueue_script( 'dokan-admin' );

Before or outside of
// load vue app inside the parent menu only
if ( 'toplevel_page_dokan' == $hook ) {

This will fix the issue.

pasted image at 2018_04_26 12_28 pm

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant