ArticleBody in the post
Hi,
I would like to change the https://schema.org/Article
in https://schema.org/NewsArticle
then enter:
https://schema.org/NewsArticle
itemprop = “description”
itemprop = “ArticleBody”
Then enter
itemscope itemtype = “https://schema.org/Organization”
<Meta itemprop = “url” content = “IMAGE 600×60.jpg”>
<Meta itemprop = “width” content = “600”>
<Meta itemprop = “height” content = “60”>
news about your appearance, good work
Hello Orlando,
The property ArticleBody of schema.org/Article does not seem to be a required Google Rich Data property and it’s not reported by Google’s structured data tool as missing so it’s not a problem. I saw that you want to change the schema.org through adding some additional markup. This is not a simple task of doing this and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide additional customizations, sorry!
Thanks for your understanding!
Hello orlando,
If you want to change the schema.org/Article yo should check the theme core files and make there the changes, like this -> https://www.screencast.com/t/SPuinW5vjM7u
Thanks for your understanding!
Thanks Catalin,
I managed to change the schema.org/Article in NewsArticle
1. I just need some help on two codes to add that I tried but did not work:
// The excerpt
$buffy .= ‘<meta itemprop=”description” content=”‘ . esc_attr( $this->post->post_the_excerpt) . ‘” />’;
// The category
$buffy .= ‘<meta itemprop=”articleSection” content=”‘ . esc_attr( $this->post->post_the_category) . ‘” />’;
2. and then I would like to remove this code: id = “post-7632″:
At the moment it is so:
<article id=”post-7632″ class=”post-7632 post type-post status-publish format-standard has-post-thumbnail hentry category-attualita” itemscope itemtype=”https://schema.org/NewsArticle”>
I would like to make it:
<article class=”post-7632 post type-post status-publish format-standard has-post-thumbnail hentry category-attualita” itemscope itemtype=”https://schema.org/NewsArticle”>
Appearance news about, good job
Hello,
1) It depends where you want to add the code. You will need to know what you are doing if you want to alter the theme code. This is not part of the theme support as it represents customization. We do not have a customization department. I suggest getting some help from a developer as we cannot help with this modification.
2) We do not recommend changing the theme id’s to classes as you will break the theme. You should leave the html markup as it is.
Thank you!
Hi,
however I asked you just help these two codes, it does not seem too much to ask.
It ‘something I need, no other possibilities to find a solution.
/wp-content/themes/Newsmag/includes/wp_booster/td_module_single_base.php
I do not know why you did not add the itemprop = “description” for the schema.org/article
more I wanted to add the category with itemprop = “articleSection”
It does not seem to have asked for much.
Appearance news about, good job
Hello orlando,
If you want to add this markup you should make some changes through your code to do this. The id is in single or in the loop-single file, depending on what template is used by you, as you can see here -> https://www.screencast.com/t/adQEx54jJ5 and the meta should have to be added in td_module_single_base.php If these are not added in the post object you should use other specific functions like -> https://developer.wordpress.org/reference/functions/get_the_excerpt/ This may be a quick solution in this case. If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because wee cannot provide additional customizations at the moment, sorry!
Thanks for your understanding!