I have wordpress installed in a subdirectory of my site. I have create a post and added images to it and the carousel works correctly in the preview page, which is the wordpress view.
I now want to include this page on the front Static page of my site.
I have added the folowing code
<?php
global $post;
$args = array( 'posts_per_page' => 3 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br />
<?php the_content() ?>
<?php endforeach; ?>
which shows the post correctly with the images shown on this front page, but when I click on an image the carousel does not display and I am directed back to the wordpress site.
Any ideas?