Can’t use “Content is a Selected Page” after update
-
After updating to V2, when I type a search term into the “Content is a selected page” filter, I’m only seeing “no results”.
This endpoint:
wp-json/wp/v2/pages?context=view&search=product&per_page=10&_locale=user
appears to be the issue. The load time is slow enough that it usually times out.The reason the load time is so slow in my site’s case is that these pages have a lot of content (as I imagine many sites using block libraries will). This query is sped up considerably by only grabbing a few fields. Adding this query parameter seems to help:
&_fields=id,title
Not sure if this is an option for how your plugin is built but in its current state it’s unusable for me
- The topic ‘Can’t use “Content is a Selected Page” after update’ is closed to new replies.