Show and hide pages in WordPress sidebar - wordpress

I am using WordPress 6.0.2 and the Twenty Twenty-Two theme to build my website. Now I've noticed that new pages I create are automatically added to the sidebar (header navigation).
Is there a way to control which pages are added to the sidebar and which are not? For example, I created an imprint that I only want to link in the footer.
Is there also a way to manage this directly from the database? I would like it too.

Since you are using a WordPress made theme some settings can be enabled by default like auto add new pages to menu you can turn this off by going to customize > appearance > menus > and there should be a tick box that you can adjust to stop this from happening.
If this does not work go to the admin area which can be accessed by clicking the name of your website in the top black bar and head down to the appearance tab hover on it and click menus. This will allow you to edit specific menus with more options. If it is not there it may be a theme feature which you would need code for but i doubt you will need to go to this of an extreme.

No need to access the database , just go to appearance > customize> menus . Here you will see several menus , choose the menu that is used or customize a new menu as you want .
The same thing goes for the footer , but to edit the footer you also need to go to appearance > widgets , then look at the right and you will see the footer columns you can also add/delete the footer from here .

Related

Wordpress - widgets are not showing

i am using neve theme + elementor, and i am trying to add widgets to my footer, but nothing shows. I am going to Appearance>Widgets>then add text and images to all footer columns - 1,2,3,4 respectively and when i hit update, and refresh the site, nothing shows.
I have checked this answer here but i have not used any code in my case(only drag and drop with elementor), so the answer does not apply to me.
i have tried to disable elementor and all other plugins, but same thing, nothing shows.
if i go to appearance>Customize and select widgets this message appears:
Widgets are independent sections of content that can be placed into widgetized areas provided by your theme (commonly called sidebars). Your theme has 5 other widget areas, but this particular page doesn’t display them. You can navigate to other pages on your site while using the Customizer to view and edit the widgets displayed on those pages.
What am i doing wrong? Any help would be greatly appreciated !
L.E SOLUTION : So the solution for this issue (for the beginners of wordpress like me here that could have the same dilemma) is like Daniyal said that before adding widgets to your Header and Footer in the Appearance > Widgets you actually have to design the header/footer in the Appearance > Customize section, by defining through drag and droping which area of the Footer for example Footer 1 is or Footer 2 or so on. Once the areas are defined the widgets added in widgets section will appear in the correct areas defined by the user.
Do you create Footer with elementor?
If you create footer with elementor, so footer widgets not showing and you should drag and drop widget with elementor to footer to show widget
If you don't create footer with elementor, this problem is the Theme

How to change the position of a plugin option menu in WordPress Dashboard

I try to rearrange the order of menus in Dashboard in WordPress without using a plugin.
I changed the order of basic menus such as "Posts", "Pages", "Comments"... But I have been struggling to move the plugin menu "All in One SEO" which is on the second position in Dashboard.
Is there a way to move it under Settings menu?
If it's not easy to change the order of this plugin option menu, I would like to remove it from Dashboard menu. I tried to use the following code, which does not work:
remove_menu_page('admin.php?page=all-in-one-seo-pack/aioseop_class.php');
Thanks for your help.
You can demote the ALL IN ONE SEO plugin's menu to bottom using this setting they have there:
"Go to General Settings in All in One SEO Pack, scroll down to the Display Settings box and you will see the checkboxes there where you can disable AIOSEOP on the Admin Bar and demote the side menu item to the bottom."
Source: Plugin Author
See Screenshot showing the actual setting there: http://i.imgur.com/zmbEMmu.jpg

Click to expand submenu instead of navigate to page in WordPress

I would like to be able to create a navigation menu in WordPress in which the top-level nav items are not pages, but rather menu headings, which expand the sub menu when clicked.
The default WP menu behavior is that all menu items are links to content (pages, posts, etc), and that sub-items are viewed upon hover.
I'm looking for a way to make it work more like the menu behavior built into Twitter Bootstrap (and for the same usability reason).
I'm looking for a solution that either already exists as a plugin, or which I can build into a plugin, so that anyone can create a new menu like this in the WordPress menu editor.
checkout this tutorial :
https://digwp.com/2011/11/html-formatting-custom-menus/
If you dont want any custom html structure than you can simply add the classed to menu and for top level menu create a custom link with # as href.

Wordpress menu links wrong

I have a Wordpress theme which has been designed, however, the links are wrong at the top
For example:
About Us should go to here
Furniture should go to here
The link to the blog is here
I have already tried adjusting the position, and the width of each menu item, but to no avail.
In Wordpress Admin console there is the option Appearance>Menu. Create a new menu, add the items you want (you can add pages you made, create custom items with links to other pages, etc), save the menu. Now go to Appeareance>Themes>Customize current theme and change the navigation path.

How to link top and side navigation in wordpress?

I have following navigation structure, which i want to implement in wordpress:
(Home / About / news / Contact) are in top navigation, whereas all sub links are in sidebar.
How can i create this type of navigation in wordpress. i.e. How can i display first level navigation in header and second level navigation in sidebar.
Follow these steps:
First create a main Navigation to your site without child pages and
add it to the theme.
Then create a new menu with child menus only and save it.
Now goto widgets section and from there drag Custom Menu from left
side and add to your sidebar.
Then select your child menu and click save.
Thats all. :)
Check this WordPress Codex section for creating menu tutorial
Cheers!!!
I found these plugins helpful:
Simple Section Navigation
http://wordpress.org/extend/plugins/simple-section-navigation/
It allowed me to create the side nav based on the hierarchy of the pages and their children.
I wanted a bit more control though because I didn't want some of the parents to have their own page ... just a heading for their children. So instead, I'm using this plugin (for the Genesis Framework).
Genesis Simple Sidebars
http://wordpress.org/extend/plugins/genesis-simple-sidebars/
This allows me to create as many sidebars as I want and add custom menus to those. I'm new to this, so maybe I'm taking a long route, but so far it seems to be doing what I want it to.

Resources