SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast MartyBoi's Avatar
    Join Date
    Dec 2011
    Location
    Saginaw MI
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Advice Needed ! How To Use Plugin's With A Custom Page Template

    Hi !

    I have a question in respect to using a WordPress Plugin within a Custom Template Page. You see, I would Like to add a Carousel within my Custom Template Page, but I am not sure if I can use a Carousel Plugin.

    I guess what I am asking is this, how can I get a Plugin to work within the following code?

    Here is my HTML Code at this time:

    Code:
    <?php
    	/*
    	Template Name: Home Template
    	*/
     ?>
    
    <?php get_header(); ?>
    
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			
    		<article id="content">
            
            	<h2>Welcome</h2>
                
                
    		</article>
    		
    		
    	<?php endwhile; endif; ?>    
    
    <?php get_footer(); ?>
    Also, since we are on the subject, does anyone by chance know of a great WordPress Plugin that is god for a Image Carousel?

    Thank you.

  2. #2
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Perundurai, Tamilnadu, India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You use this wordpress plugin for image carousel, it might be helpful.

    http://wordpress.org/extend/plugins/wp-carousel/

    you can use <?php wp_carousel(0); ?> in your custom template code, in this code zero points to first carousel that you going to create in this plugin


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •