• My child theme adds new page to Primary menu even though I have ‘Automatically add new top-level pages to this menu’ unchecked. Is there anything I can do to stop it from happening ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • did you create a custom menu?

    if not, the theme will just use the pages…. and the unticked ‘Automatically add new top-level pages to this menu’ won’t change that.

    Thread Starter 810311

    (@810311-1)

    Hi Michael, thanks for responding. May be I should expand more on what I am trying to do.
    I have custom coded archive.php in my child theme which I want to use to output yearly archives. In my single.php I added <?php the_category(', ');?> and <?php the_tags(', ');?> as links so when the user clicks on them she/he is taken to category or tags archive respectively. However, when I tried to use get_post_type_archive_link to link to archive.php it takes me to index.php. So I ended up trying to use navigation widget to add there only one page ‘archives’.

    Thread Starter 810311

    (@810311-1)

    I added custom menu, however, it still adds new page to Primary menu

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘‘Automatically add new top-level pages to this menu’ unchecked not working’ is closed to new replies.