sybrew / The-SEO-Framework-Extension-Manager

A WordPress plugin that manages extensions for The SEO Framework.
https://tsf.fyi/em
GNU General Public License v3.0
76 stars 9 forks source link

Archive Meta Change > Allow Archive, Exclude Post #51

Open quadcom opened 2 years ago

quadcom commented 2 years ago

Thanks for getting the archive meta added.

I was hoping that you could allow for excluding the individual posts yet provide meta support for the archive page?

I have a CPT for reviews. Each review does not need the SEO panel but the archive page does as that is aggregating all of the reviews. I need to use the archive page as I am using a schema plugin that dynamically populates the review schema. Only the archive page will pull all of the reviews schema on one page. I can't use a repeater to do that.

If I exclude reviews CPT from SEO, it disables the meta for the archive as well.

sybrew commented 2 years ago

Hello!

I recommend applying "noindex" to the whole CPT and overriding that state to "index" for its archive.

You can hide the SEO Panel on a per-screen basis -- these discern themselves from post type to post type. At the top-right of your WordPress interface, you can find "Screen Options". For the Block Editor, you'll have to click the v-ellipsis at the top-right, hit "Preferences", hit "Panels", and toggle off Review SEO Settings.

I have no plans for implementing "exclusions" in such an intricate manner as you propose; WordPress is convoluted and uncoordinated enough as it stands.