Home Forums General Issues Field value is not displaying


Field value is not displaying

  • I’ve created a custom field with the name price_point. It is a simple text field. I’m trying to integrate it into my theme. In the past, the following code has always worked.

    <h3>Buy Now For <strong>$<?php the_field('price_point'); ?></strong></h3>

    Now, it’s not displaying the value for price_point. I’m not sure what I’ve done wrong here.

    As a side note, I’m using values from other fields I’ve created in other parts of my theme and they are working great.

    Any help would be great. I’m using the latest version of WordPress and the latest version of ACF.

  • There is nothing wrong with this code.
    Have you checked for possible misspelling of the field’s name on the back end?
    Are you using it inside a loop?

  • The problem was the default values were taking over the inputted values.

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

The topic ‘Field value is not displaying’ is closed to new replies.