Viewing 3 reply threads
  • Author
    Posts
    • #3847
      justin
      Member

      Hi, I set my show_in_admin_all_list to false, which correctly updates the number shown next to the All link in the custom post type, but when you click on the all tab, it still shows all the posts regardless of post_status.

      
      ,'status' => array(
              'draft' => array(
                'label' => 'Draft'
              )
              ,'past_trip' => array(
                'label' => 'Past Trip'
      		  ,'show_in_admin_all_list' => false
              )
              ,'hidden' => array(
                'label' => 'Hidden'
              )
      		,'publish' => array(
                'label' => 'Public'
              )
      		)
      
    • #3848
      Steve
      Keymaster

      @justin– Post Statuses are an example of how Piklist just makes it easier to use WordPress functions. This is actually all WordPress, and this is a known WordPress bug.

      One of the comments in the trac ticket suggest a temporarily fix of adding this parameter:
      protected => true

      Let us know if that works.

    • #3850
      justin
      Member

      That was close. My issue was actually the exact opposite of the reported bug, but putting in:

       
      'label' => 'Past Trip'
      ,'public' => true
      ,'show_in_admin_all_list' => false
      ,'protected' => false 

      Worked as expected for me.

    • #3851
      Steve
      Keymaster

      @justin– Great! Let us know if you need anymore help. Closing this ticket.

Viewing 3 reply threads
  • The topic ‘show_in_admin_all_list’ is closed to new replies.