Missing subcategory in dropdown

Posted in: Newsmag
Post count: 18

Hi guys,

before opening this topic, I’ve searched in all posts first via search function, but nothing could help me.
To describe shortly my problem, I have a category and 6 subcategories assigned to it (http://i.imgur.com/UoeV8xB.png). They are in Chinese, but it shouldn’t matter. Anyway, you can see here http://i.imgur.com/ztZM7Gv.png, that if I want to assign a subcategory to another category/subcategory, the last one from previous screenshot is missing in the dropdown. The one with 5 posts assigned to it (Count column).

What could it be? If I want to assign that missing subcategory to an edited post, I can find it there, but not in editing categories.

Thank you!

Post count: 6535

Hi

This is the default behavior from WordPress ant it’s not a bug. The missing category from drop-down list it’s the one which is edited, which is normal: http://screencast.com/t/Xvlo50noNW
Hope this helps.
Thanks!

Post count: 18

It makes sense, I think I was confused by the Chinese letters, I do not know them. Thanks!

Post count: 18

Hello Andrei,

I am back at this problem. You were right about that in CMS, but in FE, less subcategories are shown, only 5 from 6. Like I’ve shown you here: http://imgur.com/UoeV8xB, there are 6 subcategories of that category on top. But the last one is missing in FE.

Anyway, I’ve found this function get_pull_down_filter in td_block_mega_menu, where I saw there is a limit of 5. I’ve increased it and still nothing.

Any idea?

Thanks.

Post count: 6535

Hi

I assume that you want to increase the number of categories displayed in mega menu. If so you need to edit td_config.php file and change this value: http://screencast.com/t/27rexqkeMM

Let me know how it goes!
Thanks!

Post count: 18

Salut 😀

That made the trick, thanks. Weird that we have that query in td_block_mega_menu file, but it doesnt work the limit. Wouldn’t have think to look into other file for the limit.

Thanks again!

Post count: 6535

HI

Mega menu is a special block which is generated by a class which imports parameters from a higher class. We will inspect this situation and will decide if limit parameters still need to be added there.
Thanks!

Post count: 18

Hi,

ok sure. Btw, you left there a comment in our native language, perhaps you would like to translate it.

Line 99 – td_block_mega_menu.php file.

Post count: 6535

Hi

I assume that you’re refering at this comment: * @todo mega menu subcats - folosim functia asta pentru ca e necesar sa avem alt output if so can be translated like this: @todo mega menu subcats - we use this function [get_mega_menu_subcategories($atts)] because we need another output:

Thanks!

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