This happened me recently as well with Empire. I submitted a ticket and it solved the issue.
I don’t like it either. It’s the right path but something is not OK with it. Plus I have to restyle half of my theme option CSS in ALL my themes.
ZoomIt: this option is already there..
Let’s see two examples to understand my problem better.
Example #1: User installs a new WP plugin, e.g.: Google maps shortcode, which outputs the div of the map and some scripts after that to start the map. When I call this page (where the google map shortcode is placed) the scripts won’t (always) work.
Example #2: User installs a ToolTip plugin. But this plugin won’t print any scripts after the shortcode, instead it prints its own script in the head and executes it when the document is ready, e.g.: $(‘a.icon’).toolTip(); This script also won’t work because first I need the content elements from the AJAX call, I can apply the function after that only. Of course if I put it into success callback, it works. But should the user put every new JS function into this callback function? How should I handle this well?
Extra info which may help: I use jQuery.load() function and I only get the #content div from the loaded pages, not the whole page.
Idea as possible solution #1 (not tested yet): get script tags from AJAX loaded content and eval() them?
So, Envato, here’s the list what the marketplace needs:
- Raise standards a little bit to filter those cloned and same looking themes
- Better homepage layout to showcase new items
- Better review/approval timing, max 30 items/week or let’s say 30 items/5 days (if there are so many quality items), so every author gets his/her 15 minutes of fame
An official response would be great from Envato about this. But NOT the copy-paste one, please. We need concrete things like “A new homepage is coming, expect it in January 3, 2014” OR “We don’t want to replace design, maybe 2 years later when the pipeline is clear”. At least we’d know what to expect.