Customize category page and mega-menu

Posted in: Newspaper
Post count: 6

Hello,

1) I’d like to know how to change the number of posts that are displayed (loaded when you open the page) on the page: http://www.example.com/category/name-of-the-category/

2) How can I order posts in the category page in a different way? Like by date but ASC and not DESC or by another field (id, title, …)

3) It’s possible to customize the mega-menu to show more sub-categories? I need to show all the months of the year but it shows only 6 months. It’s possible to modify the loop to load 12 items instead of 6?

Thanks 🙂

Post count: 6

1) solved thanks to the plugin “Powerful Posts Per Page”
2) solved thanks to the plugin “Posts Order”
3) I don’t know why before it was limited to 6 sub-cat, now it works perfectly
———–
4) it’s possible to put the name of the sub-category instead the name of the category on the label of the preview of the article in the mega-menu and in the category page?
something does not work well beacause sometimes on the labels of the articles there are categories and other times sub-categories

5) also if I set a certain template and article display view to the category page when I connect to the page from mobile there are other settings and a view that I can’t modify
this view from mobile includes the top posts style that I’ve disabled in theme panel

Post count: 22421

Hi,

4) Every article category tag you see on the front-end is that of the primary category. The theme only shows one category tag depending on the primary category of the post. Please read this guide: https://forum.tagdiv.com/primary-category/

5)The mobile theme plugin will convert your content to a predefined layout for better loading speeds. Please read more about the mobile theme here: https://forum.tagdiv.com/the-mobile-theme/ If you do not like the mobile theme plugin and layout, you can always disable the plugin and use the standard responsive (desktop) version of your site.

Thank you!

Post count: 10

Sorry to hijack this post but item #4 is exactly what I’ve been searching for for the last 2 hours.

I think there is a bug because the Primary Category is not working.

Here is the explanation you see of the primary category while editing a post

How the Primary category is picked

Manually – If you select it from this box, this post will inherit all the settings form the Primary category.

If the post has only one category – that will be the Primary category

If the post has multiple categories and no manual Primary category, the theme will pick the first category from the categories of this post ordered alphabetically

but the last statement doesn’t seem to be true.

Look at this mega menu

View post on imgur.com

As you can see it display the category zSECUNDARIAz and this is a category we only used to sort things and it’s marked ad hidden from post etc.

When you edit the post it has Sucesos as Principal category

View post on imgur.com

but the Primary category at the bottom is as Auto select

View post on imgur.com

Should’t the theme select the Sucesos category instead of zSecundariaz? I added the z at the front of the sort categories to make sure than when sorted alphabetically they are last.

Thanks in advace

  • This reply was modified 9 years by avalera.
Post count: 22421

Hello,

The option you mention is added by seo yoast. Our primary category can only be set from here: http://imgur.com/a/HKuwc#88V21cB and not this one: http://imgur.com/a/dPfQu#aXRJApk
Please use this guide: https://forum.tagdiv.com/primary-category/

Thank you!

Post count: 10

Thanks for the response. I now see the difference with the Primary from Yoast but why the AutoSelect is not working

If the post has multiple categories and no manual Primary category, the theme will pick the first category from the categories of this post ordered alphabetically

The alphabetical option is not working. I added Z in front of the categories to make sure they are not first. Can you check on that?

Post count: 22421

It will add the first category alphabetically from the categories you have set to your posts. Not all categories. The assigned ones. It will be the first in the list of categories: https://www.screencast.com/t/dDlZNlK2w

Thank you!

Post count: 10

Of course. But see this example

Here are the categories set for a post

View post on imgur.com

and her is how it shoes in the magemenu

View post on imgur.com

Post count: 6600

Hi,

Please give us access to your site so we can have closer look at this because I cannot reproduce this on my side and also test this without having any other plugins active that might influence the outcome.

Address us via email at contact@tagdiv.com and also include a link to this conversation.

Thank you!

Post count: 10

Done. Thanks

Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.