Summarize with:

Posts are the lifeblood of the majority of WordPress sites. They grab visitors’ attention and prevent them from leaving your website. Therefore, you need to showcase those posts perfectly. 

One way to do that is by displaying posts in a slider. However, do you know how to make post slider in WordPress? It’s an easy job. Just read this article.

Here, we shared two practical methods to display posts in a slider. Select your preferred method and start showing off your WordPress posts in the least amount of time. 

1st Method: How to Add WordPress Post Slider Without Plugin

We’ll first show you how to create a post slider in WordPress without a plugin. This method isn’t suitable for people without technical knowledge. 

Before attempting this technique, it is essential to understand how to create and utilize a child theme, as well as how to fully back up your website. You must also have a working knowledge of PHP, HTML, CSS, and JavaScript. 

Note: Take a full backup of your website in case it breaks. Also, always modify your website using a child theme so that you don’t lose your changes due to theme updates. 

Step 1: Navigate to the Theme Function File

If you use a classic theme, you can access the theme function file {functions.php} by heading to WordPress Admin Panel > Appearance > Theme File Editor.

go to theme file editor

If you use a block theme, you’ll find this “Theme File Editor” submenu under the ‘Appearance‘ menu from your WordPress Admin Panel

Once you click that submenu, you’ll visit the theme editor window. Now, click “functions.php” file on the top right. 

Hit functions php file

Step 2: Insert a Post Slider Code

Now, you need to insert the code snippet below and click “Update File” button.

Insert the code and update theme function file

Here’s the code snippet: 

Okay, you now need to add a shortcode to a page or post where you want to display the post slider. Here’s that shortcode: [radius_post_slider]

Step 3: Include a Shortcode to Display Post Slider

Suppose you want to add the shortcode mentioned above to a page. So, go to WP Admin Panel > Pages > All Pages or Add Page.

Click add page submenu

You’ll now be inside the Gutenberg editor. Write a page title and click ‘+ (Block Inserter)‘ to include a block.

Write page title and click block inserter

After that, type ‘Shortcode‘ in the block inserter’s search field and select the ‘Shortcode‘ block.

Search for shortcode block inside the block inserter

At this point, copy this shortcode – [radius_post_slider] – paste it into the shortcode block’s field and hit the ‘Publish‘ or ‘Save‘ button.

**This code snippet will also work with Elementor, a popular page builder. Just insert the Elementor shortcode widget in your preferred page and include the [radius_post_slider] shortcode to display posts in a slider.** 

If you already have some posts published on your WordPress website, you’ll now be able to view them in a slider after visiting the page you’ve just published. See the animation below to know how our one appears.

Post slider view

As you can see, it’s a basic slider. If you want to add more functionalities, utilize various layouts, and take advantage of AI, follow the second method we are about to share. Let’s get started.

2nd Method: How to Make Post Slider in WordPress with a Plugin

It’s a beginner-friendly technique that anyone with a basic understanding of technology can follow. Let’s unwrap this method.

Step 1: Get the Best Post Slider Plugin for WordPress

You need to choose the best post slider plugin to display posts in a slider on your WordPress website. But how do you find the best among thousands of plugins?

Consider the criteria below to select the best post slider plugin for your website.

  • Ensure the plugin comes with an intuitive drag-and-drop interface 
  • It must provide responsive designs 
  • Make sure the plugin lets you customize slider layouts 
  • Check if the plugin is compatible with the latest WordPress version, your theme, and other plugins 
  • Check for compatibility with popular page builders, such as Gutenberg and Elementor.
  • Inspect customer reviews and support 
  • Check the developers’ reputation and ensure they regularly update the plugin
  • Compare the plugin with other contenders

After checking these facts, you can select a post slider plugin. We recommend The Post Grid plugin by RadiusTheme since it meets all the above criteria. It’s available in both free and paid versions. 

However, to showcase posts in a slider with this plugin, you need to opt for its pro version. That said, let’s install and activate the free one first.

Step 2: Install and Activate The Post Grid Plugin

Installation and activation are easy. Just navigate to your WordPress Admin Panel. Then, go to Plugins > Add Plugin.

Go to add plugin

Then, search for “The Post Grid” in the plugin search field and click “Install Now” button of the marked plugin in the screenshot below.

Press install now button of post grid

Finally, hit ‘Activate‘ button.

Press activate button

That’s how you install and activate the free version. Afterward, install and activate the pro version you got via email after purchasing this plugin.

Here are the steps to follow:

  1. Go to WordPress Admin Panel > Plugins > Add Plugin.
  2. Click “Upload Plugin” button.
Click upload plugin button
  1. Now, hit “Choose File” button.
Hit choose file button
  1. Then, press “Install Now” button.
Press install now button
  1. Wait a while and press ‘Activate‘ link. That’s it.

Step 3: Customize the Post Grid Plugin

After installing and activating this plugin, you can optionally go to its ‘Settings‘ and make changes according to your needs. For instance, you can determine which editor type (e.g., Gutenberg or Elementor) you want to use to include posts.

Also, you need to work with The Post Grid’s Settings‘ menu if you want to integrate AI to write posts. See the animation below to get a glance at the settings of this plugin.

The Post Grid Setting

Step 4: Create a Shortcode

We now need to create a shortcode with the “The Post Grid” plugin and embed that code into a post or page to display all the posts in a slider.

So, let’s head to WordPress Admin Dashboard > The Post Grid > Add New Post Grid.

Go to add new post grid

Now watch the animation to learn to create a shortcode using this plugin.

Shortcode creation with post grid

Lastly, copy and save the shortcode for later use.

Copy the shortcode

Step 5: Embed the Shortcode

You now need to embed the shortcode you copied and saved earlier into a post or a page. So, open your chosen page or post (where you want to display posts in a slider) inside the Gutenberg or Elementor editor. 

Note that you can use the shortcode block in Gutenberg and the shortcode widget in Elementor to embed the code. We’ll demonstrate using the Gutenberg editor.

Once you open a page or post inside the Gutenberg editor, click ‘+‘ symbol.

Hit plus symbol

Then, write ‘Shortcode‘ inside the block inserter and click ‘Shortcode‘ block.

Insert shortcode block

Include the shortcode you saved earlier inside the ‘Shortcode‘ block and press ‘Save‘ button in the top right corner to publish the post or page.

Inlcude shortcode and click save button

Now, visit that post or page to see all your posts in a slider.

Screenshot of a slider with post grid

As you can see, it is easy to make a post slider in WordPress using this plugin. We encourage you to use this plugin and explore all its features. In addition, don’t forget to read the documentation of The Post Grid if you need assistance along the way.

What’s the Difference Between A Post Slider and a Carousel?

You might think that sliders and carousels have similar features. However, the reality is that they are distinct. A slider typically contains several images, and it displays one photo at a time. 

The image changes when a user interacts with the slider or a specific amount of time has passed. On the other hand, a carousel features multiple photos and displays those images simultaneously. 

When a slider can showcase only one image at a time, a carousel exhibits multiple images to enhance user engagement. This is the primary difference between a slider and a carousel.

Our Concluding Thoughts

Now that we’ve looked into how to make post slider in WordPress through this comprehensive guide. You can now easily add a post slider in WordPress by following one of these two methods shown above.

Select a method that suits your preferences. We recommend using the plugin method if you lack technical knowledge and need a straightforward solution. Alternatively, you can try the first method if you’re tech-savvy and want to add a post slider for free.

author
Md. Hasan Biswas is a Technical Content Writer at RadiusTheme. He strives to create engaging, helpful, and impactful content. Beyond writing, Hasan loves cooking, watching movies and TV series, and reading books.