How to Add Pinterest HTML Tag to WordPress
Streamlining your WordPress site with Pinterest can be a game-changer for your traffic and visibility. To harness the power of Pinterest, you need to ensure your site has the necessary HTML tags for Pinterest to understand and display your content appropriately. Here's a step-by-step guide on how to add Pinterest HTML tags to your WordPress site.
Before we dive in, let's understand why these tags are crucial. Pinterest uses these tags to understand your content's structure and prioritize essential information. Most importantly, it helps Pinterest create rich 'Pin' previews, which are more attractive and informative, thereby boosting click-through rates.
Understanding Pinterest Meta Tags
Pinterest uses specific meta tags to pull information from your website. The two primary tags are 'description' and 'image'. The 'description' tag provides a brief summary of your content, while the 'image' tag helps Pinterest find the most relevant image to display.
While these are the most critical tags, there are additional tags that can help Pinterest understand your content better. These include 'title', 'url', 'type', and 'site_name'. Now, let's look at how to add these tags to your WordPress site.
Using Yoast SEO Plugin
The Yoast SEO plugin is a popular choice among WordPress users for its robust SEO features. It simplifies adding Pinterest meta tags to your site. Here's how you can do it:
1. Install and activate the Yoast SEO plugin on your WordPress site. If you're unsure how to do this, our guide on Installing WordPress plugins can help.
2. After activation, you'll see a new 'SEO' section in your WordPress dashboard. Click on 'Social', then 'Accounts and Profiles'.
3. Scroll down to the 'Pinterest' section. Here, you can add your Pinterest username and validate your site with Pinterest.
4. Once validated, scroll back up to the 'Advanced' tab. Here, you can add default descriptions and images for your social media sharing. For Pinterest, ensure you've added a compelling description and a high-quality, vertical image.
5. Save your changes. The Yoast SEO plugin will automatically add the necessary meta tags to your site's header.
Manually Adding Pinterest Meta Tags
If you're not using the Yoast SEO plugin, you can manually add the meta tags to your site's header. However, this requires some knowledge of HTML and theme coding. Here's how you can do it:
1. Login to your WordPress dashboard and locate your site's header.php file. This is usually under 'Appearance' > 'Theme File Editor'.
2. Add the following code within the <head> section of your header.php file:
<meta name="p:domain_verify" content="YOUR_PINS_VERIFICATION_VALUE">
<meta name="title" content="YOUR_PINNED_IMAGE_TITLE">
<meta name="description" content="A brief description of your content">
<meta name="image" content="https://www.YOURWEBSITE.com/YOUR_IMAGE_URL.jpg">
<meta name="url" content="https://www.YOURWEBSITE.com/YOUR_PINNED_PAGE_URL">
<meta name="type" content="website">
<meta name="site_name" content="YOUR_SITE_NAME">
Replace 'YOUR_PINS_VERIFICATION_VALUE', 'YOUR_PINNED_IMAGE_TITLE', 'A brief description of your content', 'https://www.YOURWEBSITE.com/YOUR_IMAGE_URL.jpg', 'https://www.YOURWEBSITE.com/YOUR_PINNED_PAGE_URL', 'website', and 'YOUR_SITE_NAME' with your actual Pinterest verification value, image title, description, image URL, URL of the page you want to pin, and your site name, respectively.
3. Save your changes and test them using Pinterest's Validated Tool.
Pinterest offers a Rich Pin Validator to help you test your tags. Just enter the URL of the page you want to pin and click ' Validate '.
Optimizing Your Pins for Better Engagement
Adding the right meta tags is the first step. The next is optimizing your pins for better engagement. This includes creating vertical images, using high-quality images, writing compelling descriptions, and including calls-to-action.
Pinterest also supports rich pins, which include extra information like product details, prices, recipes, and more. Check out Pinterest's guide on making the most of rich pins.
Creating Vertical Images
Pinterest recommends creating images with a 2:3 aspect ratio (e.g., 600 x 900 pixels). This makes your pins more visible and tempting to click on. You can use tools like Canva or Pablo to create gorgeous, vertical graphics.
Remember, your image should be eye-catching and informative. It should clearly represent what your pin is about, but also be appealing enough to grab attention.
Writing Compelling Descriptions
Your pin description should be concise, informative, and engaging. It should give users a clear idea of what to expect when they click on your pin.
Descriptions can be up to 500 characters, but Pinterest typically displays only the first 100 or so. So, front-load your descriptions with the most important keywords and information.
You can also include a call-to-action in your description. This could be an invite to read your blog post, shop your products, or try your recipe. Just make sure it's relevant and helpful, not pushy or salesy.
Finally, always keep your pins up-to-date. Remove or update pins that are no longer relevant to keep your profile looking fresh and active.
Adding Pinterest HTML tags to your WordPress site can significantly boost your visibility and traffic. It's a simple process that yields powerful results. So, why not give it a try today?