Tag Info

Hot answers tagged

1

As @aaron-holbrook commented a cleaner approach will be to do: <script> $(document).on('widget-updated widget-added', function(){ // your code to run }); </script> Just pasting here for reference as answers are much easier to find that comments


1

The hooks are fine for change the login style. I think is better idea to identifier, why is the load so much slow. I have a lot of change for different installs and no problems with this hooks. But I see also often a lot of loads of unused source. I change the login style with this class: ...


1

The primary reason we use enqueue scrips is because WordPress will properly manage all the requests. For example, if two different plugins are using a certain third party library, WordPress will make sure that the script is only loaded once. It will also do a good job of handeling multiple version of the same script. Lastly, you will also be able to ...



Only top voted, non community-wiki answers of a minimum length are eligible