WordPress Configuration
Create Post Category
Create your post category from Wordpress and post your blogs for each category, this will dynamically visible to you site with count of each category:
-
Create
Categoryfrom Wordpress:

-
This will dynamically visible to you site:


Create Post Tags
Create your post tags from Wordpress and post your blogs with tags, this will dynamically visible to you site:
-
Create
Tagfrom Wordpress:
-
This will dynamically visible to you site:

Dynamic Category Post Section
You can create category and control each post category section from .env file.
-
First of all, you need to create a specific
Categoryfrom Wordpress and collect thecategory-slugfrom you wordpress site.:
-
Now add this
category-slugfor any of your category at.envfile :
# Dynamic Category Slug
NEXT_PUBLIC_FEATURED_CATEGORY="featured"
NEXT_PUBLIC_TRENDING_CATEGORY="technology"
NEXT_PUBLIC_EDITOR_CATEGORY="gadgets"
NEXT_PUBLIC_WEEKLY_CATEGORY="featured"-
This will dynamically reflect to the category section in your site:

-
Another category section in your site:
