Support

Account

Home Forums General Issues $queried_object breaks search results Reply To: $queried_object breaks search results

  • Nevermind, I got it resolved. For reference, anywhere I declared $queried_object I replaced with $taxonomy . '_' . $term_id

    For example:

    <?php if( get_field('header_image_cat', $queried_object) ) { ?>

    should read:

    <?php if( get_field('header_image_cat', $taxonomy . '_' . $term_id) ) { ?>