tech-mtaani tech-mtaani
  • Home
  • How-To Guides
  • Business Software
    • Social Media Tools
    • Landing Pages
    • Website Builders
    • Email Marketing
    • CRM SOFTWARE
    • Web Hosting
  • Reviews
  • General News
  • WHAT-IS
Reading: How to Add Featured Posts in WordPress Sidebar
Share
Subscribe Now
Tech-MtaaniTech-Mtaani
Aa
Search
  • Home
  • How-To Guides
  • Business Software
    • Social Media Tools
    • Landing Pages
    • Website Builders
    • Email Marketing
    • CRM SOFTWARE
    • Web Hosting
  • Reviews
  • General News
  • WHAT-IS
Follow US
Copyright © 2014-2023 Ruby Theme Ltd. All Rights Reserved.
Tech-Mtaani > Blog > HOW-TO GUIDES > How to Add Featured Posts in WordPress Sidebar
HOW-TO GUIDES

How to Add Featured Posts in WordPress Sidebar

admin By admin May 14, 2023 3 Min Read
SHARE

There are many ways to add featured posts to your WordPress sidebar. Here are a few methods:

Method 1: Using the Text Widget

  1. Go to Appearance > Widgets in your WordPress dashboard.
  2. Drag the Text widget into the sidebar where you want to display the featured posts.
  3. In the text editor, type the following shortcode:

Code snippet

[display-posts]

Use code with caution. 

  1. In the shortcode, you can use the following parameters to customize the list of featured posts:
  • number: The number of posts to display.
  • orderby: The order to sort the posts by. Valid values are date, title, author, rand, and comment_count.
  • order: The order to sort the posts in. Valid values are ASC (ascending) and DESC (descending).

For example, to display the latest 5 posts, you would use the following shortcode:

Code snippet

[display-posts number="5"]

Use code with caution. 

  1. Click Save.

Method 2: Using the Navigation Menu Widget

  1. Go to Appearance > Widgets in your WordPress dashboard.
  2. Drag the Navigation Menu widget into the sidebar where you want to display the featured posts.
  3. In the Menu Name field, enter a name for your featured posts menu.
  4. Click Create Menu.
  5. In the Select Menu dropdown, select the Featured Posts menu.
  6. Click Save.

Method 3: Using a Plugin

There are many plugins that can help you add featured posts to your WordPress sidebar. One popular plugin is Display Posts. To use this plugin, follow these steps:

  1. Install and activate the Display Posts plugin.
  2. Go to Appearance > Widgets in your WordPress dashboard.
  3. Drag the Display Posts widget into the sidebar where you want to display the featured posts.
  4. In the Title field, enter a title for your featured posts widget.
  5. In the Number of Posts field, enter the number of posts you want to display.
  6. In the Order By field, select the order you want to sort the posts by.
  7. In the Order field, select the order you want to sort the posts in.
  8. Click Save.

Which method should you use?

The best method for adding featured posts to your WordPress sidebar depends on your needs and preferences. If you don’t need any customization options, the Text Widget method is the easiest way to add featured posts. If you need more customization options, the Navigation Menu Widget or a plugin like Display Posts are better options.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Copy Link Print
Previous Article Coming Soon vs Maintenance Mode: What’s the Difference (Explained)
Next Article How to Write Math Equations in WordPress
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Facebook Like
Twitter Follow

Subscribe Now

Subscribe to our newsletter to get our newest articles instantly!

Most Popular
The use of blockchain technology for data security and privacy
October 12, 2023
The use of blockchain technology for non-fungible tokens (NFTs)
October 12, 2023
The use of blockchain technology for decentralized finance (DeFi)
October 12, 2023
The use of blockchain technology for digital identity and credentials
October 12, 2023
The ethical implications of blockchain technology
October 12, 2023

You Might Also Like

How to delete all WooCommerce products at once using SQL code

1 Min Read

How to Remove the Sidebar in WordPress (6 Easy Methods)

5 Min Read
404-page-error
HOW-TO GUIDES

How to Improve Your 404 Page Template in WordPress (2 Ways)

2 Min Read

How to Create a Custom HomePage in WordPress

3 Min Read

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

tech-mtaani tech-mtaani

We provide tips, tricks, and advice for improving websites and doing better search.

Latest News

  • Home
  • How-To Guides
  • Business Software
    • Social Media Tools
    • Landing Pages
    • Website Builders
    • Email Marketing
    • CRM SOFTWARE
    • Web Hosting
  • Reviews
  • General News
  • WHAT-IS

Resouce

  • About Us
  • Contact Us
  • Privacy Policy

Get the Top 10 in Search!

Looking for a trustworthy service to optimize the company website?
Request a Quote
Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest news or an exclusive offer.

Enter your email address

Thanks, I’m not interested

Welcome Back!

Sign in to your account

Lost your password?