Title: if blocks
Last modified: August 24, 2016

---

# if blocks

 *  [zarmath](https://wordpress.org/support/users/zarmath/)
 * (@zarmath)
 * [11 years ago](https://wordpress.org/support/topic/if-blocks/)
 * I’ve got a field slider_1and I trie to show in a template but only if the field
   is not empty. something like this:
 *     ```
       [if slider_1]
       <li><img src="{@slider_1._src}" /></li>
       [/if]
       ```
   
 * but the result is:
 *     ```
       <li><img src="" /></li>
       ```
   
 * [https://wordpress.org/plugins/pods-frontier-auto-template/](https://wordpress.org/plugins/pods-frontier-auto-template/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * (@shelob9)
 * [11 years ago](https://wordpress.org/support/topic/if-blocks/#post-6100229)
 * This issue is related to Pods Frontier, which this is not the support forum for.
   Yes the names are confusing, I regret that mistake.
 * Please report this issue here: [https://github.com/pods-framework/pods-frontier](https://github.com/pods-framework/pods-frontier)

Viewing 1 replies (of 1 total)

The topic ‘if blocks’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pods-frontier-auto-template_3d4b1b.
   svg)
 * [Pods Frontier Auto Template](https://wordpress.org/plugins/pods-frontier-auto-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods-frontier-auto-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods-frontier-auto-template/)
 * [Active Topics](https://wordpress.org/support/plugin/pods-frontier-auto-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods-frontier-auto-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods-frontier-auto-template/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/if-blocks/#post-6100229)
 * Status: not a support question