Support

Account

Home Forums ACF PRO True / False posts disappeared Reply To: True / False posts disappeared

  • You need to not run that in the admin

    
    if ( !is_front_page() && !is_admin() && $query->is_main_query() && $query->query_vars['post_type'] == 'gostilne_post' ) {