Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( have_rows('ts_pricing', 'options') ):
- $currencies = get_field('ts_pricing', 'options');
- if(in_array( 'AUD', $currencies )): ?>
- <?php echo 'success cad'; ?>
- <!--
- <div class="tabs-panel is-active" id="pricing-photo">
- test
- <img src="<?php //echo get_sub_field('photo_pricing'); ?>" />
- </div>
- <div class="tabs-panel" id="pricing-video">
- <img src="<?php //echo get_sub_field('video_pricing'); ?>" class="tae"/>
- </div>
- -->
- <?php else:
- $defaul_pricing = get_field('p_default_pricing', 'options');
- echo 'fail cad';
- ?>
- <!--
- <div class="tabs-panel is-active" id="pricing-photo">
- else
- <img src="<?php //echo //$defaul_pricing['photo_pricing']; ?>" />
- </div>
- <div class="tabs-panel" id="pricing-video">
- <img src="<?php //echo $defaul_pricing['video_pricing']; ?>" />
- </div>
- -->
- <?php
- endif;
- var_dump($currencies);
- else :
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement