For me this was caused by certain post types not being activated in the multi-language plugin (Polylang). When I activated them there, it was fixed.
Hey, the function outputs this:
Array
(
[post] => post
[page] => page
[attachment] => attachment
[revision] => revision
[nav_menu_item] => nav_menu_item
[custom_css] => custom_css
[customize_changeset] => customize_changeset
[oembed_cache] => oembed_cache
[user_request] => user_request
[wp_block] => wp_block
[polylang_mo] => polylang_mo
[acf-field-group] => acf-field-group
[acf-field] => acf-field
[projects] => projects
[flatfiles] => flatfiles
[clients] => clients
[quotes] => quotes
[presentations] => presentations
[modules] => modules
[work] => work
[typefaces] => typefaces
)
Work and typefaces are the ones that don’t show up in the page link select field when I add 1 other post type.
I looked at all the settings for those two post types and they’re exactly the same as for the other post types. Also I changed the name of the field from Post to Post Link, because I thought maybe that interfered, but the issue remains.
Hope you might have another hunch!
Hi John. If I select 1 post type of the ones is does show by default and 1 of the ones it doesn’t show by default, it then only shows posts from the post type it shows by default.
Would love this feature too. Bump!