Schema settings feedback
-
Latest update to allow us set schema settings in search apperarance, finally and great! But please allow us to set Default article type on post type: pages as well and not only post types: posts.
Secondly in article type markup what is the ID for author coming from? Example.
#/schema/person/44173defc799ndhdjddfea39bd3621cda5cdf870b7/Thanks in advance.
-
Hi @alriksson,
Thank you for reaching out.
Pages within WordPress are specifically not used for writing articles, that’s why you don’t see the option to set a Default article type for this ‘post’ post type. All posts/articles you’d write, would either need to be the default post type, or a custom post type. Does this answer your question?
For your second question, can you please elaborate and share a link, so we can check? Thanks!
Pages within WordPress are specifically not used for writing articles
Says who? I do not agree at all. Most users do not even understand different from pages and posts as a post type. Who defines writing articles as a page or post and who defines what is going to be used for what.
So pages is according to which standard only used for landing pages and they do not need any markup? Don’t get me wrong I’m just questioning it as I don’t think this should be decided by anyone else than the webmaster who created their site if they want to use pages or posts and what markup they want for it.
Releasing the the restriction to let the user decide.
For your second question, can you please elaborate and share a link, so we can check? Thanks!
Just add article or news article markup to a cpt or post and you will see this in the author ID part of the markup.
Thanks 🙂
Hi @alriksson,
Thank you for your reply, we appreciate your feedback!
1)
Pages within WordPress are specifically not used for writing articles
Says who? I do not agree at all. Most users do not even understand different from pages and posts as a post type. Who defines writing articles as a page or post and who defines what is going to be used for what.
Articles would need an author in order to have a valid schema output. Since WordPress default page content type does not have an author, that is why we don’t have the field for it.
2) Oh sorry, yes. The ID is the hashed version of the author of the post, so there is no possible sensitive information in there. Hope that explains.
We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.
They do have an author WordPress do not print it frontend but you can still fetch the author of a page the array is not limited to posts.
Maybe I’m missing something or don’t understand the reasoning.
Oh sorry, yes. The ID is the hashed version of the author of the post, so there is no possible sensitive information in there. Hope that explains.
Okay is it needed or what is it based on?
Hi @alriksson,
Thank you for your reply.
You are correct that pages do have an author in the back-end of WP but they are still, conceptually not seen as authored content, which won’t be suitable to represent as a type of Article. If you do run sites that use the Pages post type in other senses, feel free to look at our filters to customize our plugin.
The author/person schema piece information can be found here: https://developer.yoast.com/features/schema/pieces/person/.
I still think this is up the each individual site owner to decide. Some want to display page authors due to the page format used, some use it as landing business pages and do not.
Please consider adding the option for us to add article schema on pages as well 🙂 Then you give us the option, while default is set to none?
Then you serve both groups, of the ones who want but don’t interfere the default value as you define it as default as none.
The author/person schema piece information can be found here: https://developer.yoast.com/features/schema/pieces/person/.
Ok thanks.
Hi @alriksson,
Thanks for the feedback and for suggesting a new feature. We’re not working on it at the moment but we’ll create a feature request for this, so our developers can consider this when planning updates.
If you’d like to change this behavior, we have code examples of how you can customize the default types for schema data using the Yoast Schema API documentation.
@priscillamc Thanks for adding it to the feature request list. Hopefully it can make it to the development list.
Thanks, but the schema API documentation could be extended to show more examples.
Can not find any filter function for the article markup only alter the webpage markup?
Could be helpful to send the code example of what I want to archive, could help more users that want what I want to archive.
@alriksson Unfortunately we can’t offer support on custom code. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.
Thank you for your understanding.
We are going ahead and marking this issue as resolved due to inactivity, but please let us know if you require any further assistance.
The topic ‘Schema settings feedback’ is closed to new replies.