This topic has 3 replies, 2 voices, and was last updated 11 years ago by formesante.
Viewing 4 posts - 1 through 4 (of 4 total)
[portfolio columns=”4″ cat=”anti-age,anti-rides,cremes-visage,exfoliant,serums,soin-du-buste,soin-du-corps” title=”false” limit=”16″ pagination=”false” sidebar=”false” sortable=”true”]
Fatal error: Cannot redeclare protoenqueue_scripts() (previously declared in /wp-content/themes/concept/framework/shortcode/portfolio.php:76) in /wp-content/themes/concept/framework/shortcode/portfolio.php on line 73
This does not help:
Fatal error: Cannot redeclare protoenqueue_scripts() (previously declared in /Users/alex/Sites/biosmosecom.dev/public/wp-content/themes/concept/framework/shortcode/portfolio.php:76) in /Users/alex/Sites/biosmosecom.dev/public/wp-content/themes/concept/framework/shortcode/portfolio.php on line 73
I fixed that problem doing so:
//function protoenqueue_scripts()
//{
wp_enqueue_script('atp-Modernizr', THEME_JS .'/Modernizr.js', 'jquery','','in_footer');
//}
//add_action( 'wp_footer','protoenqueue_scripts');
However now I see this after refreshing a page with portfolio shortcode (in attach).
seems line 82 causes the problem:
wp_print_scripts('atp-isotope');
when I comment it out, portfolio starts to work
I find it very pity that so many problems were introduced in just one part of the template.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.