Quantcast
Channel: WordPress.org Forums » [Jetpack - WP Security, Backup, Speed, & Growth] Support
Viewing all articles
Browse latest Browse all 37010

raydar32 on "[Plugin: Jetpack by WordPress.com] Jetpack carousel not working on static page"

$
0
0

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?

http://wordpress.org/plugins/jetpack/


Viewing all articles
Browse latest Browse all 37010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>