Hide empty custom fields or specify a default value for them

Hi all,

I am using the custom_fields_block shortcode in custompress and have about a dozen custom fields. Now depending on the post some or all of these fields (text fields) may have values.
Is there a way to have the shortcode only show the custom fields that had values entered?
Or baring that is there a way to set a default value for a field if it is blank?

Many thanks,
Dan

  • PC
    • WPMU DEV Initiate

    Hiya

    Greetings and thanks for being a great community member.

    We haven't heard from you on this one for long and I am doing a regular followup to see if there is still something we can assist you on this thread.

    Just to manage the support issues more efficiently, I am marking this thread as resolved for now however this is not being done to avoid your questions in any ways.

    Please feel free to mark this is "Not resolved" in case you have further questions and we would be back on it.

    Thanks a lot for being with WPMU DEV.

    Cheers
    PC
    Sales &Support

    Did you know we offer FREE lifetime memberships? Click here to learn more.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.