I’m having trouble linking to a custom post type page using the link elements internal page/post function. Is this possible? If so, could someone explain how to do it? I haven’t been able to find anything about it on the forum, so I’m wondering if it’s a simple fix I’m just missing, or maybe it’s not possible at all.
This looks like a bug to me indeed. However, it’s not related to ACF, Meta Box or any other specific plugin.
The search query in the builder uses a post_type argument of any. However, this query won’t find posts from post types which were registered with exclude_from_search being true (see WP_Query – Class | Developer.WordPress.org).
@charaf, @itchycode Maybe something that can be fixed? Excluding post types from search doesn’t mean they shouldn’t be searchable as link targets within Bricks, should they?
@timmse I appear to only be able to select pages and searching returns nothing outside of pages either.
Now this did work. as i was able to select a specific product before but in trying to change the previewed product i can no longer select or search for any product
If your “product” post type is a custom post type and not the WooCommerce “product” post type, it seems to be the same problem. If it is the WooCommerce “product” post type, I cannot reproduce the problem, as it is searchable by default.
Please create a separate report in the bugs category including details about your setup and steps on how we can reproduce the problem.