slideshow with different pictures on each page
-
Hello, I do not speak English, but I have a problem with nivoslider. I put the slideshow in the page.php file and I want that for every page that I create, it inserts images from a specific folder.
example:
https://127.0.0.1:8080/wordpress/contacts/<div class="slider-wrapper theme-default"> <div id="slider" class="nivoSlider"> <a href="#" title="This is an example of a caption"> <!--img src="<?php echo get_template_directory_uri() . '/images/images-homepage/images-01.jpg'; ?>" alt="" /--> <?php echo "<img src=".get_template_directory_uri()."/images/images-".$name_page."/image-01.jpg\" alt=\"immagine\" />\n"; echo "<img src=".get_template_directory_uri()."/images/images-".$name_page."/image-02.jpg\" alt=\"immagine\" />\n"; ?> </a> </div> </div>
- The topic ‘slideshow with different pictures on each page’ is closed to new replies.