Home Forums Front-end Issues echo a conditional field into a page Reply To: echo a conditional field into a page

  • Hi!

    1. No, you dont have to add anything to functions.php

    2. you cannot use the_secondary_content() unless that’s a function you’ve created yourself..

    In order to output the value of the field you can use either:

    echo get_field('secondary_content');

    and this should work if you put it inside your loop as long as it’s a standard loop and not just a foreach or something.

    Are you certain that the “who we are” page uses page.php and not a custom template?