Support

Account

Home Forums Front-end Issues Query to display all posts with ACF relationship value Reply To: Query to display all posts with ACF relationship value

  • I’m a self-taught developer myself 🙂 I think it’s quite common in our line of work..

    Sorry I think this is more like it:

    
    if (!empty($_GET['company'])) {
        // we got company....
    }
    

    The URL you are directed to is probably not correct if you’re supposed to end up on the regular posts archive.. You can try switching the $archive variable out and replace it with a “hardcoded” url to the archive page.. Right not it seems like it’s trying to go to the archive of companies.