Reply To: Find Code or Path for the Slider Picture


Where or how do you find the path to the picture(s) in the slider?

It’s all on the file slider.php

First the code checks if the chosen post has a featured image using the conditional has_post_thumbnail()

If the post does have a featured image then we proceed to get that image’s path using wp_get_attachment_image_src()

I noticed in the example that there is a path/code to the picture in the ‘Text’ tab above the Post text.

What example? Do you mean the picture on the Slider tab of Frontier Options page? That’s not an example. It is the fallback image that will be used if a post does not have a featured image.

Why do you need to get the path of the slider images?