Schema.org

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Schema.org

Postby browser » 01 Jun 2016, 10:26

Where to add schema.org file/script in my website.
This is my code
<div itemscope itemtype="http://schema.org/LocalBusiness">
<div itemprop="name">Gharla.com</div>
<div>Email: <span itemprop="email"><a href='mailto:admin@gharla.com'>admin@gharla.com</a></span></div>
<div>Url: <span itemprop="url"><a href='www.gharla.com'>www.gharla.com</a></span></div>

<div itemprop="paymentAccepted" style='display: none' >cash, credit card, invoice, paypal</div>
<meta itemprop="openingHours" style='display: none' datetime="Mo,Tu,We,Th,Fr,Sa 21:00-19:00" />
<div itemtype="http://schema.org/PostalAddress" itemscope="" itemprop="address">
<div itemprop="streetAddress">Pimpri-chinchwad, Pune</div>
<div><span itemprop="addressLocality">Pune</span>, <span itemprop="addressRegion">Maharashtra</span> <span itemprop="postalCode"></span></div>
</div>
</div>
browser
Stranger
 
Posts: 11
Joined: 06 Oct 2015, 15:51
Reputation point: 0

Re: Schema.org

Postby andipas » 02 Jun 2016, 19:05

If you want to place on all pages
themes/theme_name/views/layouts/main.php

If only the index
themes/theme_name/views/layouts/index.php
andipas
Web Developer
Web Developer
 
Posts: 156
Joined: 28 Dec 2011, 22:37
Reputation point: 1


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 6 guests

cron