foreclosurefraudnews
Member
Posted 2 years ago #
I put in a category called Astrology and assigned an article to it. But for some reason it doesn't how up in the menu bar like the other categories. So then I try to put it as a subcategory and it also doesn't show up like other subcategories. What gives?
foreclosurefraudnews
Member
Posted 2 years ago #
I've tried deleting it and redoing it several times and nothing...
foreclosurefraudnews
Member
Posted 2 years ago #
I have a very upset client but I can't figure out what the deal is.
João Sardinha
Member
Posted 2 years ago #
Can you provide a link to the website? Perhaps you are using custom menus and you forgot you need to update them manually
allie777
Member
Posted 2 years ago #
I'm having the same issue. I have a site that has Photos as the Parent and Celebrities as the child and I have 2 other categories that are child as well but they don't appear in the dropdown...
foreclosurefraudnews
Member
Posted 2 years ago #
mdevaney
Member
Posted 2 years ago #
priyanshu.mittal
Member
Posted 2 years ago #
if you are using custom menus then you always need to update them manually
do read abt wp_list_categories,get_categories and if possible tell me whihc menu plugin you are using and if not than provide soem code snippet from your themes main file index.php
foreclosurefraudnews
Member
Posted 2 years ago #
I'm not using any custom plug ins for menus. I've also tried 2 different themes and in both the menu isn't showing.
This is the index.php from 1 of the themes
[code moderated per forum rules - please use the pastebin]
priyanshu.mittal
Member
Posted 2 years ago #
hey i think i am very close to your isse please also send the code of header file since here in inde.php file none of the categories commands are used
and one mor e thing is there any category.php file present in the themes file s
if it is a free theme and if possible do provide me a link for that theme so that i can install it here on my pc and will guide you in a better way
foreclosurefraudnews
Member
Posted 1 year ago #
Here is the header
[code moderated per forum rules - please use the pastebin]
priyanshu.mittal
Member
Posted 1 year ago #
this will help you
as in your line of code
<div id="nav"><?php wp_nav_menu('sort_column=menu_order&container=ul&theme_location=header-nav&menu_class=&fallback_cb=null'); ?></div>
i think this will work for you <?php wp_list_categories('sort_column=menu_order&depth=3&title_li='); ?>
in place of above php script
also check weither this Astrology named category is added to the custom menu or not .....
foreclosurefraudnews
Member
Posted 1 year ago #
What custom menu? where can I find it and what does it look like?
foreclosurefraudnews
Member
Posted 1 year ago #
I also tried the code you just gave me and it makes the same menu I already had. Could it be an option in wordpress and not the php?
priyanshu.mittal
Member
Posted 1 year ago #
there must be a menu option in the appearance tab fro m here you can custom menu
and can u just give me the theme so that i can assist in a better way
priyanshu.mittal
Member
Posted 1 year ago #
foreclosurefraudnews
Member
Posted 1 year ago #
OH i found what the problem was. I had a plugin what was interfering with a custom menu so that the menu was working, but the link to it wasn't viable...
how can I add a home button to this site then.
priyanshu.mittal
Member
Posted 1 year ago #
position the pages widget this will do a trick
foreclosurefraudnews
Member
Posted 1 year ago #
What do you mean position the pages widget?
i would prefer to edit this code so that Home comes up.
<div id="nav"><?php wp_nav_menu('sort_column=menu_order&container=ul&theme_location=header-nav&menu_class=&fallback_cb=null'); ?></div>
foreclosurefraudnews
Member
Posted 1 year ago #
Never mind. I found an option within the theme.
Thank you so very much for your time. Sometimes you just need someone to bounce ideas off of to find the solution.