How Do I Show Category Posts on a Page in WordPress?
In order to show category posts on a page in WordPress, you need to create a custom post type and add a metabox to your page. To do this, first go to your WordPress admin area and click on “Posts”. Then click on the “Add New” button and in the “Type” field, select “Post”.
In the “Title” field, enter a title for your new post type and in the “Body” field, type a description of the post type. Click on the “Save” button to create your new post type.
Now, in the WordPress admin area, click on “Pages”. Next, click on the “Edit” button next to the page you want to change.
In the “Page Options” area, click on the “Meta” tab and in the “Post Types” field, select your new post type. Click on the “Update” button to save your changes.
Now, you need to add a metabox to your page. To do this, click on the “ metabox icon” ( ) located on the top right corner of your page. In the “ metabox editor” ( ), enter the following code into the “Title” field:
“Post Type”
In the “Attributes” field, add the following code:
category
Finally, in the “Order” field, specify which category your posts should belong to. Click on the “Publish” button to save your changes and your posts will now show as category posts on your page.