Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u193480525/domains/fahimm.com/public_html/wp-includes/functions.php on line 6121
How to convert “Post” to “Page” – Fahim Murshed

How to convert “Post” to “Page”

We know there are different types of content in WordPress. By default, there are posts and pages.

Just simply run this SQL query in phpMyadmin (recommended for developers only)

If you’re not a developer then don’t to anything just simply log in to your cPanel >open phpMyadmin >

Find your database and click SQL tab, check this screenshot

UPDATE wp_posts SET post_type = 'page' WHERE post_type = 'post'

I wanted something simple and easy. So I opted to use Post Type Switcher — a WordPress plugin which allows you to switch / convert the post type without any hassles (and without a line of code).

Have you ever changed a WordPress post to a page or vice versa? Share the method you used for changing the page to post in the comments below!

Leave a Reply