Title: prev/next button problems
Last modified: August 21, 2016

---

# prev/next button problems

 *  [camilo.perez](https://wordpress.org/support/users/camiloperez/)
 * (@camiloperez)
 * [12 years ago](https://wordpress.org/support/topic/prevnext-button-problems/)
 * Hi, I have a problem, i’m using your plug in in my web site, but i have a big
   problem with the prev/next buttons, I used the slide rigth and it works, when
   I put the prev/next buttons i do in this way:
    in the header.php in a `<script
   >` i put
 *     ```
       jQuery('.total-slider').cycle({
       	speed:          1000,
       	timeout:        11000,
       	prev:       jQuery('#total-slider-previous'),
       	next:       jQuery('#total-slider-next')
       });
       ```
   
 * and also
 *     ```
       jQuery('.ts-default').cycle({
       	speed:          1000,
       	timeout:        11000,
       	prev:       jQuery('#total-slider-previous'),
       	next:       jQuery('#total-slider-next')
       });
       ```
   
 * the last one class is the slide class, after this, i create in my index.php inside
   the div called
 *     ```
       <div id="slideHome">
           <div id="total-slider-previous" class="arrow-previous"></div>
           <div id="total-slider-next" class="arrow-next"></div>
       ```
   
 * after this the page load the slide, i tried to use
 *     ```
       <?php if ( $s->is_runtime() ) : ?>
               <div id="total-slider-previous" class="arrow-previous"></div>
       	<div id="total-slider-next" class="arrow-next"></div>
       <?php endif; ?>
       ```
   
 * but i had a `Fatal error: Call to a member function is_runtime() on a non-object
   in`
    I don’t know that i need to do, help please thanks!
 * [https://wordpress.org/plugins/total-slider/](https://wordpress.org/plugins/total-slider/)

The topic ‘prev/next button problems’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/total-slider_aac3cc.svg)
 * [Total Slider](https://wordpress.org/plugins/total-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/total-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/total-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/total-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/total-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/total-slider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [camilo.perez](https://wordpress.org/support/users/camiloperez/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/prevnext-button-problems/)
 * Status: not resolved