easily specifying the posts divider image?
-
You know how some themes have a divider image at the bottom of each post? (for an example, see Connections at https://playwith.wpthemes.info/index.php?wptheme=Connections)
I want to be able to have multiple divider images and control which one is used for each post.I tried using a rotate PHP script and that works to rotate the images, but I was thinking I would like ot control which image shows up by maybe adding a special tag at the bottom of each post – something like:
<?php img_divider(“chocolate”); ?>
and that gets replaced by some HTML that shows the chocolate image.I was thinking it could be done autonatically based on the category of the post but then I wasn’t sure how to handle the case where a post is in multiple categories.
Has this been done in a plugin already and if so, which one? If it hasn’t been done, can anyone point me in the right direction to making this work?
Thanks!
Brian
https://candyaddict.com
https://myvogonpoetry.com
- The topic ‘easily specifying the posts divider image?’ is closed to new replies.