catchresponsive_demo_slider

This function to display featured posts slider.

Description

catchresponsive_demo_slider( $options ); 

Parameters (1)

0. $options
The options.

Usage

  1. if ( !function_exists( 'catchresponsive_demo_slider' ) ) { 
  2. require_once '/inc/catchresponsive-featured-slider.php'; 
  3.  
  4. // The options. 
  5. $options = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = catchresponsive_demo_slider($options); 
  9.  

Defined (1)

The function is defined in the following location(s).

/inc/catchresponsive-featured-slider.php  
  1. function catchresponsive_demo_slider( $options ) { 
  2. $catchresponsive_demo_slider =' 
  3. <article class="post hentry slides demo-image displayblock"> 
  4. <figure class="slider-image"> 
  5. <a title="Slider Image 1" href="'. esc_url( home_url( '/' ) ) .'"> 
  6. <img src="'.get_template_directory_uri().'/images/gallery/slider1-1200x514.jpg" class="wp-post-image" alt="Slider Image 1" title="Slider Image 1"> 
  7. </a> 
  8. </figure> 
  9. <div class="entry-container"> 
  10. <header class="entry-header"> 
  11. <h1 class="entry-title"> 
  12. <a title="Slider Image 1" href="#"><span>Slider Image 1</span></a> 
  13. </h1> 
  14. </header> 
  15. <div class="entry-content"> 
  16. <p>Slider Image 1 Content</p> 
  17. </div> 
  18. </div> 
  19. </article><!-- .slides --> 
  20.  
  21. <article class="post hentry slides demo-image displaynone"> 
  22. <figure class="Slider Image 2"> 
  23. <a title="Slider Image 2" href="'. esc_url( home_url( '/' ) ) .'"> 
  24. <img src="'. get_template_directory_uri() . '/images/gallery/slider2-1200x514.jpg" class="wp-post-image" alt="Slider Image 2" title="Slider Image 2"> 
  25. </a> 
  26. </figure> 
  27. <div class="entry-container"> 
  28. <header class="entry-header"> 
  29. <h1 class="entry-title"> 
  30. <a title="Slider Image 2" href="#"><span>Slider Image 2</span></a> 
  31. </h1> 
  32. </header> 
  33. <div class="entry-content"> 
  34. <p>Slider Image 2 Content</p> 
  35. </div> 
  36. </div> 
  37. </article><!-- .slides --> '; 
  38. return $catchresponsive_demo_slider;