Add If else to shortcodes?
-
in any case when we want to check rather there is a featured image, plugin should set an other logic with shortcodes. so
[frp_thumbnail if ='yes'] <a class="image" href="[frp_link]">[frp_thumbnail size="thumbnail"] </a> [frp_thumbnail else] no image [frp_thumbnail end]
I dont want to overwrite in the plugin itself so it would be nice to have this kind of logic structure.
- The topic ‘Add If else to shortcodes?’ is closed to new replies.