You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The getPageData function uses this /types endpoint to compare the slug of the requests page uri then determines which post type to fetch and which template to load. This will not work in this case because ACF custom slug is not accurate in the REST API.
Not sure if this is also a problem with CPT UI or not.
The text was updated successfully, but these errors were encountered:
Post type created with ACF with a custom url slug does not match what is returned by /wp-json/wp/v2/types
Example:
Post type "solution-or-product"
custom url slug "solutions-and-products"
response from WP REST API /wp-json/wp/v2/types:
The
getPageData
function uses this /types endpoint to compare the slug of the requests page uri then determines which post type to fetch and which template to load. This will not work in this case because ACF custom slug is not accurate in the REST API.Not sure if this is also a problem with CPT UI or not.
The text was updated successfully, but these errors were encountered: