• Hi All,

    I’m using the latest version of WordPress. I want to get a simple table of all the URLs in my main menu. 2 columns: Column 1: Name of menu item. Column 2: full URL for that menu item.

    How to do this? I know nothing about php. I know nothing about programming. I know nothing about SQL or searching SQL databases. I know nothing about the WordPress backend. I know almost nothing about Cpanel.

    I searched for a plugin to do this but didn’t find any. I searched on this forum and google and youtube and didn’t find the answer. Thanks!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you want it dynamically in the page (changing when you change the menu)? Or do you want to copy the current menu once and leave it at that?

    The core WordPress Menu widget gives you the list. You can style it to look like a table with two columns. Or you could have a little code that calls the same function that the Menu widget calls, with slightly different parameters, so it is output a little differently.

    Thread Starter m3110w

    (@m3110w)

    Thanks for the reply. What is a ”core WordPress menu widget”? Is it part of WordPress? Is it a plugin? If it is part of WordPress, how do I find it? I know how to create and edit menus in WordPress using the standard Menus tool. Is that what you mean. I can export the menu into an XML files but I don’t know how to do a Find to select only the URLs I want.

    All I want is a list of the URLs in my main WordPress menu to check which pages are not in the the main menu. I can do this manually, but that would be very tedious. There must be some way to do it automatically.

    Thanks!

    Yes, core means WordPress. All the widgets are available on the Appearance > Widgets page. But if you are only wanting it to check your work, it might not be what you want. I thought you wanted the list on your site.

    If you open your site in one window and use another window to view your list of Pages (which is shown in menu order), would that help?
    If not, you can use your browser to View Source of your site’s page and see the HTML for the menu. I would think it would be easier to see the actual menu than the HTML for it.

    Or you can build a new menu and click the box Add All Pages, then arrange them how you want (and add whatever other things you wanted). Then swap the old menu for the new one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to get URL list from main menu’ is closed to new replies.