• First, thanks for creating such a simple and useful tool. I am trying to use conditional statements but they are being ignored. Here is an example. The img tag gets created with no image src even if I do not select a picture_url.

    <div class="guest-post-bio">
    <a name="author-bio"><h5>About the Author</h5></a>
    <hr>
    <div class="bio-content">
    	[if picture_url] <img src="{{picture_url}}" width="100" />[/if]
    	<div class="author-name">{{author_name}}</div>[if author_url] <div class="author-url">
    	<a href="{{author_url}}" target="_blank">{{author_url_text}}</a></div>[/if]
    	{{bio_text}}
    	</div>
    </div>

    Are conditional statements only for the premium version?

    https://wordpress.org/plugins/my-shortcodes/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Conditional statements not working…’ is closed to new replies.