samedi 12 novembre 2016

How to Properly Add Your Business Address in WordPress



Do you want to display your business address in WordPress? Usually you can just type the address on your contact page or in a sidebar widget. But this approach is not search engine optimized. In this article, we will show you how to properly add your business address in WordPress with a map and other useful information.


Adding a business address in WordPress


When and Why You Need Business Address in WordPress


Usually most business websites add their address on their contact page. They use a contact form plugin like WPForms to add a contact form.


This works fine for most websites and online business. However when you have a physical business, its beneficial if you add your address in a search engine optimized format.


We recommend adding a contact form as well as other informations like maps, directions, phone number, and business hours in a SEO friendly format.


Let’s see how you can add your business address in WordPress in a SEO friendly way.


Video Tutorial



If you don’t like the video or need more instructions, then continue reading.


Adding a Business Address in WordPress


First thing you need to do is install and activate the Business Profile plugin. For more details, see our step by step guide on how to install a WordPress plugin.


Upon activation, the plugin will add a new menu item labeled Business Profile to your WordPress admin bar. Clicking on it will take you to plugin’s settings page.


Business Profile plugin settings page


First you need to select the Schema type. Schema.org is the standard micro-data vocabulary used by search engines to show rich snippets and additional information with search results.


Select a schema type that best describes your business.


Under the contact information section, you need to provide the name and address of your business. After entering the address, click on ‘Retrieve map coordinates’ link. The plugin will automatically fetch map coordinates for the address you entered.


Next, you need to provide a Google Maps API key. Generating this key is easy, click on the Get an API key link.


API key link


This will take you to the Google Developer Console website. You need to locate ‘Get a key’ button and click on it.


Get API Key button


On the next screen, simply click on the continue button to create a new project. You will have to wait for a few seconds as your new project is created.


Create a new Google Maps API project


Once your project is ready, you will be redirected to setup credentials. Enter a name for your project and the domains where this API key will be used. Use asteriks to white label your entire domain. For example,


*.example.com/*


Make sure to replace example.com with your own domain name.


API Credentials


After that click on the create button to continue. Your API Key will now be displayed in a popup.


Copy your API Key


You need to copy your API key and paste it on the plugin’s settings page.


Contact info section


You can now continue entering other contact information on plugin’s settings page. You can add a phone number, and select a page where users can contact you.


This could be a page with your contact form (See our step by step guide on how to create a contact form in WordPress).


Under the schedule section, you can enter your business hours. Simply click on add business hours button and then select days and hours you are open for business.


Enter your business hours


If you want to add multiple locations, then check the box next to multiple locations option. Click on the ‘Save Changes’ button to store your plugin settings.


Now that you are done creating your business profile, it is time to add it on your website.


Showing Business Address on Your Website


Start by creating a new page in WordPress or edit an existing one. You need to add this shortcode inside post editor where you want to display your business profile.


[contact-card]


Make sure to save your page and publish it.


That’s all, you can now visit the page to see your full business address information. It will have your business address, a link to get directions, phone number, and a map with your business location highlighted.


Business address page with contact information and map


You can also display your business address in a sidebar. To do that, go to Appearance » Widgets page, and you will see a new ‘Contact Card’ widget under the list of available widgets.


Simply add the contact card widget to a sidebar (See how to add and use widgets in WordPress).


The contact card widget allows you to choose which information you want to display in your sidebar. Simply check options you want to be displayed and then click on the save button.


Showing your business address in a sidebar widget


Adding Multiple Locations for Business Address


If you enabled the multiple locations option in plugin’s settings, then you can manage multiple business locations. Go to Locations » All Locations page and then click on Add New button.


Adding new business locations


You will now see the Add new location page which looks a lot like a post or page edit screen. That’s because your location is stored as a custom post type.


Edit location


You need to add your business name in the title and use the post editor to provide any description that you may want to add.


Next, select the Schema type and enter your contact details just like you did on the plugin’s settings page. You will also find a meta box to add your business hours.


Once you are done, you can publish your location.


All your locations can be seen on the custom post type’s archive page which will be found at:


http://www.example.com/location


Replace example.com with your own domain name.


Each location will also have its own permalink URL. You can go to Locations » All Locations and click on ‘View’ link to find a location’s page.


Location permalink


You can also manually add a particular location to a post or page using a shortcode like this:


[contact-card location=2]


Replace 2 with the location’s post id. See our guide on how to find post id in WordPress.


That’s all, we hope this guide helped you learn how to properly add your business address in WordPress. You may also want to see our list of 24 must have WordPress plugins for business websites.


If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


The post How to Properly Add Your Business Address in WordPress appeared first on WPBeginner.







Aucun commentaire:

Enregistrer un commentaire