{
"code": "rest_cannot_manage_templates",
"message": "Sorry, you are not allowed to access the templates on this site.",
"data": {
"status": 401
}
}
I tried changing some WordPress versions and also enabled the endpoints in the WP REST API Controller plugin (also cleared out the cache in that plugin), but none of it helps.
did you guys upgrade the wordpress site lately? I googled a bit, and found some articles about a similar issue and theyāre suggesting that some upgrades, or installations of plugins/themes might cause an issue with the WP permissions:
Pretty much spent all day trying to get template parts up and running but sadly to no avail.
Tried using Wordpress 5.6 and Gutenburg 10.1.1 as per @phn 's example (although Guberg wanted 5.6 so updated there)
Problem for me is the 401 error. Have used WP REST API Controller to enable wp_template_parts but itās been 401s and tears all day.
Could someone on the Frontity side perhaps give us a demo? Or screenshots of the Wordpress.org installation so we can see how the template parts are configured?
I didnāt look any further into this any more. I stopped using Frontity, because I had no time to get up to speed with it anymore. I needed to invest time in our regular projects. For adopting headless I am now looking in other directions then Frontity, to be honest.
@SantosGuillamot Could someone on the Frontity side perhaps give us a demo? Or screenshots of the Wordpress.org installation so we can see how the template parts are configured? because I canāt access the template part endpoints thank you