Home Forums ACF PRO True / False posts disappeared


True / False posts disappeared

  • I have post type with acf true/false input. If post has 1(true) in this field, it disappear from backend list, on frontend it throws 404.

    Give me a quick solution asap

    WP 4.5., last version of ACF PRO.

  • That’s not enough information to give you a quick solution.

    What is the name of the field?

    Do you have any pre_get_post filters in place for the post type?

  • This reply has been marked as private.
  • 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' ) { 
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘True / False posts disappeared’ is closed to new replies.