PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Unable to view custom fields in my blog.

  1. Hi,

    I purchased gravity forms today by seeing a video on creating form easy and effective.

    I building a website using wordpress where any employer can post the job or a walkin on my site.

    Earlier to this I was using TDO Mini Form plugin, it is tough but I was able to create a form for job posting. when published all the custom fields content is viewable.

    But here I am to create a job posting form very easily apart form Title and body no other fileds are displayed.

    I required you help in solving the above problem.

    Thanks and best regards

    Imran Shariff

    Posted 13 years ago on Monday May 24, 2010 | Permalink
  2. You have to modify your post template to display your custom fields. The title and post body show up because they are post defaults.

    If you had a custom field named "Image", then you'll need to add something similar to this to your post template file to display it.

    <!-- \\ define variable -->
    <?php $image = get_post_meta($post->ID, 'Image', true); ?>
    <!-- \\ display the value of the custom field -->
    <img src="<?php echo $image; ?>" alt="" />

    You can find more information on displaying custom fields here.

    http://codex.wordpress.org/Custom_Fields

    Posted 13 years ago on Monday May 24, 2010 | Permalink