Support

Account

Home Forums Front-end Issues Values showing before titles on front end

Solved

Values showing before titles on front end

  • Hi everyone, hope you are all doing well.
    I think I am doing something wrong LOL

    Here is my code

    <?php if( get_field('exterior_dimensions:') ) { ?>
    	<?php echo get_field('exterior_dimensions:') . ' Exterior Dimensions ("Hx"Wx"D):' ; ?>
    <?php } ?>
    <?php if( get_field('weight:') ) { ?>
    	<?php echo get_field('weight:') . ' Weight (Lbs):' ; ?>
    <?php } ?>
    <?php if( get_field('burglar_rating:') ) { ?>
    	<?php echo get_field('burglar_rating:') . ' Burglar Rating:' ; ?>
    <?php } ?>
    <?php if( get_field('fire_rating:') ) { ?>
    	<?php echo get_field('fire_rating:') . ' Fire Rating:' ; ?>
    <?php } ?>
    <?php if( get_field('gun_capacity:') ) { ?>
    	<?php echo get_field('gun_capacity:') . ' Gun Capacity:' ; ?>
    <?php } ?>

    It shows up just peachy on the front end, but the values that are input, show in front of the name of the field

    This is a test product
    http://casoro2.dev.haveabyte.com/shop/burglary-fire-safes/burglary-fire-safe-amsec-am3020/

    Was just wondering if someone knew how to reverse them 🙂

    Thank you kindly

  • Got it figured out 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Values showing before titles on front end’ is closed to new replies.