- Posts: 7
COMMUNITY FORUM
schema.org
- Martyn Ewers
- Topic Author
- Offline
- New Member
Less
More
8 years 6 months ago #152572
by Martyn Ewers
schema.org was created by Martyn Ewers
I want to add the following schema code to my template.
I've cleared the site name out for this message but you get the idea.
I've checked the code and it works through google structured code testing
BUT where does it go, I'm confused.
<script type="application/ld+json">
{
"@context" : "schema.org",
"@type" : "Organization",
"name" : "MYSITE",
"url" : "http-MYSITE",
"sameAs" : [
"twitter.com/MYsite",
"www.facebook.com/Mysite",
"www.facebook.com/groups/MYsite",
"www.facebook.com/Mysite"
]
}
</script>
Thanks
I've cleared the site name out for this message but you get the idea.
I've checked the code and it works through google structured code testing
BUT where does it go, I'm confused.
<script type="application/ld+json">
{
"@context" : "schema.org",
"@type" : "Organization",
"name" : "MYSITE",
"url" : "http-MYSITE",
"sameAs" : [
"twitter.com/MYsite",
"www.facebook.com/Mysite",
"www.facebook.com/groups/MYsite",
"www.facebook.com/Mysite"
]
}
</script>
Thanks
Please Log in or Create an account to join the conversation.
- Joe Campbell
- Offline
- Platinum Member
Less
More
- Posts: 438
8 years 6 months ago #152590
by Joe Campbell
Replied by Joe Campbell on topic schema.org
It needs to be placed in the head of your homepage.
See how it is implemented on the JoomlaSEO website (view source):
joomlaseo.com/
This feature is available through sh404SEF:
weeblr.com/forum/question/microdata-and-schema
See how it is implemented on the JoomlaSEO website (view source):
joomlaseo.com/
This feature is available through sh404SEF:
weeblr.com/forum/question/microdata-and-schema
Please Log in or Create an account to join the conversation.
- Martyn Ewers
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
8 years 6 months ago #152591
by Martyn Ewers
Replied by Martyn Ewers on topic schema.org
Ok sorted and working, Next step learn and apply schema.org stuff....
Many tanks
Many tanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 6 months ago #152647
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic schema.org
You can see an example here: github.com/kricore/Advanced-templating-with-K2/blob/master/default/item.php
Remember to use overrides instead of editing core files:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Remember to use overrides instead of editing core files:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.