Follow us on Youtube.  | Follow Website !

Search Suggest


How to display posts scheduled in WordPress

How to display posts scheduled in WordPressAre you looking for ways to display content scheduled to your visitors? By default, WordPress only lets authors, editors, and user roles in the administrator view content scheduled for you. All other user roles, apart from changes, cannot see them, including visitors. This is a problem for websites that want to show visitors what content is expected.

There are many ways to solve this problem depending on what you want to do. The best method is to set up an event calendar on your website or an event on Facebook will list when your content is coming. This method may not work for every website, so use the code instead. Today, I will show you how to display scheduled posts at WordPress with simple code.

Why you need to list upcoming posts in WordPress

It's natural for visitors to enjoy content on your side wondering when the next piece will be released. This is true for all forms of entertainment, movies, video games, books, etc. Listing future content on your side is a good way to inform loyal visitors, getting them excited about the release. At WordPress, the upcoming post is known by the same name as the Appointment Schedule with Google and will become a public post with Google when the publishing date and time occur.

Review events on Facebook


To have a successful website in today's world, you need a social media site to promote your content. It's normal for your Twitter account to automatically notify your followers when a new post is released. Facebook is the most popular social media platform in the world. You certainly only created a Facebook post to alert your followers when the new post was released, but the Facebook event is a better option.

Facebook events are calendar based systems. You use it to display upcoming releases on your side / month.

How to display posts scheduled in WordPress

In this article, I will show you how to display posts on a WordPress schedule with simple code. While there are a few plugins that do this, many of the plugins we've reviewed haven't been updated for months. Although they still work perfectly well, it is better to avoid them because they risk a security hole. Instead, creating your own shortcode to use with widgets will show posts scheduled at WordPress a safer way.

You will not need any previous coding knowledge because you just copy and paste the code like that. However, before editing any code, you should take this time to create a backup copy with your website. This will ensure that if an error occurs, you can use a backup to revert to your website before the error occurs.

See more: How to add related posts in WordPress

Create a widget

Get started by logging into cPanel and then clicking on File Manager option. The file manager will allow access to all files related to the website.


You need to locate the functions.php file in the topic. Click on the public_html directory, then click on the wp-content directory. In this directory, you will find all content related to your website. Click the topic folder and enter the folder next to the topic you are currently using. Finally, right-click on the functions.php file. Then select the editing options.


A popup window will appear. This box will alert you to create a backup copy of your file before editing anything. This will ensure you revert your website back when it works if something goes wrong. Click the edit button. A new tab will open containing all the code from the file.


You are now in the functions.php file. Just copy and paste the code.

Once you have inserted the code into the functions.php file, click the save button to finish.


Short codes

You have just created the following shortcode:


This is used on any page, post or text widget on your website. It is recommended that you use the sidebar, as people will see your upcoming release no matter where they are on the website.

Once the shortcode has been placed, check your website directly to see the results.


Congratulations, you have displayed the scheduled post at WordPress. You can delete it anytime by removing the shortcode and removing the actual function from the functions.php file.

Notice to visitors

Although you get a lot of clicks from search engines like Google, informing your loyal visitors about new content is the best way to ensure views on your website. Keep visitors on your side informed, aware of your content schedule so that they see that your website is reliable, producing content regularly. Many websites that don't produce content often have difficulty attracting visitors unless their content is really good.

Post a Comment