<?php
I'm currently working local with "Wamp Server". I have, however put
Hey, it's me again, sorry for the quadruple post, but I can't find an
Parse error: syntax error, unexpected T_ECHO in /home/slice/public_html/wp-content/themes/yoko/index.php on line 8
Any suggestions?
Thanks :)
Hi Emonzaemon Souda,Camera works only if you use it on the loop, that means on a page, a post, a custom post (with the shortcode or the meta box), otherwise it doesn't load the scripts it needs.If you want to use it outside the loop, you must add this code to the head tag of your theme (usually in the file called header.php):
<?php
global $plugindir;wp_enqueue_style('camera-css-front', $plugindir.'css/camera_front.css', false, '1.0', 'all');wp_enqueue_style('camera-css-colorbox', $plugindir.'css/colorBox'.camera_get_option('camera_colorbox_skin').'/colorbox.css', false, '1.0', 'all');
wp_enqueue_script('jquery-pix');
wp_enqueue_script('swfobject');
wp_enqueue_script('jquery-hoverIntent');
wp_enqueue_script('jquery-easing');
if(camera_get_option('camera_colorbox')=='true') {
wp_enqueue_script('camera-colorbox');}if(camera_detectMobile() &&
camera_get_option('camera_jquerymobile')=='true') {
wp_enqueue_script('camera-jquery-mobile');
}wp_enqueue_script('camera-slide');
wp_enqueue_script('camera-init');
?>
Manuel :-)--
Manuel Masia – Pixedelic
via Brescia, 15
47841 - Cattolica (RN)
p. iva 03718310406
Greetings all,
This slider is great! It does everything I could ever wish a slider
could do. However, I am having difficulty having it appear on my home
page.
I am using the Ovid theme. Like other themes, you can designate a page
to be the home page. So a page called "Home" (seen here:
http://wp.irthsolutions.com/home/ ) proudly displays the slider using
the shortcode [camera slideshow="my-first-slideshow"]
But when you go to the index page (which is getting its content from
Home), the slider is gone: http://wp.irthsolutions.com/
Ovid theme: http://themes.themegoods.com/ovid_wp/
I'm baffled on why this is happening. Any ideas?
Hello everybody !
When i try to use the slideshow, i put it in a post and when i look my website i get this message :
Warning: Invalid argument supplied for foreach() in /home/u656285792/public_html/wp-content/plugins/camera-slideshow/lib/camera_functions.php on line 475
Someone know what to do ???
When i try to use the slideshow, i put it in a post and when i look my website i get this message :
Warning: Invalid argument supplied for foreach() in /home/u656285792/public_html/wp-content/plugins/camera-slideshow/lib/camera_functions.php on line 475
Someone know what to do please ???