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

Category Icons (paid add-on) JS error #52

Open
wpchannel opened this issue Jan 18, 2018 · 3 comments
Open

Category Icons (paid add-on) JS error #52

wpchannel opened this issue Jan 18, 2018 · 3 comments

Comments

@wpchannel
Copy link

I can't upload an image, here is the console log error:

TypeError: wp.media is undefined term.php 270:25

Hope it helps

@ttbakiatwoam
Copy link

I am having this same issue.

@ttbakiatwoam
Copy link

based on what I have been reading the plugin doesn't initialize in the plugin allowing it to use the JS.

// WordPress library
wp_enqueue_media();

@ttbakiatwoam
Copy link

Adding wp_enqueue_media();
to class-wpadverts-ci.php after line 120 wp_enqueue_style('wpadverts-ci');
worked for me.

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

2 participants