Not exactly. Post types have the highest priority. But the search for parents and wildcards works backwards through the url. Stripping off the last position in the url between slash characters. So if you have plugins set on mysite.com/showcase/ with also affect children and a separate post type or plugin filter with the permalink mysite.com/showcase/something/ with plugins set and you access mysite.com/showcase/something/ then the settings for mysite.com/showcase/something/ would be used.
Hey Jeff,
Thanks for the quick reply.
If I understand well, if we have configured a “PAGE” post-type setting and mysite.com/showcase/ is a page, the checkbox “Also Affect Children” just won’t do anything, because all child page would be targeted by the post-type setting, is that right?
I’m not sure I understand how to use this checkbox or the plugin filters. It looks to me as if, if you use post-type settings, then you can’t use “Affect also children” or the Plugin Filters.
My understanding is that post-type settings are very broad and target many pages/posts at once.
Then going into each individual post/page we can override these settings. I was under the impression we could enable the affect children checkbox and have all pages in the subset mysite.com/showcase/* use a different configuration compared to the global page post-type setting.
Apparently this is not the case, which is a bit of a bummer.
I would have used a plugin filter with the permalink mysite.com/showcase/* (combined with setting “Also Affect Children”, but again, post-type settings take priority.
Is it possible at all to have a “global” post-type setting and replace a subset of pages using one single rule instead of going into each individual post/page and override the rules?
Thank you!
-
This reply was modified 4 years, 8 months ago by thisisbbc.
No that’s not possible. The only way for you to do that would be to set the post type settings and then create an SQL statement to update the posts that you want a special set of plugins set on. I might be able to add a multi select box to the post type admin that you can select certain posts and then apply settings to only those posts. But that will take some work and time to create. And I’m not sure how all of that would work when you come back to edit the posts in the posts type settings.
Bummer… but thank you for the detailed reply nonetheless.
I guess we’ll work around these limitations until there’s a bit more flexibility with the post type rules. At least now we can quickly go into posts/pages that were overrided individually.
Also appreciate your consideration to improve this in the future.
Have a great day ahead!