Currently WordPress It has become a content management system most used by many people in the world. It is a web portal that offers a wide variety of alternatives to its users in an easy way, fast and free. To name a few options are the blog creation, corporate websites, oline stores, digital newspapers among others.
It also enables us interact jointly with other websites which at the moment are booming in the same way as Facebook. Its various tools allow us to register users and thus offer services whether we have unique stores.
On the other hand, it is essential to note that we can present configuration problems on our pc, laptops, tables or smartphone, but it's something we shouldn't worry about, since it offers us a total solution to these annoying inconveniences.
Thanks to its large staff of specialized technicians, we can be assured of using these innovative tools, WordPress focuses on the needs of its users so that they make good use and administration of their web pages.
This web portal is an ideal system for companies and users that require frequent content update, It is also ideal for people without much knowledge in the use and management of this type of web page.
And it is that their tools Allow us better administration and control in the administration of our websites.It is for these that for more than 10 years of existence has reached more than 40% of the users. As we saw then, we have many reasons to select wordpress, as a first option to create web pages.
How to Identify Menu and Submenus IDs
The IDs are the identifiers that are used to differentiate each of the menus. In the section ‘Pages’ the menus we have created will be displayed, what's more names will appear to identify them.
At the same time, if you access the chapter ‘Appearance’ and then you go to ‘Menus’, you will see the distribution made. Remember that the main menus are displayed in the left-facing row, while the submenus are oriented slightly to the right, just below the main menus.
On the other hand, if what you want is to know the ID as a code, the best is that use plugins like Show ID. In this way you will be able to know the different identifiers used by the sections of your web portal.
With what WordPress code can I delete a menu?
No need to use any code to delete menus within WordPress. Actually, when entering the 'Pages' section, can directly clear menus. Also from the ‘Appearance’ section, can make modifications and delete sections and submenus. Whatever the case, entering the WordPress source code can help if you want to clear the main menu or something like that.
Anyway, if you decide to do it the hard way, In other words, using codes, just read the information later, because there are the codes that you must enter in the system.
In which section these codes are entered
If you want to make significant changes to the code of your web portal, In most cases, it will be necessary to use a CSS editor. Actually, developers or web designers often use these methods, but these types of settings are generally very advanced for novice users. Even so, if you really want to continue with the method described, keep reading.
How do I remove or remove the submenu from my WordPress page?
How annoying to find repetitive content over and over again and not know what to do to fix these problems, usually due to lack of time and knowledge, we pay high costs to specialized people to find the answer.
That is why here you will find content that can help you improve the use of this web portalEven better, without having to invest your time and much less spend your money on these things, here you can find content that allows you to do this, how to delete or remove submenus that we don't need.
Paso 1
We must use the option Remove submenus from WP administration, functionremove-submenus-pages- followed by the urls code of what we will remove, as an example: remove-submenu-page (themes.php, theme-editor.php ‘); // Theme editor, it is: remove_submenu_page (themes.php, nav-menus.php); // Apariencia -> Menús.
With this simple step we can delete unnecessary submenus from our view only using the alternatives offered by WordPress, too easy.
Where do I put these codes to clear wordPress submenus?
Like we have already said, WordPres makes it easy for us Many alternatives to give a good administration to our page, in an entertaining and easy way we can edit or modify it, so we have a page totally personalized to our style and taste.
But later, if you still haven't quite understood how to use these codes to clear unwanted submenus, then we show you these simple easy steps to hide or add, If you wish, these submenus.
Here are two places you can go to delete or delete sub-menus that could be unnecessary and annoying..
Paso 1
You may add to the end of the funtions.php file of the theme you created, you can create a specialized plugin in which you can add any customizations and keep track of them.
Paso 2
After this, You must copy and paste the code that you will use and add it according to the method of your preference. Despite this, It is essential to note that the cases of multiple codes hiding multiple WordPress items, for them you must add or copy // in front of remove-submenus-pages, in this way what was removed will be added.
But if the desire is different, here is an example of how to hide in this circumstance, the submenus “marketing”: remove_submenus_page (‘Wc-admin & path = / marketing’).
In conclusion, it is essential to know this information when you have Workpress installed, since these configuration details can be sent at any time. It is also good to know that through this we can help other people who have the same problems. And these media definitely help us to keep up to date with everything that happens around the world..
With what plugins can I hide the menus and submenus?
Some plugins like Adminimize can be useful for many functions of administration. Whatever the case, to better manage menus and submenus, The following tools are among the most recommended.
Possibly one of the most popular plugins for edit menu options. The plugin activates a visual control with which you can see each of the menus, as well as the people who are connected and their roles.
Very similar to the previously mentioned plugin, with him you can make certain changes to the menus, as well as see the users that are within the system. Undoubtedly a good tool for those who manage a web portal with WordPress.
Widget Logi
The Widget Logi plugin is not specifically designed to make changes to menus. Actually, used to create conditional widgets, which is very useful to create a more complete web portal.
Related Post:
- How to export WordPress widgets to a different page
- Cloud servers: What are these virtual spaces and how are they used?
- Complemento Wp Smush: Optimizing WordPress images the easy way
- How to redirect WordPress pages with plugins – Easily
- How to use, configure and integrate the 'Redsys payment gateway plugin’ in the WordPress payment button
- How to create an academy or an online course platform in WordPress