Beginner’s Guide: How to Use WordPress Block Patterns

Do you want to learn how to use WordPress block patterns on your website?

Block patterns allow you to quickly add commonly used design elements to your post or page layouts.

In this article, we’ll show you how to use WordPress block patterns and find more patterns to use on your website.

Using block patterns in WordPress

Here are the topics we’ll cover in this guide.

What are WordPress Block Patterns?

WordPress block patterns are a collection of pre-made design elements that you can use for creating custom content layouts faster.

WordPress comes with an intuitive editor commonly known as the block editor. It allows users to create beautiful layouts for their posts and pages using blocks for common content elements.

WordPress block editor

However, not all WordPress users are designers or want to spend time creating layouts each time they need to create a post or page.

Block patterns provide an easy solution to that problem. WordPress now comes with a bunch of useful block patterns by default.

Block patterns in WordPress

Popular WordPress themes also provide their own patterns that you can use when writing content.

These patterns include items like pre-built multi-column layouts, media and text patterns, call-to-action patterns, headers, buttons, and more.

You can find even more patterns on the WordPress.org website, and you can even create and share your own patterns as well.

That being said, let’s take a look at how to easily use block patterns in WordPress to create beautiful content for your website.

How to Use Block Patterns in WordPress

By default, WordPress comes with a bunch of useful block patterns that you can use on your website. Your WordPress theme and some plugins may also add their own patterns.

To use block patterns, you need to edit the WordPress post or page where you want to use the block pattern.

On the post edit screen, click on the Add Block button to open the block inserter. From here, switch to the Patterns tab to view available block patterns.

Add block pattern

You can scroll down to see available block patterns.

You can also view block patterns in different categories like featured, buttons, columns, header, and more.

Sort block patterns by category

Alternatively, you can also click on the Explore button to view block patterns.

Here you can see larger previews in a popup.

Block patterns preview

Once you find a pattern you want to try, you can simply click to insert it to the content area of your post or page.

Edit block pattern

After that, you can simply point and click on any block inside the pattern to edit and change its contents to your own requirements.

You’ll still have all the options you normally have for each block. For instance, if it is a cover block, then you can change the cover color or background image.

You can add as many patterns as you need for your blog post or page. You can also simply delete a pattern to remove it from a post or page like you would delete any WordPress block.

Remove cover block

By using block patterns, you can quickly make beautiful layouts for your articles and WordPress site.

Ultimately, block patterns help save you time that you would otherwise spend on manually arranging blocks each time you need to add a header, gallery, buttons, and more.

Finding More Block Patterns to Use on Your Website

By default, WordPress comes with a few commonly used block patterns. WordPress themes may also add their own patterns to your website.

However, you can find a lot more block patterns than the ones available under the block inserter on your website.

Simply go to the WordPress Patterns Directory website to view many more block patterns.

Block pattern directory

Here you’ll find many more block patterns submitted by the WordPress community.

To use one of these block patterns, simply take your mouse over to the block pattern and click on the Copy button.

Copy block pattern

Next, you need to go back to your WordPress blog and edit the post or page where you want to insert this block pattern.

On the post edit screen, simply right-click and select Paste in the browser menu or press CTRL+V (Command + V on Mac).

Paste block pattern

How to Create and Share Your Own Block Patterns

Want to create and share your own WordPress block patterns and share them with the world?

WordPress makes it super easy to create block patterns and use them on your own websites or share them with all WordPress users across the globe.

Simply visit the WordPress Pattern Directory website and click on the ‘Create New Pattern’ link.

Create block pattern

Note: You’ll need to sign in or create a free WordPress.org account to save your patterns.

Once signed in, you’ll reach the block pattern editor page. It is identical to the default WordPress block editor, and you can use it to create your pattern.

Block pattern creator

Simply add blocks to create your pattern layout.

You can use layout blocks like group, cover, gallery, and more to organize your layout.

Editing block pattern layout

There are also royalty-free images available to use in your media blocks. The WordPress media library will allow you to easily find and use these images in your patterns.

Once you are satisfied with your block pattern, you can save it as a draft or submit it to the pattern directory.

Before you can submit your block pattern for the pattern directory, make sure that you have read block pattern directory guidelines.

You can manage all your block patterns by clicking on the My Patterns link. It will show all block patterns you have shared, draft patterns, and patterns you have favorited.

Your patterns

If you only want to create block patterns for your own use, then you can save them as drafts. After that, you can simply copy and paste them from My Patterns page to your WordPress website.

Creating WordPress Block Patterns Manually

You can also create block patterns manually and add them to your WordPress theme or custom snippets plugin.

Simply create a new post or page in WordPress. In the content area, use blocks to create a custom layout or block collection that you want to save as a pattern.

Switch to the code editor

After that, switch to the Code Editor mode and copy all content you see in the code editor.

Copy raw code blocks

Next, open a plain text editor like Notepad and paste that code in there. You’ll need it in the next step.

Now you are ready to register your blocks as a pattern.

To do that, simply copy and paste the following code into your theme’s functions.php file or a site-specific plugin.

 function wpb_my_block_patterns() {     register_block_pattern(         'my-plugin/my-awesome-pattern',         array(             'title'       => __( 'Two column magazine layout', 'my-theme'),             'description' => _x( 'A simple magazine style two-column layout with large image and stylized text', 'my-theme' ),             'categories'  => array( 'columns' ),             'content'     => ' Your block content code goes here'             )     ); } add_action( 'init', 'wpb_my_block_patterns' );  

Now copy and paste the raw blocks data you copied earlier as the value for the content parameter. In other words, you’ll need to replace the text that says ‘Your block content code goes here’ with your block code. Be sure to leave the single quotes surrounding the text in place.

Lastly, don’t forget to change the title and description to your own and save your changes.

You can now visit your website and edit and post or page. You’ll now be able to see your newly registered block pattern in the block inserter.

Add custom block pattern to your post

Remove a Block Pattern in WordPress

You can easily remove or unregister any block pattern in WordPress. Let’s say you want to remove the block pattern you created in the above example.

All you need to do is copy paste the following code to your theme’s functions.php file or a site-specific plugin.

 function wpb_unregister_my_patterns() {   unregister_block_pattern( 'my-plugin/my-awesome-pattern' ); } add_action( 'init', 'wpb_unregister_my_patterns' ); 

In this example, 'my-plugin/my-awesome-pattern' is the name of the pattern we used when registering it.

You can use this code to unregister any block pattern created by your theme or a plugin. All you need to know is the name used to register the pattern.

Remove Core WordPress Patterns

The core WordPress patterns are available to all WordPress users. This means they may be over used and might not even match rest of your WordPress theme.

If you don’t want to use a pattern, then you can simply avoid adding it to your content. However, if you run a multi author WordPress site, then you may want to prevent all users from using these core patterns.

To remove all core WordPress patterns, you need to add the following code to your theme’s functions file or a site-specific plugin.

 remove_theme_support( 'core-block-patterns' ); 

What’s The Difference Between Reusable Blocks and Block Patterns?

Block patterns and reusable blocks both intend to solve a similar problem: provide users with options to easily add commonly used blocks.

However, they are quite different from each other.

For instance, reusable blocks can be edited and saved right inside the post editor, but they are not as flexible as block patterns.

One big difference is that if you make a change to a reusable block, it changes the block on every post or page you’ve used it on.

Reusable block in WordPress

For more details, see our tutorial on how to use reusable blocks in WordPress.

On the other hand, if you insert a pattern and edit it, then those changes only apply to the post or page where you have added that pattern.

Block patterns can also be registered by your WordPress theme or plugins such as block plugins. This allows those developers to offer you a lot more design options to create your post and page layouts.

We hope this guide helped you learn how to use WordPress block patterns on your website. You may also want to see our guide on how to choose the best web design software, or our expert pick of the best email marketing services for small business.

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.

Beginner’s Guide on How to Add a Link in WordPress

Do you want to add a link in WordPress?

There are several ways to add links in WordPress. You can add links in your posts, pages, navigation menu, sidebar widgets, footer area, and more.

In this comprehensive beginner’s guide, we will show you how to add a link in WordPress.

Why Are Links Important?

Links are the bloodstream of the internet. They interconnect websites and web pages to form a World Wide Web of information.

Imagine visiting a web page that has no links for you to click. You would have no option but to click on the back button in your browser.

Hyperlinked text, buttons, and other elements take you from one page to another or from one website to another. Links will tell visitors to your WordPress website where they can find more information on a topic.

When you use links effectively, those visitors will spend more time on your site. They’ll discover more content, purchase more products on your online store, and are more likely to subscribe to your email newsletter.

That being said, let’s take a look at how to easily add links in different areas of your WordPress website. Since this is a detailed tutorial, please use the navigation below to quickly jump to the section you need:

How to Add Links in WordPress Posts and Pages

WordPress makes it easy to add links in your blog posts and pages using the block editor.

Simply edit your post or page, or create a new one.

Next, you need to highlight the text that you want to attach the link to. This selected text is called the anchor text for the link. Now you should click the ‘Link’ button in the toolbar.

Highlight the Text Then Click the Link Button

You’ll see a box where you can enter a URL. A URL is a web address. For instance, WPBeginner’s guide on how to start a WordPress blog has the URL:

 https://www.csemrm.com/start-a-wordpress-blog 

You can simply copy and paste the URL of the post or page you want to link to, like this:

Paste the Link Then Press Enter

You’ll need to click the ‘Submit’ button or press the Enter key to insert the link into your post.

If you’re linking to content on your own site, then it might be quicker to search for the post or page. Type a word or two from your content title, and WordPress will find it:

Searching for a Page to Link to Using the WordPress Block Editor

After you click on the title of the page or post you want, the link will be automatically added.

If you want your link to open in a new tab, then you should click the ‘Open in new tab’ toggle.

Setting Your Link to Open in a New Tab using the WordPress Block Editor

Note: We recommend that you only use this option for links to third-party websites. This way your users don’t leave your website while visiting it.

Adding Links in the Classic WordPress Editor

If you are using the older classic editor instead of the block editor, then the process for adding a link is quite similar.

You’ll need to open the post that you want to edit or create a new one. Next, you should find the text you want to use as the link’s anchor and highlight it. Then, you need to click the ‘Link’ button which should appear on the toolbar.

Creating a Link Using the WordPress Classic Editor

You can then paste the URL you want to link to, or search for the post or page, as with the block editor.

Pasting your URL Directly Onto the Anchor Text

An even quicker way to add a link in both the block editor and classic editor is to simply paste the URL onto the anchor text.

First, copy the URL you want to link to. Then, highlight your chosen anchor text in your post.

Next, you can either right click and select ‘Paste’ or simply press Ctrl+V (Windows) or Command+V (Mac) to paste the URL.

Paste Your Link Directly Into Your Content

WordPress will automatically detect that you’re pasting a URL and will turn the anchor text into a link.

Tip: Take a look at our tips for mastering the WordPress content editor to learn more about using the block editor effectively.

The step above covers how to manually add links to content on your own site. But, manually adding internal links can be time-consuming.

To make internal linking easier to manage, we use the AIOSEO plugin. It is the best WordPress SEO plugin used by over 3 million websites.

They have a Link Assistant feature that will crawl your entire website and automatically find internal linking opportunities.

After installing the plugin, you can go to All in One SEO » Link Assistant in your WordPress dashboard.

This will open up the link assistant dashboard where you can see an overview of the internal and external links on your site.

AIOSEO Link assistant dashboard

On the Links Report tab, you can see suggestions for relevant posts you can link to as well as the anchor text they recommend for best SEO rankings.

You can quickly add these links to your content by clicking the ‘Add Link’ button. There’s no need to open up each post individually.

