Support

Account

Home Forums Front-end Issues the_field working only one time Reply To: the_field working only one time

  • I do not see a main WP loop for the current post “The Loop” https://developer.wordpress.org/themes/basics/the-loop/

    You are doing sub queries based on these fields, what type of fields are they?

    On top of this I do not understand what the queries are doing or why they are being done.

    Additionally, you do not have any calls to setup_postdata() or wp_reset_postdata() so your sub queries are interfering with the main WP query and this would explain why you’re not getting values when you think you should be.

    When exactly are you trying to use these fields for and what is this template file trying to accomplish?