• I’m using the shortcode in my themes single.php template and only want the campaign to display when the post type status is published. Currently, even when the campaign is a draft the shortcode still displays the campaign. What would be the proper markup to show only if published? i.e. if ( $campaign['post_status'] == 'draft' )

    https://ww.wp.xz.cn/plugins/icegram/

Viewing 1 replies (of 1 total)
  • Plugin Author Icegram

    (@icegram)

    Hi askjayson,

    Thank you for reporting this issue.
    Yes, shortcode display campaign even it is in draft mode.
    We will fix this issue soon and include this fix in next release of Icegram.

    Can you please write us mail at “[email protected]” so that we will provide you a quick fix there.

    Hope this helps you.

    Thanks,
    Team Icegram

Viewing 1 replies (of 1 total)

The topic ‘Conditional Display’ is closed to new replies.