Viewing 3 replies - 1 through 3 (of 3 total)
  • Give this a try:

    <?php $price = get_post_meta($post->ID, "NormalPrice", true);
    if ($price) { ?>
       <p class="specialoffernormalprice"><span>Normal Price:</span> <?php echo $price; ?></p>
    <?php } ?>
    Thread Starter Andrew Areoff

    (@aareoff)

    This works perfectly.

    Thank you for you kind help!

    A

    Glad it worked. Now, please use the dropdown at top right to mark this topic ‘Resolved’ so anyone researching a similar problem can see that there is a solution.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding plain text to a custom field’ is closed to new replies.