Forum Replies Created
-
AuthorPosts
-
June 28, 2016 at 10:16 am in reply to: Theme Conflict (Venedor) Breaking “Add Another Rule” Button #1133039
Nadim
ParticipantVictory!
…tentatively. So far, nothing has broken. I’ll post what I did here just in case it might help someone with similar problems, or lead to a better solution. In the child theme’s functions.php, I pasted this:
add_action( 'init' , 'fix_calendar' , 15 ); function fix_calendar() { remove_action('admin_enqueue_scripts', 'venedor_admin_scripts'); add_action('admin_enqueue_scripts', 'venedor_admin_scripts', 100); }It seems that Venedor was loading a script too early, breaking certain functionality in the Event edit interface. The above snippet removes the initial action on line 871 of Venedor’s (the original theme, not the child theme) functions.php. It then adds it again, with priority 100, to ensure it’s the last thing to load.
This seems to enable the dropdown for recurrence rules to work correctly.
June 28, 2016 at 5:22 am in reply to: Theme Conflict (Venedor) Breaking “Add Another Rule” Button #1132812Nadim
ParticipantUnfortunately the snippet posted above had no effect on the menu (it would ideally go in functions.php, is that correct?). Would that I were more savvy with WordPress development and could identify where the hiccup is starting!
I’m afraid I also don’t have access to support for Venedor at the moment – it seems the license for it has expired. I may have to consult with the rest of the team and decide whether we need to purchase a “renewal” on support service for what would likely just be this one issue.
In the mean time, are there perhaps any other likely suspects that might be causing jQuery to malfunction?
For what it’s worth, the console tells me that jQuery Migrate is active on that page, and perusing the HTML elements shows me that the dropdown I want to see is embedded in a <script> tag but with a CSS rule of “display:none;” applied by the User Agent Stylesheet. When I override that by styling the element directly, it displays the HTML markup as code rather than formatting it correctly (e.g., it actually shows every “<div>” and “<input>” tag as plaintext).
June 27, 2016 at 5:54 am in reply to: Theme Conflict (Venedor) Breaking “Add Another Rule” Button #1132236Nadim
ParticipantGood morning Nico,
I’m afraid the plugin is still not functioning correctly. I have ruled out the child theme’s being the culprit, as the main parent theme by itself still causes the same issue. It is also probably not anything to do with the tickets plugin; after deactivating WooCommerce Tickets there was no change, nor was there after installing and activating Event Tickets Plus instead (though the latter was probably good to do as a matter of housekeeping).
Unfortunately I can’t provide an answer as to whether it worked prior to 4.2, since I only just installed Recurring Events on Friday – it’s brand new on the site.
As of now, it still holds true that the only way I’ve gotten the Recurrence Rules menu to function is by switching to Twenty Sixteen, independently of any plugins’ activation/deactivation. This leads me to think it’s very likely that Venedor itself is causing the issue.
-
AuthorPosts