AIOSEO internal link assistant example

If you have a lot of content on your site, then this internal linking plugin makes it simple to build a contextual relationship between your new and old posts.

How to Add Links in WordPress Widgets

WordPress allows you to add widgets to your site’s non-content areas like the sidebar and footer. Some of these widgets are automated and do not have many options. For example, the Latest Posts widget will automatically show links to your recent posts.

However, if you want to add some custom text with links in your sidebar, then you can use the Paragraph widget.

You’ll need to go to the Appearance » Widgets page and click on the blue ‘+ Block Inserter’ icon in the top left corner. After that, you should drag the Paragraph widget into your sidebar or other widget area.

Adding a Link in a Widget

You can then type in your text and add a link just as you would when adding one to a post or page. Make sure you click the ‘Update’ button to store your new widget settings.

How to Add Links in WordPress Navigation Menus

Do you want to add links to your site’s navigation menu? WordPress comes with a built-in drag and drop menu editor which allows you to create and manage navigation menus on your WordPress site.

Head over to the Appearance » Menus page. If you don’t already have a menu set up, then you can create one by entering a menu name. To learn more, take a look at our beginner’s guide on how to add navigation menus in WordPress.

Adding Internal Links to Navigation Menus

It’s easy to add links to the content on your own website.

Simply select the posts or pages you want to add to your menu on the left hand side, then click the ‘Add to Menu’ button.

Adding an Internal Link to Your Navigation Menu

WordPress will automatically link to your selected posts and pages. You can rearrange the entries using drag and drop.

Adding External Links to Navigation Menus

You can also add custom links, such as a link to another website. For instance, you could add the URL of your Twitter profile to your navigation menu.

Just click the arrow next to the ‘Custom Links’ section on the left. You can then type in the URL and the text you want to use for the link, and then click the ‘Add to Menu’ button.

Adding a Custom Link to Your Navigation Menu

When you’ve finished adding links to the menu, don’t forget to click the ‘Save Menu’ button at the bottom of the screen.

How to Add Title and Nofollow to Links in WordPress

It’s often useful to give your links a title. This is the text that appears when someone runs their mouse cursor over the link, like this:

A Link With a Title

Adding a title often makes it clear where the link leads to. It can be helpful and even reassuring for your readers.

You may also want to add a nofollow tag to external links. This tells search engines not to pass your site’s SEO score to that link because you don’t own or control that website’s content.

However, WordPress does not allow you to add titles or nofollow tags to links with the default editor. Here are two ways that you can add them.

Adding Title and Nofollow Using the AIOSEO Plugin (Easy)

The free All in One SEO (AIOSEO) plugin for WordPress lets you add title, nofollow, sponsored, and UGC attributes to links.

In the block editor, the plugin adds toggle switches for nofollow and other attributes. It also adds a field for a title.

All in One SEO Title and Nofollow in Block Editor

In the classic editor, you can access additional AIOSEO settings by clicking the ‘Link options’ gear icon. This will display an ‘Insert/edit link’ popup where you can enter a title, and click checkboxes for nofollow and other link attributes.

All in One SEO Title and Nofollow in Classic Editor

Adding Title and Nofollow Using HTML Code

If you don’t want to use AIOSEO, then you’ll need to manually add title and nofollow attributes to your links using HTML code.

First, add your link in the usual way, and then change the editor to HTML mode.

If you are using the block editor, then you need to click on the three vertical dots at the end of the toolbar and select ‘Edit as HTML’ to view the block’s HTML code.

Switching to the HTML View of a Block in the WordPress Block Editor

If you are using the classic editor, then you will have to click the ‘Text’ tab to display the whole post as HTML.

Switching to the Text View of a Post in the WordPress Classic Editor

You’ll now see the HTML code for your link. A basic link will look like this:

 <a href="URL">ANCHOR TEXT</a> 

You need to add the title and nofollow attributes so it looks like this:

 <a href="URL" title="TITLE" rel="nofollow">ANCHOR TEXT</a> 

This is how it looks on our demo website (see the screenshot above):

 <p>According to a study conducted by <a href="https://acme.inc/importantstudy" title="ACME Inc Study on Roadrunner and Coyote" rel="nofollow">ACME Inc</a>, roadrunners are 80% smarter than coyotes.</p> 

You can change the title to anything you want. The nofollow attribute should always be rel="nofollow". Don’t forget the double quotation marks around the title and nofollow as your link won’t work correctly without them.

For more information, see our beginner’s guide on how to add nofollow links in WordPress.

Adding Title and Nofollow to WordPress Navigation Menus

The process for making your navigation links nofollow is a bit different.

Underneath the link’s navigation label, you’ll need to enter ‘nofollow’ in the Link Relationship (XFN) field.

Type nofollow in Link Relationship

If you don’t see that field, you’ll need to add it under the Screen Options tab at the top right corner of the page.

Check Link Relationships and Link Target in Screen Options

For complete step-by-step instructions, see our guide on how to add nofollow links to navigation menus in WordPress.

How to Add Links to Buttons in WordPress

Do you want to add a button to your WordPress posts or pages? The easiest way to do this is using WordPress’s built-in Button block.

Once you create a new post or edit an existing one, you should click the (+) icon to create a new block. After that, you should drag the ‘Button’ block onto the post and then type the text for the button.

Add a Link Button in the Block Editor

After that, you can add a link using the ‘Link’ button in the toolbar. This is just the same as when adding any other link using the WordPress block editor.

To learn more ways to buttons to your posts, see our guide on how to add call to action buttons in WordPress.

How to Embed Linked Content in WordPress

You can easily embed certain types of content in WordPress by simply inserting its URL in your post. This is sometimes called creating a ‘content card’ in your post.

Just paste the whole URL into its own paragraph block.

For example, if you paste a Twitter URL, the whole tweet, including images, likes, timestamp, and more will be embedded like this:

Embedding a Tweet by Pasting in the Link

The process is the same for YouTube videos. Simply find the video you want to use on YouTube and copy the URL from the top of your browser window.

Get the URL to Your Chosen YouTube Video

Next, paste the link into your post or page. The video will be embedded automatically.

Embedding a YouTube Video Into Your Post

As well as being great for Twitter posts and YouTube videos, this method also works for many other types of content. You can find out more from WordPress’s support article on ‘Embeds’.

How to Add Affiliate Links in WordPress

Do you want to increase your site’s revenue by using affiliate links? Affiliate marketing provides a steady income to many blogs and websites.

All you need to do is add special referral links to products and services that you recommend. When your visitors purchase these products after clicking your links, you get a commission.

The problem that most beginners face is that each product or website they want to recommend has a different URL. It’s tricky to keep track of these, especially if you’re recommending lots of products.

The best way to add and manage affiliate links is by using an affiliate management plugin. We recommend using either Pretty Links or Thirsty Affiliates.

Both of these plugins work by creating redirect links that send people to your special affiliate link. They look like this:

 www.yoursite.com/refer/partnersitename 

The plugins will add a new option to your WordPress menu where you can add your affiliate links. Here’s how that looks with ThirstyAffiliates. You simply copy and paste your special affiliate link into the ‘Destination URL’ box.

Adding a Link in ThirstyAffiliates

You can set specific options for your link on the right-hand side, such as deciding whether to nofollow it, opening it in a new window or tab, and more.

Setting the Options for Your Affiliate Link with ThirstyAffiliates

Once you’re done, make sure you click the ‘Save Link’ button.

After you’ve set up your affiliate links, you can easily add them to your posts and pages. In a paragraph block, click the down arrow then select the ‘Affiliate Link’ option:

Adding an Affiliate Link to Your Post

Next, type in the start of whatever you named that affiliate link. In our example, that’s “Our Affiliate Partner”.

Finding Your Affiliate Link by Search

You can then click the name and click ‘Apply’ to add the affiliate link to your post.

It’s easy to change an affiliate link, such as when the company you’re linking to moves to a different affiliate program.

You just change the link once in the ThirstyAffiliates or Pretty Links page of your dashboard. The link in your posts will stay the same as before, but will now redirect to the new affiliate link everywhere it’s used.

For more handy affiliate plugins, check out our post on the best affiliate marketing tools and plugins for WordPress.

How to Manually Add a Link in HTML

Occasionally, you might want to add a link to your site using HTML code. This could happen if you need to use a custom HTML block or widget.

You might also need to directly edit a link in a theme file. Just make sure you always use a child theme so you don’t lose your changes when you update the parent theme.

It’s easy to create a link in HTML. To try it, add a custom HTML block to a post or page. You can find this block under ‘Widgets’ or you can search for it using the search bar.

Adding a Custom HTML Block to Your Post or Page

Next, you’ll see a box where you can write HTML. Copy this code into the box:

 <a href="https://www.yourlinkhere.com">Text</a> 

It should look like this:

The HTML Code to Create a Link

You can click the ‘Preview’ tab to see how your code will look in your post or page:

Previewing How the HTML Will Display in the Post or Page

Now click back to the ‘HTML’ tag so you can change the URL to the correct webpage. You can also change the word ‘Text’ to whichever word or words you want to use for your link.

You might like to add a title to the link as we did earlier. You’ll need to include code like this, and you can change ‘This is the title’ to anything you want.

 <a href="https://www.yourlinkhere.com" title="This is the title">Text</a> 

If you want your link to open in a new tab, then simply add target="_blank" to the HTML code, like this:

 <a href="https://www.yourlinkhere.com" target="_blank">Text</a> 

If you want your link to be nofollowed, then add rel="nofollow", like this:

 <a href="https://www.yourlinkhere.com" rel="nofollow">Text</a> 

You can include all of these at once. Here’s an example of a link with a title that opens in a new tab and is nofollowed:

 <a href="https://www.yourlinkhere.com" title="This is the title" target="_blank" rel="nofollow">Text</a> 

That’s how you create a link in HTML, if you ever need to.

An anchor link is a type of link on the page that brings you to a specific place on that same page. It allows users to jump to the section they’re most interested in.

Take a look at the animated screenshot below:

Anchor link preview

These types of links are really helpful when writing longer tutorials or content, so your users can easily jump to the section they’re most interested in.

We have created a detailed guide on how to easily add anchor links in WordPress.

Want to add social share links or buttons on your site?

These links make it easy for your users to share your content on their favorite social networks. Sometimes social share links or buttons are also accompanied by total share count.

Social Share Links

We don’t advise users to add these links manually. Instead, you should always use a social share plugin. We have a step by step guide on how to add social share buttons in WordPress.

We hope this article helped you learn how to add a link in WordPress. You may also want to see our beginner’s guide on how to create a professional business email address, and how to start an email newsletter to grow your audience.

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.

Beginner’s Guide: How to Use Rich Snippets in WordPress

Do you want to add rich snippets on your WordPress site?

Rich snippets allow you to have custom search listings for special content such as reviews, recipes, events, and more. These search listings will stand out and help get more traffic to your site.

In this article, we’ll show you how to add rich snippets to your WordPress site, step by step.

Beginner's guide: how to use rich snippets in WordPress

Why Use Rich Snippets on Your WordPress Site?

Rich snippets use what’s called schema markup to provide extra information about your content to the search engines.

The search engine bots use this data to show additional information about your posts and pages in the search results.

Rich snippets example

This helps to make your posts and pages stand out more in the search results, which can improve your organic click through rate and help you increase your blog traffic.

It also helps you build authority in your niche, as your site becomes more visible in the search.

Rich snippets are not just for review sites or recipes. You can use rich snippets for events, products, people, video, music, apps, articles, blog posts, and more.

Note: It’s important to know that adding schema markup to your website doesn’t guarantee that Google will display it. Google may choose not to for some searches. However, adding the schema markup helps Google to understand your content and makes it much more likely to display rich snippets.

That being said, let’s show you how to add rich snippets to WordPress. Simply use the quick links below to jump straight to the method you want to use.

Method 1. Adding Rich Snippets in WordPress Using a WordPress Plugin

The easiest way to add rich snippets to WordPress is by using the AIOSEO plugin. It’s the best WordPress SEO plugin in the market used by over 3+ million websites. 

AIOSEO

It helps you easily optimize your site for the search engines without the need to hire an SEO expert. Plus, you can set up rich snippets on your site in a couple of clicks.

Note: You’ll need the pro version of AIOSEO since it includes schema markup functionality and other features like XML sitemaps, a redirection manager, and more. There is a free version of the plugin you can use to get started. 

First thing you need to do is install and activate the AIOSEO plugin. For more details, see our beginner’s guide on how to install a WordPress plugin.

Upon activation, you’ll immediately be taken to the AIOSEO setup wizard. You need to click the ‘Let’s Get Started’ button. 

Click let's get started AIOSEO setup wizard

If the setup wizard doesn’t immediately show up, then simply go to All in One SEO » Dashboard.

From here, you can click the ‘Launch the Setup Wizard’ button. This will walk you through the steps of setting up the plugin for your website. 

AIOSEO dashboard launch setup wizard

As you go through the setup wizard, you’ll need to activate the ‘Advanced Rich Snippets + Schema Markups’ addon.

Simply check the box so it turns blue, then click the ‘Save and Continue’ button.

Active rich snippets and schema markup addon

On the final screen, you need to enter your license key and then click the ‘Connect’ button.

You can find this information under your account page on the AIOSEO website. 

Enter AIOSEO license key

For more details, see our ultimate guide on how to set up AIOSEO for WordPress correctly.

After that, you can go to AIOSEO » Search Appearance in your WordPress admin panel, and then click on the ‘Content Types’ tab.

Go to AIOSEO search appearance and click content types

Then, you can set the schema markup type for your posts and pages.

Simply click the ‘Schema Markup’ menu option, then you can choose the schema type from the drop down.

You will be able to see different content types that you can create with the plugin. The list includes:

  • Course
  • Product
  • Recipe
  • Software/App
  • FAQ
  • Web page
  • Profile
  • Article

Clicking on any content type will show you the fields that will be available.

Default schema markup for posts

These settings will be the default settings when you add a new blog post. However, you can change these on an individual post basis too.

Below the post schema markup, you can also control the default schema for your pages.

Simply select the ‘Schema Type’ from the drop down. Then, you’ll have additional options for the schema type you select.

Default schema markup for pages

Once you’re finished making changes, click the ‘Save Changes’ button before you leave the page. 

Adding Rich Snippet Information to Your Posts and Pages

Now, you can add schema information to your individual posts and pages, so they’ll display with unique rich snippets in the search results.

To do this, simply open up a blog post and scroll down below the post editor. Here you’ll see a meta box called ‘AIOSEO Settings’.

You need to click the ‘Schema’ tab and then select the proper schema for the post from the ‘Schema Type’ drop down.

There will be different fields available, based on the option you select. For example, the ‘Software Application’ schema type includes fields for the name, price, description, review, and more.

Post schema markup for software application

Once you’re finished, make sure to click ‘Update’ or ‘Publish’ to save your changes.

Adding schema markup to individual WordPress pages is similar. You need to open up the page you want to edit and then scroll down to the ‘AIOSEO Settings’ meta box below the page editor.

Then, click the ‘Schema’ menu option and select your page schema type from the’ Schema Type’ drop down.

Different options will appear depending on the type of schema you select. 

Page schema example for web page

Just like above, you need to click ‘Update’ or ‘Publish’ to make your changes live. 

Adding rich snippet information won’t make a difference on the front end of your WordPress blog. However, you’ll be giving the search engine bots extra data to display with your posts and pages in the search results. 

Method 2. Adding Rich Snippets by Adding Code to WordPress

Another way to add rich snippets to WordPress is by adding code to WordPress. If you haven’t done this before, then see our guide on how to copy and paste code in WordPress.

Rich snippets or structured data markup can be written into three different vocabularies. These vocabularies are microdata, RDFa, and JSON-LD. You can use any of them on your site. However, most beginners find RDFa to be more beginner friendly.

Here is an example of a user’s about page in WordPress. Normally the text of the page will look something like this:

 John Smith <img src="johnsmith.jpg" alt="Photo of John Smith"/> Support Technician 342 Acme Inc. 101 Washington Avenue Eagleton IN 98052 (425) 123-4567 <a href="mailto:johnsmith@example.com">johnsmith@example.com</a> Website: <a href="http://www.example.com">example.com</a> 

This can be easily transformed with rich snippets.

If you are familiar with HTML, then you can easily understand the following example:

 <div vocab="http://schema.org/" typeof="Person">   <span property="name">John Smith</span>   <img src="johnsmith.jpg" property="image" alt="Photo of John Smith"/>   <span property="jobTitle">Support Technician</span>   <div property="address"  typeof="PostalAddress">     <span property="streetAddress">       342 Acme Inc.       101 Washington Avenue     </span>     <span property="addressLocality">Eagleton</span>,     <span property="addressRegion">IN</span>     <span property="postalCode">46818</span>   </div>   <span property="telephone">(425) 123-4567</span>   <a href="mailto:johnsmith@example.com" property="email">johnsmith@example.com</a> Website   <a href="http://example.com" property="url">example.com</a> </div> 

For each content type there are some special properties that need to be defined.

Schema.org is the organization that helps maintain the standard for different content types. You will find extensive documentation with examples for each schema content type on their website.

Here is another example of a recipe with rich snippets.

 <div vocab="http://schema.org/" typeof="Recipe">   <span property="name">Mom's World Famous Banana Bread</span>   By <span property="author">John Smith</span>,     <img property="image" src="bananabread.jpg"     alt="Banana bread on a plate" />   <span property="description">This classic banana bread recipe comes   from my mom -- the walnuts add a nice texture and flavor to the banana   bread.</span>   Prep Time: <meta property="prepTime" content="PT15M">15 minutes   Cook time: <meta property="cookTime" content="PT1H">1 hour   Yield: <span property="recipeYield">1 loaf</span>   Ingredients:   - <span property="recipeIngredient">3 or 4 ripe bananas, smashed</span>   - <span property="recipeIngredient">1 egg</span>   - <span property="recipeIngredient">3/4 cup of sugar</span>   ...   Instructions:   <span property="recipeInstructions">   Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add   the flour last. Pour the mixture into a loaf pan and bake for one hour.   </span> </div> 

If you are manually adding rich snippets into your WordPress posts, then you will need to manually add HTML to WordPress. For more details, see our beginner’s guide on how to edit HTML in WordPress code editor.

You may also need to refer to Google’s Developer resource on structured data to understand which properties are required for each content type.

Testing Your Rich Snippets and Schema Markup

If you’re adding rich snippets manually, then you’ll want to make sure you’ve added the structured data to your WordPress website properly.

To check your rich snippets, simply head over to the Google Structured Data Testing Tool. Then, there are two different tests you can run to test your structured data.

First, click the ‘Go to the Rich Results Test’ button. This will see what rich results can be generated for your page.

Go to rich results test

Then, enter your page or post URL into the box.

Next, click the ‘Test URL’ button.

Run rich results test

This will automatically generate a report to see which rich results features can appear when that page or post is listed in the search results.

It will give you any errors or warnings, so you can improve your structured data. You can click the drop down arrow next to any warning and you’ll get detailed instructions for how to fix it.

Rich results test results

Next, you can test your schema markup by going back to the Google Structured Data Testing Tools page.

Then, click the ‘Go to the Schema Markup Validator’ button.

Go to schema markup validator test

Next, enter your URL or code snippet into the ‘Test your structured data’ popup.

Then, click the ‘Run Test’ button.

Enter URL or code and test structured data

The tool will automatically analyze your code to see if there are any errors.

You’ll want to see 0 errors on the right hand side of the page.

Schema markup test results

We hope this article helped you learn how to use rich snippets on your WordPress site. You may also want to see our guide on how to choose the best domain name registrar and our expert picks of the best AI chatbots software for your website. 

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.

What is Akismet and Why You Should Start Using it Right Away

Every WordPress installation comes with Akismet plugin pre-installed, but it’s not activated by default.

Often users ask us what is Akismet and whether you really need to activate this plugin on your WordPress.

In this article, we will explain what is Akismet and why you should start using it right away.

What is Akismet and why you should use it right away

What is Akismet?

Akismet is a comment spam filtering service for WordPress. Automattic is the company behind Akismet and it was founded by the WordPress co-founder Matt Mullenweg.

Akismet goes through the blog comments and filters out spam using its algorithms. The algorithm learns from its mistakes and the actions taken by other websites.

For example, when several websites start reporting similar-looking content as spam, then Akismet will learn to identify that kind of content as spam in the future.

As of today, Akismet has caught more than 523 billion spam comments, and the number is still growing.

Why You Should Use Akismet?

On popular WordPress websites, the number of spam comments could get as high as 85%. This means that out of every 100 comments, only 15 are legitimate.

Besides that, comment moderation is a time-consuming task. You would have to spend countless hours filtering spam comments manually.

This is where Akismet can save you hours. The WordPress plugin will automatically catch spam comments before it lands in your moderation queue as pending. This allows you to focus your energy on moderating comments by real users.

When a comment is marked as spam by Akismet, it will not show the Awaiting Moderation notice like you normally see with other comments. Instead, it will automatically move them to the spam folder.

Now, let’s look at how you can configure Akismet on your website.

How to Set up Akismet in WordPress

The first thing you’ll need to do is install and activate the Akismet Spam Protection plugin for WordPress. For more details, please see our guide on how to install a WordPress plugin.

Upon activation, you can navigate to Settings » Akismet Anti-Spam from your WordPress dashboard. Next, go ahead and click the ‘Set up your Akismet account’ button.

Set up your Akismet account

Now, a new tab or window will open in your browser, and you’ll see the Akismet pricing page. Akismet offers free and premium pricing plans.

If your site is not for commercial purposes, like it doesn’t run ads, then you can choose the Personal plan. Otherwise, you’ll need to select one of the commercial plans.

For the sake of this tutorial, we’ll be using the Personal plan.

Choose a pricing plan

On the next screen, you’ll need to enter your email address, name, and website URL to create an account, along with choosing a price you want to pay for your account.

By default, the price will be set to $36 per year. However, you can move the pricing slider under ‘What is Akismet worth to you’ to any price from 0 to $120 per year.

Aside from that, Akismet will also ask you to check the boxes if you’re not running ads, selling products and services, or promoting a business on your site.

Once that’s done, simply click the ‘Continue with Personal Subscription’ button.

Create an account on Akismet

Next, you’ll need to enter the confirmation code that you received in the email address provided upon signup. After entering the code, click the ‘Continue’ button.

Enter the confirmation code

Akismet will verify the code and then show you a page with additional instructions to complete the signup process.

To complete the configuration, you can head back to your site’s WordPress dashboard and navigate to the Settings » Akismet Anti-Spam page.

Now go ahead and click the ‘Manually enter an API key’ button.

Manually enter an API key

When you click the button, a new field will appear where you’ll need to enter the API key. You can find the API Key in your email inbox.

After entering the key, simply click the ‘Connect with API key’ button.

Connect your API key

Once the API key is connected, Akismet will start protecting your website from spam comments.

You can also tweak the settings in Akismet. For instance, the plugin lets you display the number of approved comments beside each comment author, review spam comments or automatically discard them, and show a privacy notice under comment forms.

When you’ve made the changes, go ahead and click the ‘Save Changes’ button.

Edit Akismet settings

Next, you can review spam comments by navigating to Comments from your WordPress dashboard and then selecting the ‘Spam’ tab.

If you feel that a legitimate comment has been marked as spam, then you can simply click the ‘Not Spam’ button under the comment.

You can also permanently delete comments or click the ‘Empty Spam’ button to clear the spam folder.

Spam comments in WordPress

We hope this article helped you learn what is Akismet and why you should start using it right away. You can also check our guide on how to create a free business email address and the best live chat software for small businesses.

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 Ultimate Affiliate Marketing Guide for Beginners – Step by Step

Do you want to know how to start affiliate marketing as a beginner?

Affiliate marketing is one of the most popular ways to make money online. It allows you to add a steady income stream to your blog’s monetization strategy.

In this affiliate marketing guide for beginners, we will explain how affiliate marketing works, and how to get started right away.

Ultimate affiliate marketing guide for beginners

What is Affiliate Marketing?

Affiliate marketing is when you earn a commission when a person makes a purchase after clicking your unique referral link.

Unlike other ad types which pay based on clicks or views, affiliate marketing works on a CPA (cost-per-acquisition), or CPL (cost-per-lead) basis. In other words, you only earn a commission when someone takes an action such as buying a product or signing up for a free trial.

Because there is less risk for the advertiser, affiliate programs pay out much higher commissions to publishers compared to Google AdSense or other types of ads.

Affiliate marketing requires a more hands-on approach. You have to find a product or service that you believe will be helpful to your users. After that, you have to strategically add it to your blog posts and other areas of your site so your users can purchase the product using your referral link.

To give you a better idea, here are some popular affiliate marketing blog examples.

Wirecutter

wirecutter affiliate marketing website

Wirecutter is a well-known product recommendation website from the New York Times. It publishes product reviews and ‘best of’ lists for all types of affiliate products including kitchen tools, home decor, pet supplies, software, and more.

Lucie’s List

lucie's list affiliate marketing blog example

Lucie’s List is an affiliate marketing blog for new and expectant parents. Throughout the blog, you can find buying guides with affiliate links for strollers, car seats, bottles, high chairs, and other baby products.

NerdWallet

nerd wallet affiliate website

NerdWallet is another popular website that earns money by promoting financial products to its audience. It publishes reviews on the best credit cards, mortgages, and banking services.

How Does Affiliate Marketing / Tracking Work?

First, you have to find a company or product that you want to promote. You need to select a product or service that you believe will be relevant to your blog’s topic and useful for your audience. The product or company you choose is often called a ‘Merchant’.

Next, you have to partner up with the company by joining their partner program. This makes you their ‘Affiliate’. Some companies also use the terms associates or partners.

Once you have joined their partner program (also called an Affiliate Program), you will get a unique affiliate ID. You will need to use this affiliate ID in all affiliate links that you add to your website to promote the product.

You can promote the product by adding in-depth product reviews, recommending it in your articles, displaying banner ads, sending an email newsletter, and more. All traffic you send to the merchant website with your unique ID will be tracked.

Once a user makes a purchase, you will earn a commission. Your payment is issued once your earnings reach a particular threshold, typically 45-60 days.

How to Get Started with Affiliate Marketing

First, you need to make sure that you are using the right blogging platform, and that you are allowed to run affiliate marketing campaigns on your website.

For example, if you are using WordPress.com, then there are some restrictions regarding the products and services you can link to. For more details see our comparison of WordPress.com vs WordPress.org.

On the other hand, if you are on a self-hosted WordPress.org website, then you can add any affiliate link you want and efficiently manage your affiliate campaigns.

If you haven’t created a website already, then you can get started right away. Simply follow the instructions in our step-by-step guide on how to start a blog, and you’ll be up and running in less than 30 minutes.

Next, you need to let your users know how you make money from your website by adding a disclosure page. See WPBeginner’s disclosure page and feel free to use it as a template.

You will also need to add a privacy policy and terms of service page to your blog.

These are among the must-have pages for every WordPress blog. They not only save you from legal issues in the future, but they also help you build trust with your audience.

Finding Affiliate Products and Services to Promote

There are many ways to find products and companies that you can partner up with as an affiliate. Here are some of the easiest ways to find the products you can promote.

1. Become an affiliate for products you already use

First, you need to look at the products and services that you already use and find useful. This makes it easy for you to convince your users about the product since you already know the pros and cons.

Next, you need to go to the product’s website and search for terms like ‘Affiliate program’, ‘Partners’, or ‘Affiliates’. Many companies are actively looking for affiliate marketers to promote their products, so they often add a link to their affiliate page in their website’s footer.

Finding affiliate programs to join

2. Look for products other blogs are recommending

Another way to find products is by looking at other blogs similar to yours. You will be able to find many similar blogs that are using affiliate marketing to make money.

But how do you know that they are promoting affiliate products?

First, look for the obvious and easily noticeable banner ads on their website. Take your mouse to the banner ad, and you will see a link in your browser’s status bar.

finding affiliate links

This link will usually have an affiliate ID. Affiliate ID helps merchants track which affiliate partner is sending them traffic and sales.

Sometimes these links may look like internal links, but when you click on them they will take you to a product website with the affiliate marketer’s ID in the link. You will also find similar affiliate links throughout their content.

3. Join bigger affiliate networks

Another way to find products to promote is by joining affiliate networks. These websites act as a middleman between affiliate marketers and merchants.

You will notice that many products and companies that you want to partner with already use an affiliate network. This helps you quickly find a lot of products that you can start promoting on your website.

In the next section we’ll share more about affiliate networks and our top recommendations.

4. Reach out to companies

If you really want to promote a product but can’t find any information about their affiliate program, then you can simply ask them via email.

Some companies may not be actively promoting their affiliate program. If they have an affiliate program, then they can invite you to join.

