I’m wanting to have a different template to use other than the widget.php, simply because I am using/making a responsive horizontal theme and I need little more flexibility.
I have already cloned the “widget.php” and named it “dashboard-widget.php”.
How can I make the featured image or image in the post, appear as the background of the list item? CSS & HTML is my thing, but not PHP…
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="background: url(GRAB_THE_URL) center center no-repeat;">
- The topic ‘Editing The Template’ is closed to new replies.