Page 1 of 1

Schema.org

PostPosted: 01 Jun 2016, 10:26
by browser
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>

Re: Schema.org

PostPosted: 02 Jun 2016, 19:05
by andipas
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