May be this is not a theme related question or may be yes.
Actually I want a broad idea.
I know well about “page attributes”. Like I have three pages namely - “Fruit”, “Veg” and “Rice”
abc.com/fruit
abc.com/veg
abc/com/rice
and when i create a fourth page namely “Pulse” than wordpress allows us to choose parent page in page attribute section. If i choose “veg” parent while creating “pulse” page…the URL will be like this abc.com/veg/pulse
But…but…but…
Suppose I am posting 100 posts in my blog. And I want to choose different page attributes for my different posts…it is not possible. there is no such facility given by wordpress. For example if I want to attach my new post namely “How to drink water” with “Fruit” page so the link will be like this — abc.com/fruit/how-to-drink-water (IT IS NOT AT ALL POSSIBLE IN WORDPRESS)
And I also don’t want any links like ABC.com/Category/how-to-drink-water. I don’t want “category” word at all between.
Making too many pages (like 100 or 1000) is not at all good a good idea just because I want my permalinks like I mentioned above. Nobody makes too many pages.
Is there any way so I can create posts with parent page or category something…but not at all “Category” words between.
See example like >> https://www.healthline.com/health-news/halle-berry-uses-cheat-days-on-keto-should-you
He/She has successfully done this. I do not know how. It is also in wordpress platform. He has “health-news” page or category, don’t know what…but he did it.
Kindly solve my problem. Is there any way to change codes in function.php…or whatever…please give me codes for that or suggest any plugin.
Thank you for your patience to read my query.
