- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
jh0nnyrosa
MemberWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Hi, first of all i have to thank you for this awsome theme, i’ve been using it for about a year now and i just love it. Now my question, the “fitvids” script in the theme conflicts with the “audiotube” plugin (i use it to show audio only youtube videos) so i can’t have just the audio bar on vids, i’ve talked with the plugin author and he told me to dequeue the fitvids scripts on pages that have the audiotube shortcode, using a funcion like that on theme functions.php
// Correct Audio Tube
add_action( ‘wp_enqueue_scripts’, ‘audiotube_deregister_scripts’ );function audiotube_deregister_scripts()
{
if ( has_shortcode( $content, ‘audiotube’ ))
{
wp_dequeue_script(‘fitvids’);
}
}But it not works, i guess what is wrong, im not a coder so its hard to figure out how to do this, i’ve put this code on line 72 of the functions.php.
I’ll be glad if u guys can help me, btw my blog is http://cafecomdesenho.com, and the post where i use the shortcode is http://cafecomdesenho.com/2012/12/compositores-do-cinema-howard-shore/Thanks already
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236Daniel Tara
KeymasterNotice: Undefined offset: 0 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 532Fatal error: Uncaught Error: Call to a member function id() on array in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', 'if( is_singular...') #3 /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('if( is_singular...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(213): CrayonHighlighter->output(true in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36