Hello all,
I'm creating a custom wordpress theme for my project and I need to create absolutely simple slider but don't know how to do it.
I have the following HTML code created:
<ul class="slides">
<li>
<img src="<?php print IMAGES; ?>/slider.png" alt="Slide1">
<h2>Heading</h2>
<p>
Description
</p>
</li>
<li>
<img src="<?php print IMAGES; ?>/slider.png" alt="Slide2">
<h2>Heading</h2>
<p>
Description
</p>
</li>
<li>
<img src="<?php print IMAGES; ?>/slider.png" alt="Slide3">
<h2>Heading</h2>
<p>
Description
</p>
</li>
</ul>
I don't need any administration for slider, it should only display for example 5 newest posts. Background image should be featured image.
Any idea how to do this?
Thank you all for help!