Exclude subcategory posts from main category ( + edit categories)

Posted in: Newspaper
Post count: 7

Hello,

(1) How can I remove subcategory posts from the main category page? A main category page should only contain subcategories and main category posts. (I’ve already searched the forum but couldn’t find a solution).

(2) Is there a way to define a fixed amount of sticky posts within a certain category / subcategory page on the top? The other posts should be shown on the bottom of that category page, after the category description.

(3) Is it possible to hide all posts from category page? (There is one category where I want to set all the links to the posts manually by my own)

(4) There’s no way to enable comments on category pages, right?

  • This topic was modified 7 years by kaylee174. Reason: editing title & tags
Post count: 23312

Hello kaylee174,

1)Unfortunately, the theme does not have any such an option that allows you to do this, sorry! As you can make is to create your own custom category template and exclude from the block those posts which you do not want to be displayed on your category page, using the Block Settings.
2)Unfortunately, the theme does not have any such an option for sticky posts, sorry! Another alternative for you would be to create your own category template and from the block you should display only the post you want to be displayed at that page, using the post ID. Notice that using the Cloud Template Library you can make a lot of things with TD Composer plugin because this is more powerful and allows you to make a lot of things.
3)I do not exactly understand what you mean, but please notice that you can create your own CSS code if you need to hide some posts from a certain page. Use the Inspector browser from here -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
4)The comments for category page is not available, sorry! The comments are available only for posts because this is the main WordPress functionality for comments. You should comment a post and not a category, sorry!

Thanks for your understanding!

Post count: 7

Thanks for your response! I followed your recommendation and now I use cloud category templates. That works fine but there are some small issues:

(1) Breadcrumbs: When I go to a category (or subcategory) page, I do not want the link in the breadcrumbs to be clicked. For example https://domain.com/category1 should show breadcrumbs of startpage and category1, but only the startpage should contain a link.

(2) I edited the cloud category templates with a lot of html content (similar to a long post or page). For each category of my website, I have created a unique cloud category template. The category description, however, is completely empty. That has no negative impact on the seo, right? Because as a result the category pages the visitor sees are full of content.

(3) I don’t know if that’s a Newsletter issue or if I have to contact the support of the plugin… I use a pricing table plugin which works great on posts, pages and cloud category templates. But when I watch the category page that I linked to the cloud category template, the table is scattered all over the page.

Hope you can help me.

Regards
Florian

Post count: 23312

Hello Florian,

(1)You should use a local custom CSS code which disables the link. You can try using the pointer-eventȘnone property for this section, as a hint.
(2)Yes, should not be a negative impact for SEO.
(3)Unfortunately, I do not know what kind of plugin you are using, sorry! We have our Newsletter plugin and also, we do not recommend using another untested one because we cannot provide support for untested plugins.

Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.