Do I need to create a custom shortcode?
-
Hi,
Im hoping for some guidance. I am building a site and the owners of the site want to have a graphic for when something is working (an image of a green light) and then an image for when something is not working (an image of a red light).
I can easily upload both images and explain to them how to insert code for whichever image they need at the time, but it seems way to complicated.
So…Is there a way to create some sort of command (java script?) where there would be some sort of switch or command to change the image to the correct image?
Should I be creating a custom shortcode (no idea how to do this)?
am I overthinking this problem? is there an easy solution?
any guidance/advice would be Greatly appreciated.
Jeremy
- The topic ‘Do I need to create a custom shortcode?’ is closed to new replies.