How to Remove Schema for Articles

Posted in: Newspaper
Post count: 3

I am using plugin for Schema. I want to remove Schema in theme because plugin Schema and theme Schema are conflicting each other. Can you resolve this? I must use plugin, cant remove plugin, so suggest me a solution.

I Want Remove Schema for Articles. Am Using Schema Pro Plugin.

Website : Careeradda.com

Note : Now Disable Schema Plugin for temp..

Post count: 20688

Hi,

Removing the theme structured data would be possible if you remove it from the theme code only. Most of the structured data for the posts is located in this file
https://www.screencast.com/t/6afOnwYmF
The theme contains the basic required data, like author, date published, date modified, reviews etc. Only manually could this be removed.

Thanks

Post count: 16

thanks, you have been very helpful.

Post count: 68

Hello – I have been using this file to edit schema for articles (and yes I should be using a child theme) but on the most recent Newspaper update, it does not seem to exist anymore.

Where can I edit this schema for posts now? Thanks

Post count: 20688

Hi,


@TheRiz
That file was moved in the tagDiv composer plugin – http://prntscr.com/nx0d2i
This happened after the recent theme updates, you could modify it there.

Thanks

Post count: 68

Great, thanks Simion.

Also, you guys should consider converting the schema code to JSON-LD, which is the recommended format by Google and likely easier to manage overall.

Post count: 20688

I will make a note of it, thank you for the suggestion.

Post count: 68

Hi Simion – for the schema Review meta information – is it possible to change the name of the item review from the name of the blog post, to the text that is entered in the field with this class: “td-review-desc”

Looks like I would need to edit this line:
$buffy .= '<meta itemprop="name " content = "' . $this->title_attribute . '">';

What should I put to call “td-review-desc” instead?

  • This reply was modified 6 years by TheRiz.
Post count: 35449

Hello,

This is not very easy to achieve, also this can be done only with custom work, because the “td-review-desc” is just a class and you need top call the content fro review not the style for reviews.

Thank you for your understanding!

Post count: 224

Are we to remove this?

/**
* returns the item scope for single pages. If we have an article or a review
* @return string
*/
function get_item_scope() {
//show the review meta only on single posts that are reviews, the rest have to be article (in article lists)
if ($this->is_review && is_single()) {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Review"';
} else {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Article"';
}
}

function show_item_scope() {
echo printf( '%1$s', $this->get_item_scope());
}

Post count: 28

I am using this:
https://remove-schema.com/
Works with Yoast SEO

Post count: 68

Calin – Yes, that is what I am trying to do, call the content. On the backend WP editor, this field is called “Feature Name” in the Review section. I would like to call what is entered here for this field within the schema. Is that possible?

Post count: 35449

Hi,

Using reviews the schema will add the review attribute http://prntscr.com/phab65 -> http://prntscr.com/phaaih if I understand correctly you want to you want instead of review to have set the text from description, unfortunately this can be achieve only with custom work, sorry.

Thank you!

Post count: 68

Hi @Simion C. – it seems like the schema.org for single post settings are now pulled from a different area, no longer here? – http://prntscr.com/nx0d2i

I updated to Newspaper 10 and am not using the Standard Pack. Modifying TD Composer Plugin does not seem to work.

I am not trying to remove schema, just modify it. Thanks

Thanks

Post count: 68

Ignore the above. I found it needs to be done in Cloud Library. Thanks

Viewing 15 posts - 1 through 15 (of 15 total)
The forum ‘Newspaper’ is closed to new topics and replies.