• escapee2020

    (@escapee2020)


    I decided to try to make a menu because I thought that meant a bar with a pull down menu but nothing happened even though I added 10 of my pages. So I deleted all the menus as it was not what I thought and looked ugly. I went on my site later and now every single page it seems, from my website, is now at the top of every page, complete with a link to it. It has the page name in full also. This is so annoying and I need it fixed quickly.

    The links don’t appear when I use edit so it’s not in the body of any page.
    I deleted all the menus so it’s not that but it seems to maybe be a malfunction of this.

    I had some boring theme for ages that I didn’t change (Lovecraft) so I don’t see why it would be that. Everything is free and basic. I have no plugins.

    I saw this page in search results which sounds similar to my problem but the person very unhelpfully fixed their own problem then bailed without leaving the answer: https://www.ads-software.com/support/topic/cant-remove-page-links-from-top-navigation/

    Strangely this is something that I was wanting as I wanted to make an index of all the pages on my site and it just appeared and did so in an annoying way that I can’t even remove. I was getting quite a bit of new visitors and now they are going to need to scroll through at least 3 pages of this weird index before they can even see the first line of each page…

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • mrtom414

    (@mrtom414)

    Try giving more information about the problem. When it started did you install any new plugins. What theme you are using and a URL to the page you are having problem with.

    You can try disabling your plugins to see if the problem goes away. If it does re enable them one at a time until the problem comes back. If it a plugin problem you should contact the plugin developer for help.

    d

    Thread Starter escapee2020

    (@escapee2020)

    Delete your post. I literally just told you I don’t have any plugins. It’s free I have no plugins. I also told you the theme. I knew this would happen. Now it looks like someone is helping me or I have an answer

    Thread Starter escapee2020

    (@escapee2020)

    Not sure what extra info you want. And i’ll need to delete my replies too

    Michael

    (@alchymyth)

    it is a ‘feature’ of your theme to show all pages if you do not use the ‘primary’ menu;

    code is in header.php:

    <?php if ( has_nav_menu( 'primary' ) ) {
    
    						$menu_args = array(
    							'container' 		=> '',
    							'items_wrap' 		=> '%3$s',
    							'theme_location' 	=> 'primary',
    						);
    
    						wp_nav_menu( $menu_args );
    
    					} else {
    
    						$list_pages_args = array(
    							'container' => '',
    							'title_li' 	=> '',
    						);
    
    						wp_list_pages( $list_pages_args );
    
    					} ?>
    

    if you do niot want those pages, delete this part of the code:

    
    					} else {
    
    						$list_pages_args = array(
    							'container' => '',
    							'title_li' 	=> '',
    						);
    
    						wp_list_pages( $list_pages_args );
    
    					}

    for more information, ask in https://www.ads-software.com/support/theme/lovecraft/

    Thread Starter escapee2020

    (@escapee2020)

    Thanks that seems on the right subject. I don’t use code though. Obviously I can try but do you reckon me adding a primary menu back will fix it? This seems like such a weird feature. When the menu was up there was nothing on it that I can remember and no menu visible. Hence why I just deleted it completely.

    When I was looking at my page since this happened I would see something appear with 3 lines, I assume that was a menu, and indeed when I clicked it my pages were all there in a drop down menu. But it appears and disappears. This is so weird. I might go over to the lovecraft area thanks.

    Thread Starter escapee2020

    (@escapee2020)

    Hold on, also, if it’s in the code doesn’t that mean I’d have to remove it individually from every single page? (I have like 100) ??

    Michael

    (@alchymyth)

    if it’s in the code doesn’t that mean I’d have to remove it individually from every single page?

    no – the header part for all pages (actually for everything in your site) is done by the one template file header.php of your theme.

    Thread Starter escapee2020

    (@escapee2020)

    Oh that’s weird. That’s above my knowledge level but I think I get what you’re saying.

    I put a menu back on and ticked primary and didn’t add anything which seems to have fixed it (in other words, back to how it was). Do you reckon it would have?

    I just read if you change themes it can wipe your stuff so I probably shouldn’t try changing themes now either even if I change back. Thankyou for the help and especially the example. If something pops back up I’m sure I can get rid of it with that. I am much less stressed now. Not sure if I should mark as resolved. Maybe I’ll wait a while and see if I get any more comments / convo happening.

    Thread Starter escapee2020

    (@escapee2020)

    Or if it returns obviously …. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘need to remove: all of my site pages appear as links at the top of every page’ is closed to new replies.