• Resolved sailpilot

    (@sailpilot)


    Hi. This is probably covered somewhere but I can’t find it.

    I added a custom field to our form. It displays correctly on the user entry form.

    I would like this custom field to display above the post in our blog as some of the other fields (Post date, category, post author, etc) are. How do I add this field so that it displays?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. Currently the only plugin-provided way of changing the field order is to set up the custom form. You can find instructions here (under “Custom Submission Form”) that explain how to set it up. Then once you’re using the custom form, you can go in and change the order and any other details as needed.

    Thread Starter sailpilot

    (@sailpilot)

    I just figured it out. I added the following line to both the single.php and content.php in our child theme and it worked.

    <?php echo get_post_meta($post->ID, 'usp_myfield_field', true); ?>

    btw it wasn’t the order that was the issue. I just wasn’t sure how to get to the custom field to display it.

    Thanks.

    • This reply was modified 2 years, 8 months ago by sailpilot.
    Plugin Author Jeff Starr

    (@specialk)

    Yes that would be one of the non-plugin-provided ways of doing it. Another would be to reorder fields using a jQuery or JavaScript snippet. Either way, glad you got it sorted. Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom field’ is closed to new replies.