victor-valencia / bootstrap-iconpicker

A simple icon picker
https://victor-valencia.github.com/bootstrap-iconpicker/
MIT License
377 stars 140 forks source link

Not able to integrate it with WordPress #70

Closed ruturajpatki closed 6 years ago

ruturajpatki commented 6 years ago

Hi,

I tried to integrate it with WordPress. The Iconpicker works good in plain HTML file, but opens empty Popup with no icons in WordPress. There is no problem whatsoever with the jQuery integration or conflict as such. But it seems the icons from "bootstrap-iconpicker-iconset-all.js" into popup.

Has someone integrated it with WordPress or any other Framework? What can be the problem? To me, it looks like something needs to be changed in the way the icon-set arrays are maintained; but I'm not jQuery master; please guide me to resolve this issue.

Thanks!

Ruturaaj.

ruturajpatki commented 6 years ago

Here is the screen video of my issue: http://recordit.co/zReIhVtPpe

As you can see, the pop-up is shown correctly; but no icons are loaded. All the CSS and JS files are loaded correctly. The WordPress installation is on my LocalHost, so I cannot share the link with you here; however, I hope the screen-cast will help you understand the issue that I'm talking about.

ruturajpatki commented 6 years ago

Issue resolved. I combined CSS and js with shrinker and referenced to those. Its working good now.