• 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://ww.wp.xz.cn/plugins/my-shortcodes/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Cramer

    (@desertsnowman)

    Sorry for the late reply, not they should be working here. I’ll do some testing. thanks.

    different issue on the conditional statment..

    i have a dropdown slug named last with value yes & no, and it’s returning me the opposite result on the html side..

    Plugin Author David Cramer

    (@desertsnowman)

    I’m needing to push an update soon. I’ll be sure to include a fix for this problem.

    michaelphill

    (@michaelphill)

    Any update on a fix for the conditional statements?

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

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