Support » Plugin: WP Coda Slider » [Plugin: WP Coda Slider] WP CODA Slider – Template tag stop working since the new update

  • Resolved gogi

    (@gogi)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chris Olbekson

    (@c3mdigital)

    Level 12 Bug Squasher & Forum Moderator

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Coda Slider] WP CODA Slider – Template tag stop working since the new update’ is closed to new replies.