dazzling theme flexslider with set image

hi, I would like to make the slider posts images that I chose rather than featured image

would this work?` */
function dazzling_featured_slider() {
if ( is_front_page() && of_get_option( ‘dazzling_slider_checkbox’ ) == 1 ) {
echo ‘<div class=“flexslider”>’;
echo ‘<ul class=“slides”>’;

<li>
<img width=“1920” height=“200” src="[url=https://www.readtrywrite.com/wp-content/uploads/2017/09/36788546120_8cee389e85_o.jpg”>

		&lt;div class="flex-caption"&gt;
			&lt;a href="https://www.readtrywrite.com/category/health/"&gt;
				&lt;h2 class="entry-title"&gt;Health&lt;/h2&gt;
				&lt;div class="excerpt"&gt;Healthy Posts&lt;/div&gt;
			&lt;/a&gt;
		&lt;/div&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;img width="1920" height="200" src="https://www.readtrywrite.com/wp-content/uploads/2017/09/36997069656_54a9a45f83_o.jpg"&gt;
		&lt;div class="flex-caption"&gt;
			&lt;a href="https://www.readtrywrite.com/category/book/"&gt;
				&lt;h2 class="entry-title"&gt;Read&lt;/h2&gt;
				&lt;div class="excerpt"&gt;Books Posts&lt;/div&gt;
			&lt;/a&gt;

</li> <li>
<img width=“1920” height=“200” src="[url=https://www.readtrywrite.com/wp-content/uploads/2017/09/37215874525_1a103eb6f7_o.jpg”>
<div class=“flex-caption”>
<a href=“https://www.readtrywrite.com/category/beauty//”>
<h2 class=“entry-title”>Beauty</h2>
<div class=“excerpt”>Beauty Posts</div>
</a>
</div>
</li>

	&lt;/ul&gt;

</div>
‘</div>’;

          endwhile;
        endif;

}
}
endif;

Just want to make sure before i put it in my child theme. thanks

Hey there,

I hope you are well today and thank you for your question.

Modification of these files to alter design is beyond the scope of support provided.
I suggest you back your website up before making any modifications, you can use a plugin such as the All in on migration

The code does look good. Let us know if it works, as it may be helpful to those in the forum who would like a similar solution.

Best regards,
Support.

thank you

no it didn’t work
a little sad

Hey there,

I hope you are well today and thank you for your question.

Unfortunately, this is considered an advanced customization request and is beyond the scope of support provided.
This will require modification of these files, as it changes the design of the theme.

If you are not a developer then you can consider customizations offered by Envato,
https://colorlib.com/out/envatostudio

Best regards,
Support.