Jump to content
Sign in to follow this  
bencloson

How to add WP-carousel (plugin) in the content area?

Recommended Posts

bencloson

Hi, I'm using platformPro theme and I'm trying to integrate the WP-carousel (the plugin not the platformpro carousel) in a page. I use the wp-carousel rather than the carousel integrated because I need to display customized content. I'd like to integrate the carousel below the content area (not full width) so I've added the wp-carousel code +ID in the template.content.php. Like this :

</div>
	</div>
	<?php pagelines_register_hook( 'pagelines_content_after_sidebar1', 'maincontent' ); // Hook ?>
	<?php wp_carousel(0); ?>
	<?php endif;?>
	</div>	

but the carousel is not diplayed? Did I do something wrong or forget something? Thank you

Share this post


Link to post
Share on other sites
bencloson

Ok, I had inserted the code at the wrong place in the template.content.php. Like that it works :

	<?php pagelines_register_hook( 'pagelines_content_before_maincolumn', 'maincontent' ); // Hook ?>
			<div id="column-main" class="mcolumn fix">
				<div class="mcolumn-pad" >
					<?php pagelines_template_area('pagelines_main', 'main'); ?>
	                <?php wp_carousel(0); ?>
				</div>
			</div>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×