Support

Account

Home Forums General Issues Page Link specific post_status

Solved

Page Link specific post_status

  • I have a custom post type Projects with different ‘post_status’: In Progress, Hold, Complete

    I also have another CPT Milestone and I need to link them to the previous post type. This can be done easily with ACF but how do I exclude Projects with ‘post_status’ == Hold?

  • I just fixed because I realized I asked a similar question before.

    For those wondering how it’s done:

    1. Go to core/fields/post_object.php
    2. In line 93 You can either specify by post_status you want to include by making an array or just put ‘any’ to show all.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Page Link specific post_status’ is closed to new replies.