Web search engines such as Google or bing attempt to obtain more site information every day. They can help search engines understand website content by creating specified information and microformats. Search engines use this information to provide users with more site information, thus enhancing the user experience. The rich abstract information provided in the search results can undoubtedly provide users' clicks and enhance trust. This article will teach you how to add rich abstract information to the wordpress site. The rich Abstract Contact information is used as an example to display it on the search result page.
1. What is rich abstract contact information?
You may have seen the contact information of the rich abstract before, but do not know it. In fact, some addresses, cities, telephone numbers, and the like are shown in the search results:
2. Why should I add it?
This is a good question. Because rich Abstract Contact information can better display the relevance of content for users. For example, the phone number and address of a website or company can be displayed. At the same time, it is of great help to provide the click rate. Especially for some small companies, it is more advantageous. If your website provides this information but competitors do not, it may attract users.
3. What if I add rich Abstract Contact information to the wordpress website?
There are two ways to implement this. One is to use plug-ins and the other is to use code.
Method 1: Use the Rich Contact Widget plug-in
The simplest method is to use the Rich Contact Widget plug-in. After the plug-in is installed and activated, go to the appearance tool. You can add the rich Abstract Contact information tool to one of the theme gadgets. Then fill in the contact information, and the plug-in will automatically process the tags required by the rich abstract.
In addition, you can display a map image of the location, provide download links to protect contact information, and allow users to save your contact information.
Method 2: implement it by code in the topic
This method requires you to edit the wordpress theme file, which is suitable for small-sized users with code experience. You can use micro-data and micro-data, but you only need to use one of them (for Google, we recommend using micro-data. We provide sample code for micro-data. For micro-data, see http://microformats.org/wiki/hcard-zh.
You will find that you have used a function such as antispambot (), a little-known wordpress function, to protect your email from being crawled by junk machines.
4. Test the added structure data
After using the above code, you can use http://www.google.com/webmasters/tools/richsnippetsto test the result. Enter your preview address, and the following data will be displayed:
After completing these steps, wait for the search engine to update, and your rich Abstract Contact information will be displayed in the description of the site. Happy. This article is original compilation, reproduced please famous from admin5 and dianjin Thematic Network http://www.dianjin123.com