WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
[resolved] Custom Fields returning strange data (3 posts)

  1. Justin Handley
    Member
    Posted 5 months ago #

    Hi There - I'm using your plugin and I have fields called retail_product_price and wholesale_product_price. I've checked the database, and they are correct there. However, when I do a print_custom_field the retail prints blank, and the wholesale prints the contents of both retail and wholesale. I can't figure out what is going on here!

    https://wordpress.org/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 5 months ago #

    Can you share your field definition (including any output filters)? And can you paste the code you are using in your template?

    What does the following produce?

    <?php print_custom_field('retail_product_price:raw'); ?>

  3. Justin Handley
    Member
    Posted 5 months ago #

    Hey - I apologize. I'm not sure what happened - if it is possible it was a strange caching issue, or if something else subtle changed, but this basically fixed itself a couple of hours after I posted this. I'm 99% sure I didn't do anything to make that happen.

    Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic