Resources     Blog  

  1. Home
  2. WordPress Tutorials
  3. How to Display Random Quotes in a WordPress Sidebar

How to Display Random Quotes in a WordPress Sidebar

Do you want to share inspirational quotes with your visitors in WordPress? Throughout history, many inspirational, motivational, and just plain awesome quotes have been created. Some of these quotes help people make it through tough days, while others help motivate them to greatness. You can share your favorites quotes in WordPress by using the Quotes Collection plugin.

This plugin allows you to display quotes on your sidebar. Visitors can rotate through them by clicking a button. For example, if you have 3 quotes named quote 1, 2, and 3 and you are currently displaying quote 1, when the visitor presses the button, quote 2 will appear. Today, I will demonstrate how to add quotes to your WordPress sidebar using the Quotes Collection plugin.

Why Display Quotes on Your WordPress Website

Depending on the nature of your website, displaying quotes can fit in perfectly. There is a quote for almost any situation and if there isn’t, you can just make one of your own. The plugin allows you to manually enter any quote and author, but don’t abuse it. For example, if you are posting “A person who never made a mistake never tried anything new” which is a famous Albert Einstein quote, do not put your name or the wrong person’s name as the author. This can take away your website’s credibility.

Keep in mind there is a large number of quotes where the author is unknown. In those situations, it is best to list the author as Anonymous. Make sure the quotes match the tone that your website is creating. For example, if your website is trying to motivate visitors, use a motivational quote.

How to Display Random Quotes in a WordPress Sidebar

Today, I will demonstrate how to add quotes to your WordPress sidebar using the Quotes Collection plugin. This plugin allows you to add a lot of quotes to your sidebars. The default number of quotes is 20 and you can change that to fit your needs. This plugin is very easy to use and should be a very quick process.

Let’s start off by clicking on Plugins and selecting the Add New option on the left-hand admin panel.

Add New

Search for Quotes Collection in the available search box. This will pull up additional plugins that you may find helpful.

Search for Quotes Collection in the available search box.

Scroll down until you find the Quotes Collection plugin and click the “Install Now” button and activate the plugin for use.

click the "Install Now" button.

On the left-hand admin panel click on Quote Collection and select the Options option. This will pull up the main settings page.

click on Quote Collection and select the Options option.

You can select the number of quotes in your rotation and give a name to the button to change the quote. There is also a checkbox that allows you to select quotes dynamically. You may need to check this box if your websites caching plugin is interfering. You will know if this needs to be checked if you can only see the same quote after you press the button. Come back to change this after you set up the rest of the plugin if needed. Click on the “Update Options” button to save your work.

Click on the "Update Options" button

Click on the Add New tab. This is where you can add the quote. Everything is entered manually, so make sure you are spelling the quote and name correctly. You must check the Public checkbox or the quote will be saved as a draft. Once you have entered the quote and author click on the “Add Quote” button. Repeat this step to add as many quotes as necessary.

Click on the "Add Quote" button.

Click on the “All Quotes” tab. You can see every quote you have created here. If you need to Edit or Delete the quote, click on the appropriate button.

If you need to Edit or Delete the quote, click on the appropriate button.

It’s now time to start displaying your quotes. On the left-hand admin panel, click on Appearance and select the Widgets option.

Click on Appearance and select the Widgets option.

Locate the Random Quotes widget and drag it to your sidebars. You may also drag it to a different location if you don’t want them in your sidebar. You can change the name from Random Quote to “Quotes of the week” or something similar if you wish. Click on the “Save” button.

Click on the "Save" button.

Your quotes should now be displayed on your website. Another way to display your quotes is by using shortcodes. Here is a quick list of the shortcodes you can use.

The following shortcode will pull up all quotes with the author name, Albert Einstein. Replace Albert Einstein with an author of your choice: 

[quotcoll author=”Albert Einstein”]

The following shortcode will pull up all quotes with the Motivational tag. Replace Motivational with a tag of your choice. If you want to use multiple tags, separate them with a comma: 

[quotcoll tags=”Motivational”]

For a full list of the plugin’s shortcodes, visit the plugin’s page.

Congratulations, you have successfully added quotes to your website. If you run multiple websites you can use the Importing and Exporting tabs to move your quotes in between websites. Remember to look for typos, you may ruin someone’s favorite quote by mistake.

Motivate Your Visitors to Come Back

Visitors can visit a site for any reason. You may have released a new piece of content, feature, product, or service, but sometimes visitors will come back for something else. Your quotes could be that something else. Reading a motivational or inspirational quote can help someone make it through a tough day. Your visitors will appreciate your website if it provides good quotes.

These quotes will blend in really nice if you write blogs about life events. You may also wish to pull your own quotes out of your content to display. Placing your quotes next to well-known individuals like Albert Einstein will make you look better as a content creator. Just make sure you don’t give credit to the wrong person.

What is your favorite quote of all time? Do you think your visitors will appreciate seeing famous quotes when they visit?

Author: Ron Helms

I currently work for GreenGeeks as a Support Technician. My primary roles are supporting our VPS and Dedicated server clients, as well as performing site migrations. With experience in the web hosting industry since 2009, there is rarely a question I can’t help answer. In my spare time, I enjoy gaming and working on cars as an automotive enthusiast.

Was this article helpful?

Related Articles

Comments

  1. Hello,

    I tried to add a quote sidebar onto my front page through WP, but once a complete those steps you listed above, my front page (main) looses it’s original design. The sidebar with the quotes is not where in site.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.