GradeUs banner  below header new
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 7 of 7

Thread: Schema Code

  1. #1
    Member Since
    Feb 2015
    Location
    United Kingdom
    Posts
    47
    Thanks (Received)
    0
    Likes (Received)
    0

    Schema Code

    Hi

    Here's 2 examples of schema code.

    Both are for solicitor/lawyer sites. Would either be better for GMB listings and higher rankings, or do they basically do the same thing and give the address?

    HTML Code:
    <ul itemscope itemtype="http://schema.org/Attorney">
    <li>
    <div class="adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><span class="street-address" itemprop="streetAddress">
    3 Westfield Road, Belfast, County Antrim, BT3 5ST</span></div>
    </li>
    <li class="tel" itemprop="telephone">(028) 903 3342</li>
    </ul>

    HTML Code:
    <div itemscope itemtype="http://schema.org/LocalBusiness" class="schema">
    	<span itemprop="name">The Law Firm</span> <span itemprop="description">Solicitors</span>
    	<div itemprop="location" itemscope itemtype="http://schema.org/Place">
    		<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
    			<span itemprop="streetAddress">130 Belmost St</span>
    			<span itemprop="addressLocality">Belfast</span>, <span itemprop="addressRegion">County Antrim</span> <span itemprop="postalCode">BT12 34BA</span>
    		</div>
    </div>
    thanks,
    Michael.

  2. GradeUs in thread
  3. #2
    Member Since
    Mar 2014
    Location
    Australia
    Posts
    183
    Thanks (Received)
    0
    Likes (Received)
    0

    Re: Schema Code

    Hi Michael

    It doesn't look like your code made it onto the forum post.

    Could you upload a screenshot of the code you're talking about?
    Priya Chandra
    Consulting, training, troubleshooting - Local Search, with an Australian flavour
    Proud to be a Google Top Contributor - Google and Your Business Help Forum
    Find me here:
    @priyachandra
    +PriyaChandra

  4. #3
    Member Since
    Jun 2012
    Location
    SoCal
    Posts
    15,617
    Thanks (Received)
    151
    Likes (Received)
    160

    Re: Schema Code

    Thanks Priya the forum stripped all the code out since you can't put code in a post.

    But I edited and wrapped HTML tags around it so it would show. All good to go now.
    Linda Buquet .:. Forum Founder, Google Local Specialist

    If you benefit from advice here... Please pay the community back by sharing on social OR helping someone else at the forum. Thank you!

    Don't Miss Important News & Tips! Subscribe to Daily Email Digest Here

    Note: Due to mulitple RSI injuries, pardon short replies. Typos? Blame it on "Dragon".

  5. #4
    Member Since
    Jul 2013
    Location
    Seattle
    Posts
    115
    Thanks (Received)
    0
    Likes (Received)
    0

    Re: Schema Code

    Hey Michael -

    my goal with Schema is to always be specific as possible, so if you have a sub-group, like Attorney, I'd use that.
    -----
    CDK Global SEO Specialist & Local Listings Guru

  6. #5
    Member Since
    Feb 2015
    Location
    United Kingdom
    Posts
    47
    Thanks (Received)
    0
    Likes (Received)
    0

    Re: Schema Code

    Thanks Linda for editing that.

    So the first snippet has the attorney (even though in Ireland & UK) we use the term solicitor. So are these both much of a much, with the first one slightly better cos it has the sub group schema?

    Or does the second snippet have more detailed schema elements like streetAddress and addressLocality, postalCode, which is preferable?

    any thoughts

  7. #6
    Member Since
    Aug 2015
    Location
    Leicester
    Posts
    8
    Thanks (Received)
    0
    Likes (Received)
    0

    Re: Schema Code

    I would suggest as standard something like the following:

    HTML Code:
    <div itemscope itemtype="http://schema.org/Attorny">
    <span itemprop="legalName">The Law Firm</span><div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><span itemprop="streetAddress">130 Belmost Street</span><span itemprop="addressLocality">Belfast</span>,<span itemprop="addressRegion">Antrim</span><span itemprop="postalCode">BT12 34BA</span></div>

  • #7
    Member Since
    Jul 2012
    Location
    Denver, CO
    Posts
    433
    Thanks (Received)
    4
    Likes (Received)
    8

    Re: Schema Code

    I would also recommend using "SameAs" for social profiles and things like Super Lawyers and Avvo if they have them (if not I would definitely get them listed there).
    Free Local Checklist
    51Blocks - "White Label" Google Places & Website Development/Hosting - Will Pay Good $$ for Wordpress website hosting referrals
    Wordpress Site Speed Problems? Site speed optimization is part of our hosting - 90's on Google PageSpeed Insights

  • Similar Threads

    1. JSON-LD schema code for different location page on site
      By Ajay Prasad in forum Local Search
      Replies: 5
      Last Post: 09-15-2015, 07:14 AM
    2. G+ Category and Schema.org
      By RR415 in forum Google Local
      Replies: 4
      Last Post: 07-31-2015, 06:03 AM
    3. Replies: 5
      Last Post: 01-22-2015, 03:23 PM
    4. Schema.org NAP Best Practices
      By Jamie Steigerwald in forum Local SEO & Ranking
      Replies: 0
      Last Post: 09-06-2013, 03:36 PM

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    Local Marketing Summit banner above footer new