WordPress.org

Ready to get started?Download WordPress

Forums

WP Coda Slider
[resolved] WP CODA Slider - Template tag stop working since the new update (3 posts)

  1. gogi
    Member
    Posted 2 years ago #

    Hi,

    I've been using WP coda slider and it's been working fine until the latest update. (0.3.4)
    Short code is still working fine though but template tag is struggling.

    For example, previously I used below template tag to get it to work,

    <?php if ( function_exists('c3m_wpcodaslider') ) {
                   c3m_wpcodaslider(
                   'myslider', '10', '3',
                   'autoSlide:true',
                   'autoSlideInterval: 9000',
                   'autoSlideStopWhenClicked: true'
                   );} ?>

    Now it looks like there is a new template tag as below,

    <?php if ( function_exists('c3m_slider') ) {  
    
    		               $args = array(
    						    'id'    => 'myslider',
    						    'cat'   => 10,
    						    'show'  => 1,
    						    'slider_args'   => array(
    						        'autoHeight'               => 'true',
    						        'autoSlide'                => 'true',
    						        'autoSlideInterval'        => '7000',
    						        'autoSlideStopWhenClicked' => 'true',
    						        'dynamicArrows'            => 'true'
    						    ),
    						);
    
    						c3m_slider( $args );} ?>

    Contents are showing but without the slider effect. Am I doing something wrong with the tag here?
    Please enlighten me if I am doing wrong here....

    I am currently using it in front of my website.

    Thanks,

    http://wordpress.org/extend/plugins/wp-coda-slider/

  2. Chris Olbekson
    Level 12 Bug Squasher & Forum Moderator
    Plugin Author

    Posted 2 years ago #

    Hi sorry for the late reply.

    In your code example you are showing show as 1 which will not invoke the slider. You need to pull more than 1 post in for it to work.

    Im going to mark this as resolved. If you still have issues please reopen this topic.

  3. kalzone
    Member
    Posted 1 year ago #

    Hey,

    I've also installed this plugin and have used the template tag with no success, here is the code i've been using:

    <?php if ( function_exists('c3m_slider') ) {
    $args = array(
    'id'=> 'myslider',
    'cat' => 5,
    'show' => 5,
    'slider_args' => array(
    'autoHeight' => 'true',
    'autoSlide' => 'true',
    'autoSlideInterval' => '7000',
    'autoSlideStopWhenClicked' => 'true',
    'dynamicArrows' => 'true'
    ),
    );
    c3m_slider( $args );
    } ?>

    I also have just the contents of the posts showing and it seems as the slider doesn't want to load.

    Do I need to fill out all the meta boxes for the page I want this to show up on?

    I figured i could just implement the code and define the cat id where i wanted the posts to come from - but the slider id is baffling me since I haven't created a slider to actually name with an ID.

    I just want to pull posts from a certain cat ID.

    Any help would be appreciated.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic