How to display the nearest post in wordpress

Many WordPress users want to display their nearest posts on their website. This is like the most basic thing, which can help internal links and users participate.

The nearest post can be displayed in many parts of your website. You can find different options on the Internet to perform this operation. Today, we will show you the simplest way to show you through step -by -step guidelines.

Why display the nearest post in WordPress?

How to Display Recent Posts in WordPress

If you search on Google, you will find hundreds guide. Today, people will not stay on the website longer.

In fact, research shows that 55% of people stay on the webpage less than 15%.

It needs to work together in many aspects of your website to maintain the participation of visitors. However, one of the simplest ways is to display the nearest post on your page. So what happens when there is a recent post on your webpage? If the visitor completes the current page inspection or try to leave, you will have a way to stay on your website for a longer time.

This is why we will discuss how to display the recent posts on the WordPress website today.

How to display the nearest post in WordPress: 4 simple methods

Display Recent Posts

According to where you want to show There are many ways to show the nearest post on your WordPress website. However, today we will discuss the easiest way to display the recent posts on your website. These methods will help you display the nearest posts almost on the website.

  1. Use Gutenberg Block to display the nearest post
  2. Use the recent posts of WordPress
  3. Use the plug -in to display the nearest post
  4. Use a short code to display the nearest post

So now, let’s start from the first way to display the nearest post on your website.

Use Gutenberg Block to display the nearest post

Gutenberg has a built -in block to show the latest posts on your website. With the latest post, you can display your recent post on any page or post.

For this, you only need to click the (+) button to insert a block, and then search for \”the latest post \”\”.

Adding a Gutenberg Block

After adding a block, there are many settings that can be customized. Here are some things you can do.

You can decide only the title, or part of the contents (you can even set up how many words you want to display).

  • You can also show the author’s name and release date.
  • You can also display the special pictures of the post.
  • You can only show the posts of selected categories.
  • In the end, but not the most important point, you can accurately set the number of posts to be displayed.
  • Obviously, the pieces that Gutenberg is easy to use itself has enough options when displaying the nearest post to meet your needs.

Use the recent post of WordPress

Let us talk about another default way to display the recent post on your website. The way we are going to discuss now may be the easiest way to display the recent post on the WordPress website. Yes, we are talking about WordPress components of the recent posts.

It allows you to allow you to allow you to add small components in the sidebar, footbar or any wordpress Add the nearest post. This process is simple, just like adding any other components.

To use the recent posts of WordPress, follow the following process-

Step 1:

Log in to your WordPress management dashboard and navigate to Appearance \u0026 gt; small components.

Step 2:

Now \” The nearest post \” small components to anywhere you want.

Adding Recent Posts Widget

Step 3

: After clicking the nearest post widget, you will be able to add the name of the small component and the number of posts you want to display Essence

Customizing Recent Posts Widget

This is almost everything you can do using the default recent posts. Therefore, if the default method is not powerful enough for you, you can also choose a third -party plug -in to display the nearest post. The following is how to do this.

Use the plug -in to display the nearest post

If you think you need to replace it The default method is displayed to display the nearest post, so enough plug -in in the WordPress repository to confuse you.

However, for our tutorial, we choose to use one of the best plugins to display the nearest post. The plug -in was developed by Kybernetic Services and called the recent posts with a narrow diagram. Interestingly, this plug -in is based on the default \”nearest post\” component, and it only adds some functions. Let us continue the tutorial now.

Step 1:

First log in to your WordPress management dashboard and navigate to

plugins \u0026 gt; add New

. Step 2: Now use the word \”

Recent Posts

\” for search. After finding the required plug -in, install and activate it.

No. 3 Step:

After activating the plug -in, navigation to

Appearance \u0026 GT; widgets Installing Recent Posts With Thumbnails. Now, you will find a option called \”

with the recent post with a narrow diagram\”

.

Step 4: Drag the small parts to the sidebar, footer or anywhere you need. Now click on it, you will find that many options are defined to define the display and appearance of your recent posts.

Step 4:

After completing the option adjustment, click \”Save\”.

Although this plug -in providedMany options, but it does not actually let you add small components where you want. You can only add a small part to the default position of the small component. Therefore, you will have to rely on the Gutnberg block to display anywhere you want Adding Recent Posts With Thumbnails Widget The nearest post

. But what if you do not use Gutenberg but use Classic Editor?

Recent posts with a narrow diagram [ [ 123] Use a short code to display the nearest post If you

(i)

still use classic editors,

(ii) But still need to need Gutenberg’s latest post

block and other options, this method is suitable for you.

For this reason, we also need a plug -in. In our example, we will use Iulia Cazan’s name

Latest Post

Shortcode plug -in. The plug -in allows you to add short code to the post or page to display the nearest post. Let’s see how it works. Step 1: Install the plug -in according to the steps we already mentioned above.

Step 2: Create a new post/page, or enter any existing post/page. Paste the following short code lines into classic editors.

[latest-selected-content limit\u003d\u0026quot;4\u0026quot; type\u003d\u0026quot;post\u0026quot; display\u003d\u0026quot;title,content-small\u0026quot; chrlimit\u003d\u0026quot;50\u0026quot; image\u003d\u0026quot;full\u0026quot; elements \u003d\u0026quot;0\u0026quot; css\u003d\u0026quot;two-columns\u0026quot; taxonomy\u003d\u0026quot;category\u0026quot; term\u003d\u0026quot;samples\u0026quot; orderby\u003d\u0026quot;dateA\u0026quot;]

Installing Latest Post Shortcode

您可以根据需要编辑代码。 Like changing

content limit

, chrlimit [chrlimit (Similar to the number of characters you want to display),

image size

,  category , 

sort

, etc. You can use the simple code as you want. It works almost like Gu Tengbao

latest post

, but lacks some functions. The latest post short code

Packing up

This is a one Keep your audience participating games. Either you do this, or your competitor will do so. The nearest post on your page may be a great way for your audience to stay on your website longer.

In this article, we introduced 4 simple methods to display the latest posts on the WordPress website. Some of them require the help of plug -ins, and some of them do not need. Choose one that you think is best for you, it will definitely help your audience fascinate your website. View how to automatically display the expected post reading time in your WordPress post!

To get more such useful articles in your inbox, please subscribe to our current affairs communication.

Author:

Leave a Reply

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