Archived topic
Layout related query
19 replies · Started by Ajay on January 10, 2023
I have created custom categories examples Service taxonomy and category, which has many types of different categories list e.g. Email marketing, affiliate marketing, music, etc. in the email marketing category I have created 7-8 custom posts. I want to make the same layout for every category where I can see specific posts for their categories. Please check in a private box
every category's products are showing same, but I have listed different products for each category.
Hi Ajay,
Are you using a Loop Template or a Content Template?
If it's a Content Template, you shouldn't use a GB Query Loop inside it.
Please refer to this article for instructions on how to use a Content Template: https://docs.generatepress.com/article/block-element-content-template/
Using one correctly should help you achieve the layout you're going for.
Then how can i show that what the settings are I am using Content Template right now, but before I was using query loop in Content Template
Your posts seem to not be appearing in your Archive pages.
Can you try rebuilding permalinks first?
To do this, go to Settings > Permalinks, and just hit save.
Afterward, check if the posts will appear.
oo yes it is visible in the Service taxonomy but not on the category how can I display that?
please check in private box
Please reply. I am stuck at the point
Hi there
Make sure your CPTs have the Has archive set to True.
Then rebuild your permalinks - and then check if they display before add the Block Element content template.
please have a look. my custom texonomy [Service] Is working fine but Category (WP Core) is not showing post
check-in private box
I do not see any published posts on your site, so there are not any posts to show in the category.
i have created posts in Custom post Type which is Tools not in Default Posts
You need to tell WP to get the post type in that archive.
See CPT UIs documentation here:
https://docs.pluginize.com/article/post-types-in-category-tag-archives/
i have not much knowledge about the codes is their any solution. i am also using genratblocks pro