Support » Fixing WordPress » Help: links to all pages appear in the footer

  • Resolved fightingships

    (@fightingships)


    Help!

    Hello,

    Suddenly (or may I’ve just noticed this?) links to all pages, a giant list in fact that includes pages which have to be deleted or are not supposed to be visible, appears on the bottom of each page.

    The problem affects all pages and not a single page, it’s a theme issue.

    What’s causing this and how can I get rid of them or at least how can I hide them?

    Additional information as well as the things that I’ve done so far —

    1. This is a free Twenty Twenty theme that came with WordPress. I haven’t made any changes to it.

    2. I am using a child theme

    3. the site has Polylang translation plugin installed, and this pestilence only affects English pages. Pages in Russian are unaffected. Weird.

    4 I tried changing footer.php to its default (to what the original looks like from the original theme folder) and I tried removing everything from footer.php, that is leaving it completely blank. Nothing happened. It had zero effect on that “list” of pages, they are there.

    5. I disabled all plugins and cleared the cache. Nothing happened.

    I am neither a coder nor an expert at WordPress and my skills are very limited.
    Please help.

    Thank you.

    Fledermaus (Fightingships)

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install and activate “Health Check”: https://wordpress.org/plugins/health-check/
    It will add some additional features under the menu item under Tools > Site Health.
    On its troubleshooting tab, you can Enable Troubleshooting Mode. This will disable all plugins, switch to a standard WordPress theme (if available), allow you to turn your plugins on and off and switch between themes, without affecting normal visitors to your site. This allows you to test for various compatibility issues.
    There’s a more detailed description about how to use the Health Check plugin and its Troubleshooting Mode at https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/

    Thread Starter fightingships

    (@fightingships)

    Thank you. I did it once, I once disabled all the plugins, but can of course do it again, and in fact I am going to do it right away.

    I will also try this with a different twenty theme – the one I have is the twenty-twenty, but I’ll try the twenty-twenty-one instead.

    And thank you for suggesting that health check plugin, I am going to download it right away.

    Thread Starter fightingships

    (@fightingships)

    Hello,

    This is murderous. It’s a mystery. I am at my wits’ end.
    One Hour and Ten Minutes later…

    1. Switched themes — tried it with Astra – works, the problem’s gone away, tried it with the Twenty Twenty-One – works perfectly, the nuisance is gone and then
    2. Tried it with the Twenty Twenty (!), that’s the theme I have, and the problem is gone as well, works perfectly.
    But the nuisance reappears the moment I switch back to my child theme (Twenty Twenty child theme).
    I tried – removing everything from my child theme and replacing the contents with fresh files. No effect.
    copying everything in the TwentyTwenty (parent) theme and pasting it into the child theme folder – no effect, like nothing happened.
    erasing everything and creating a new child theme – zilch, nothing.
    Disabling all the plugins, and clearing out the cache. Same story, zero effect. The nuisance remains.
    Removing everything from the “additional CSS” field in the customize area. Appearance –>Customize, ->Additional CSS. I had changed the color of the fonts there. So now I’ve just cleaned it all up, deleted everything just as it used to be at the installation. And nothing.

    What can be causing this? I am going to leave this as for the time being (at least until tomorrow) but then I’d have to figure something else out. I am loath to change themes because I got used to this one, and I am puzzled by all this. Not that I’ve done anything to cause this. And the problem is not present in the parent theme but only in the child theme, even if I copy the contents of the parent theme file by file, one by one. And, again I am not that bright, and I am no coder and don’t know much (actually anything) about WordPress inner workings but this mess defies reason, it makes no sense, not to me at least.

    Thank you.

    Thread Starter fightingships

    (@fightingships)

    I would appreciate if some savant gives me a bit of CSS code just to suppress the thing. Thank you.

    • This reply was modified 2 years, 3 months ago by fightingships.
    Moderator t-p

    (@t-p)

    Tried it with the Twenty Twenty (!), that’s the theme I have, and the problem is gone as well, works perfectly.
    But the nuisance reappears the moment I switch back to my child theme (Twenty Twenty child theme).

    Review and see if you missed anything:
    https://developer.wordpress.org/themes/advanced-topics/child-themes

    Also its worth keep in mind that functions.php files from both parent and child get executed during load, with one of child them first.

    Thread Starter fightingships

    (@fightingships)

    Thank you. Yes, I read that, I also tried making my own child theme, downloaded a child theme from a website, used child theme generator, besides everything worked and then suddenly this appears. I think there must be some css script to suppress this from showing but I can’t find the cause of it. I saw a couple of posts about similar “situations” in the past but I couldn’t find how they were resolved at the end.

    Thread Starter fightingships

    (@fightingships)

    Solved.
    I am just posting this (I wrote it in the Twenty Twenty forum) just in case if some unlucky soul would have the misfortune of stumbling into the same problem.

    If you link to all your pages suddenly appear in the footer area, check your menu selector (Appearance>Customize>Menu>View All Locations). Then set it back to whatever you want. That’s it.

    —————————-

    It’s tricky because you won’t necessarily look into the “View All Locations” section on your own. You’d have to open it up, it’s hidden out of your view by default.

    If unwanted links appear in the footer menu area, go to the footer area and check the selector. If it’s set to nothing, then the WordPress (or the Twenty-Twenty theme) would display everything, that is everything, everything, everything. You might have had set this to “nothing” (to blank space) either accidentally or, as it might have probably happened in my case, a different theme has done it — I was fooling around with themes and templates before I settled back on the free version of the most basic Twenty-Twenty theme. So that’s when it must have happened. Just set it back to whatever you want or to “Select” (if you choose “Select” then no items will be displayed in the menu footer and that’s what I wanted).

    That’s it.
    —————–
    Here is the response I wrote in the Twenty Twenty support forum.

    Thank you. It did not help directly, but it gave me an idea that, in turn, has led to finding a solution. So in a way you’ve sold the problem, which, the problem that is, may be a bug either of the Twenty-Twenty theme or of the way WordPress is set up.

    The problem is not related to widgets. So if you or anyone of you suddenly see(s) links to all your pages appear at the bottom of the screen, chances are this has nothing to do with the widgets but with your menus instead.

    The menu selector (Appearance ▸ Customizing ▸ Menus) has three positions for each location where a menu can be displayed, these are “Select” or the “Name of the Menu” you have, or the third one is just blank or “in between”. At least my theme has it that way. I’ve got four menu locations, these are the desktop menu, mobile menu, footer menu, and social menu (I have no idea what the social menu is, but that’s irrelevant). If you look at the footer area, it can be set to the Select (then nothing is displayed, and that’s what I want) or it can be set to “your menu” (the name of your menu or whatever you’ve made up, then it will show your menu items) or, it can be set to neither. Just a blank space, like it was in my case (for the Footer Menu English). So if somehow it gets set to neither, something that must have had happened inadvertently when I fooled around with different themes, switching back and forth, and then reverted to Twenty-Twenty because I don’t want to waste time on rearranging items on my blog – so when it’s set to nothing, then the footer area will display links to all the pages you have. To everything. The solution was to set it to “Select” (that’s what I did) and then it will clear all the unwanted items from the footer or choose some menu that you’ve made up and then it will show your menu items.

    • This reply was modified 2 years, 3 months ago by fightingships.
    Moderator t-p

    (@t-p)

    Glad you got it sorted 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Help: links to all pages appear in the footer’ is closed to new replies.