Home Forums Backend Issues (wp-admin) Help for newbie – input test data on backoffice Reply To: Help for newbie – input test data on backoffice

  • Hi @jmffsilva

    If you’ve created some custom fields and set the location to for example “posts”:

    1. Go to an existing post or create a new one
    2. Find the new custom fields (probably below the wyswyg editor)
    3. Input whatever data you want in there
    4. In your theme.. open up single.php (this is the template file WordPress uses for single posts)
    5. Output the data.. if it’s a regular input field like a text, textarea, number, url etc. you can simply do <?php the_field('field_name'); ?>. Make sure to change field_name to the actual fieldname of the field you want to output.

    For more advanced examples and to read up on more I recommend you check out the documentation where you can read and find code snippets for each individual field: