Forum Replies Created
-
AuthorPosts
-
The problem is with the The Events Calendar plugin. You can close this ticket. Thanks!
In addition to updating Enfold yesterday, I also updated the The Events Calendar. I now suspect that the source of the problem is with that plugin. Thank you!
Thank you! Everything is running perfectly now!
I don’t see those exact lines, but I see similar code beginning around line 420 of wp-content/themes/enfold/functions.php
//load mediaelement js $opt_mediaelement = isset( $options['disable_mediaelement'] ) ? $options['disable_mediaelement'] : ''; $condition = true; if( 'force_mediaelement' != $opt_mediaelement ) { $condition = ( $opt_mediaelement != "disable_mediaelement" ) && av_video_assets_required(); } /** * Allow to force loading of WP media element for 3rd party plugins. Nedded for wp_enqueue_media() to load properly. * * @since 4.1.2 * @param boolean $condition * @param array $options * @return boolean */ $condition = apply_filters( 'avf_enqueue_wp_mediaelement', $condition, $options ); $condition2 = ( version_compare( get_bloginfo( 'version' ), '4.9', '>=' ) ) && $condition; avia_enqueue_script_conditionally( $condition , 'wp-mediaelement'); avia_enqueue_style_conditionally( $condition2 , 'wp-mediaelement'); //With WP 4.9 we need to load the stylesheet seperately
Are there edits I make to this code block to allow mediaelement.js to load?
Hi… the support for Series Engine says…
“I can verify the the core issue is that the theme isn’t enqueuing mediaelement.js like it’s supposed to. There’s gotta be a toggle in there somewhere to turn that back on, which will fix everything.”
Does Enfold block mediaelement.js? Is there a way to turn it on with the Enfold settings?
Login credentials below. Thank you!
This reply has been marked as private.I fixed it! To turn off the sub-heading and the buttons overlaid on my slideshow (vertical mobile device only), I added this CSS:
@media only screen and (max-width: 480px) { div.avia-caption-content {display: none !important; } .avia-slideshow-button {display: none !important; } }
-
AuthorPosts