What are Affiliate Networks? Why You Should Join Them?

Affiliate networks act as a middleman between you (the affiliate marketer) and merchants (companies that want to sell their products).

For merchants, they provide their platform as a service to list their products, track affiliate traffic, manage affiliates, and send payments.

For affiliate marketers, they offer an easy-to-use platform to search for products, sign up as an affiliate, and track your campaign performance and earnings.

Following are some of the most popular affiliate networks that you can join.

  • ShareaSale – One of the largest affiliate networks with many high-paying affiliate products for almost every category imaginable. For example, the popular WordPress hosting company WP Engine uses ShareASale to manage its affiliates.
  • CJ Affiliate (Formerly, Commission Junction) – Another top affiliate network with a huge number of merchants and products neatly organized in categories and easily searchable. Companies like GoDaddy, Expedia, and many others use CJ.
  • ClickBank – This is a large online marketplace for selling digital products in various categories from different vendors. It is easy to use and has tons of learning resources for new affiliate marketers.
  • Amazon Associates – Amazon is the world’s largest eCommerce store with millions of products. You can sign up for their affiliate program and start earning by sending people to a website they already use for their online shopping. See this guide on how to build an Amazon affiliate store in WordPress.

Which affiliate networks should you join?

You should join affiliate networks that have the products you want to promote. You can join multiple affiliate networks for different products. We use all the above networks and a few others.

Make sure that you always check the network program policies. You also need to review the program policies of individual products and merchants. This will give you a clear idea about your earnings, payments, additional incentives, and more.

Affiliate Marketing Tips to Increase Earnings

Now that we have covered the basics, let’s dive into some more tips on how to actually make money from affiliate marketing.

1. Choose good products and companies to promote

As an affiliate marketer, you don’t have control over the future of products that you are recommending. That’s why you need to make sure that you are recommending the best products from reputable companies.

The best way to do this is by recommending the products and services that you have actually used. If you want to recommend a product that looks useful, then feel free to contact them to learn more.

If you ask nicely, most companies will gladly offer you a free account or copy to test their product or service.

2. Keep your audience in mind

Keep your website’s audience and their interests in mind when choosing the product. For example, if you run a fashion blog, then you would want to promote fashion accessories, clothing, and similar products that your audience would want to buy.

You also need to make sure that you are not just recommending products because they are offering higher commissions. If a user buys a product based on your recommendation, and it doesn’t turn out useful, then they will never trust your recommendations again.

3. Offer highly useful and valuable content

You can add affiliate links and banners anywhere on your WordPress site. However, simply adding links will not result in convincing your users to actually buy those products.

You need to convince your users by offering useful and valuable information about the product. Many affiliate marketers do that by writing in-depth product reviews, video reviews, product comparisons with pros and cons, and more.

4. Start an email newsletter

Promoting affiliate products in your email newsletter is another powerful way to boost your affiliate income.

That’s because email marketing is direct and ongoing. Once people sign up for your newsletter, they’ll regularly receive awesome deals and product recommendations directly in their inbox.

To convince people to subscribe to your newsletter, you can use a tool like OptinMonster.

The OptinMonster lead capture plugin

OptinMonster is the best email capture tool on the market. Using the drag and drop builder and 400+ built-in templates, you can quickly create eye-catching newsletter optin forms.

Check out this guide to learn how to build your email list in WordPress with OptinMonster.

5. Sell dropshipping products

Aside from promoting affiliate products on your website, you can also diversify your income with dropshipping.

Dropshipping is where you accept customer orders without keeping any products in stock. When a customer purchases a product from your site, you place the order with the original vendor and they’ll ship the product directly to the customer.

You can learn more in our step-by-step dropshipping guide for WordPress.

Affiliate Marketing Plugins and Tools for WordPress

As your blog grows, you will be recommending a lot of different products. This will make it difficult for you to manage all the affiliate links, banners, and ads spread all over your website.

Luckily, there are excellent affiliate marketing tools and plugins for WordPress that you can use to help with management.

1. ThirstyAffiliates

ThirstyAffiliates plugin

Manually adding links to your content becomes quite difficult as your site grows. You will have to copy the URL with your affiliate ID every time you mention the product and paste it into WordPress.

This is where ThirstyAffiliates can help. It is an affiliate link management plugin that allows you to easily add affiliate links in WordPress.

It also lets you change lengthy affiliate links into cloaked pretty links which are more user-friendly.

ThirstyAffiliates also has the option to automatically replace keywords with affiliate links, which can significantly help you boost your affiliate revenue.

2. AdSanity

adsanity ad management plugin

AdSanity is the best WordPress ad management plugin and a must-have for every affiliate marketer’s toolbox. It allows you to create banner ads from your WordPress site and manage them from a single dashboard.

AdSanity also makes it easy to insert ads into your WordPress posts, pages, and sidebar widgets. You can use it to manage your third-party ads like Google AdSense ads and banners as well. For detailed instructions, see our guide on how to manage ads in WordPress with AdSanity.

3. MonsterInsights

MonsterInsights

MonsterInsights is the best Google Analytics plugin for WordPress. It allows you to see where your users are coming from and what they do when they are on your website.

It also helps you track your outbound affiliate links using Google Analytics. This enables you to find out which affiliate links are clicked more often and helps you discover missed opportunities.

track top affiliate links with monsterinsights

You can see all of this important data in a single, easy-to-read report right from your WordPress dashboard.

MonsterInsights can also detect if you’re using ThirstyAffiliates to manage your affiliate links. That means it can automatically track all your affiliate links, no matter what link prefix you’re using.

Other powerful MonsterInsights features include eCommerce tracking, file download tracking, forms tracking, and much more.

Need more tools? See our full list of top affiliate marketing tools and plugins for WordPress.

We hope this ultimate affiliate marketing guide for beginners helped you learn how to become an affiliate marketer. You may also want to see our ultimate WordPress SEO guide to bring more visitors to your website.

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.