Community Forums › Forums › Archived Forums › General Discussion › Removing built in Schema from Genesis
- This topic has 6 replies, 3 voices, and was last updated 10 years, 6 months ago by
DrDan.
-
AuthorPosts
-
July 24, 2014 at 5:41 pm #115780
DrDan
MemberI'm trying to remove some of the build in Schema from Genesis. Many of us with cooking blogs need http://schema.org/recipe to be the main subject of the page. The Genesis built in schema appears to be burying the recipe schema too deep in layers of nesting for Google to display the posting as a recipe. (Per several experts" on Webmasters Central). We have webpage, wpheader, blog, blogposting all before recipe appears.
I have tried the code snippit that is posted (http://my.studiopress.com/snippets/) it does nothing... but I don't think it was designed to do what we needed anyways. I have filed a support ticket but since they don't feel Genesis is having an "error", it is functioning as designed, no help there.
The general set up for most of us is Genesis with Foodie theme, Yoast and W3TC. Most are also using a "recipe plugins, for me it is Easy Recipe Pro. The recipe plugin generate the recipe schema correctly. The other plugins and the child theme do not generate this schema, it is the standard Genesis SEO which is harming, not helping us.
The http://schema.org/webpage can stay but http://schema.org/blog and http://schema.org/blogposting need to go. The web page and other schema can stay...
I have looked at Microdata Manager but it can only do one page at a time plus it can replace what is there, not eliminate it. I could put recipe higher but then it will appear twice with I doubt is a good idea.
Any help or ideas greatly appreciated.
http://www.101cookingfortwo.com
July 27, 2014 at 11:45 am #115989DrDan
MemberI have resolve this issue. I have edited the functions.php in the child theme. I initialized an array with nal values for the attributes and then used this array to remove the data from the genesis_attr_XXXXXX array. I'm sure there are easier ways but works for me...
July 28, 2014 at 2:38 am #116044samw
MemberJuly 28, 2014 at 6:45 am #116053Maddog
ParticipantHi There,
I am running Genesis with Focus Theme and Easy Recipe and having a similar issue with Schema micro data no longer appearing in Google. My traffic has dropped substantially and I really want to fix this.Can anyone let me know how to fix this?
Studiopress will you be updating this?
Thank You
July 28, 2014 at 7:08 am #116055samw
MemberHi Maddog
I cant help on the recipe side of things - but you can change the default schema for the whole theme or pages by adapting this code for your specific schema.
http://www.rfmeier.net/custom-microdata-with-genesis-2-0/
Just Used this to set the default schema for a property site to schema/estateagent - but cant set up the itemprop 🙂Its not clear how you add the new itemprops/scope to the schema once you do this in genesis- can't find any articles on setting this up anywhere
You would want something like this
<div itemscope itemtype="http://schema.org/Recipe"><h1 itemprop="name">Pita Pizza</h1>
<p>By<span itemprop="author">Mindy Pretner</span></p><div itemprop="description">
"Pita Pizza is a quick snack or meal that can
be customized to your liking!"
</div>
<div><span itemprop="recipeYield">1</span> Serving</div>
<div>
Prep Time: <time itemprop="prepTime">5 Min</time><br/>
Cook Time: <time itemprop="cookTime">15 Min</time><br/>
Ready In: <time itemprop="totalTime">20 Min</time><br/>
</div>
<div>
<h3> Ingredients</h3>-
<li itemprop="ingredients">1 pita bread round
<li itemprop="ingredients">5 ml olive oil
<li itemprop="ingredients">45 ml pizza sauce
<li itemprop="ingredients">55 g shredded mozzarella cheese
<li itemprop="ingredients">25 g sliced crimini mushrooms
<li itemprop="ingredients">0.7 g garlic salt</div>
You mentioned your rich snippets are no longer showing
Have you run the site through the Google Structured Data Testing Tool to check the schema code is seen?
http://www.google.com/webmasters/tools/richsnippets
If you can see the schema code for your site as expected, its always possible that Google has run an algorithm change that no longer means it will show the rich snippet - I see this all the time - having schema does not guarantee the search engines will show it in rich snippets - there was an overall Google update in the last week
Hope that helps and someone else will weigh in on the schema coding side of things
July 28, 2014 at 8:37 pm #116181DrDan
MemberTo samw... It will be a day or two for me to write it up correctly ... I'm just finishing a very long day. Also please realize my official computer training ending in 1972. I have NO TRAINING in php. I have hacked this together and it is working. If you use it, you sometimes get what you paid for...
To maddog. This may or may not fix the issue with recipe pictures appearing in organic search results. It was suggested by several of the "experts" on Webmaster Central so it is about the next thing to try. You might want to check the forums on Food Blogger Pro (You can view but not post without membership I believe). We have been trying to address specific issue there also. If you are beginner or pro food blogger, you should consider joining.
August 1, 2014 at 7:32 pm #116626DrDan
MemberI have posted a writeup on my website at How to Remove Genesis Schema at 101 Cooking For Two. It got way to long for a post here.
Cheers
DrDan
-
AuthorPosts
- The topic ‘Removing built in Schema from Genesis’ is closed to new replies.