Switch Elements Without Altering Plugin Code
-
I’d like to be able to switch the order of the code. I’ve attempted to use jQuery, but it seems to ‘loop’ and repat throughout the loop of posts in the widget output.
This is what it currently is:
<li><a href="https://#"><img width="60" height="45" src="#" alt="#" /> <span class="rpwwt-post-title">blah blah blah</span></a> <div class="rpwwt-post-categories"> | <a href="#">News</a></div><div class="rpwwt-post-date">September 16, 2019</div> </li>
I want it to be this:
<li><a href="https://#"><img width="60" height="45" src="#" alt="#" /></a> <span class="rpwwt-post-title"><a href="https://#">blah blah blah</a></span><div class="rpwwt-post-date">September 16, 2019</div> <div class="rpwwt-post-categories"> | <a href="#">News</a></div> </li>
Any way for this to be done without modifying the plugin code?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Switch Elements Without Altering Plugin Code’ is closed to new replies.