WordPress.org

Forums

Category not showing up. What gives? (20 posts)

  1. 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?

  2. foreclosurefraudnews
    Member
    Posted 2 years ago #

    I've tried deleting it and redoing it several times and nothing...

  3. foreclosurefraudnews
    Member
    Posted 2 years ago #

    I have a very upset client but I can't figure out what the deal is.

  4. 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

  5. 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...

  6. foreclosurefraudnews
    Member
    Posted 2 years ago #

  7. mdevaney
    Member
    Posted 2 years ago #

  8. 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

  9. 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]

  10. 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

  11. foreclosurefraudnews
    Member
    Posted 1 year ago #

    Here is the header

    [code moderated per forum rules - please use the pastebin]

  12. 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 .....

  13. foreclosurefraudnews
    Member
    Posted 1 year ago #

    What custom menu? where can I find it and what does it look like?

  14. 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?

  15. 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

  16. priyanshu.mittal
    Member
    Posted 1 year ago #

    srry the theme name

  17. 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.

  18. priyanshu.mittal
    Member
    Posted 1 year ago #

    position the pages widget this will do a trick

  19. 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>

  20. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic