my code

Snippet options

Download: Download snippet as rh-advanced-custom-fields.txt.

<!-- start smc floorplan code-->

$buttonlink_smc = get_field('floorplan_smc');
$buttonname_smc = get_field('floorplan_name');


<h2><?php the_field('listing_sub_title'); ?></h2>
<?php echo do_shortcode('[button id="button-fix" link="' . $buttonlink_smc . '" color="silver" newwindow="yes"] ' . $buttonname_smc . '[/button]'); ?>

<?php } else { ?>   

<?php }; ?>

<!-- end smc floorplan code-->

Create a free my code account now.


Find out more and register now
