How does one rename a menu (or page name) based on roles in wordpress? I added 2 roles in my wordpress site [teacher, student] and several menu names [home, activity, corner, contact us]. The menu names are static pages pages created in page templates file; the menu is created by
appearance->menu. When a teacher is logged into site the corner menu should be renamed 'teachers corner'. When a student is logged into the site the corner menu should be renamed 'students corner'. How to do that? If you have an idea how to do this things, please share your idea. I used "Nav Menu Roles" plugin but there is no option for to do that.
you can do this with the adding new user or the wordpress plugin role editor
Related
I tried to get list of menus (left sidebar: Posts, Media, Pages...) in admin panel without success.
I want to take all the menus or only the custom (additional) menus in the admin panel.
I made couple of tests with global $menu, $GLOBALS['menu'], get_registered_nav_menus()... but no have any information in.
Any idea?
we are working on a WordPress website using one engine theme ,the menu items in the website are added from the admin dashboard using appearance->menus and added menu items, we added two items the two items showing neatly from the admin dashboard preview but come to the live website it is showing only one menu link that is HOME link , why it happens and what is the solution to fix this
have u register your menu? if yes then create a menu name from the admin side after that u will get manage menu tab select your menu from select box and hit save
When you save finally your two menu the lower side checkbox should be checked by default then only will show the menu
I am making a plugin. The plugin has pages that access a database, add, edit and delete records, call stored procedures etc. I have gotten as far as creating the plugin, and adding menus and submenus to the admin panel and having those menu links open in the admin panel. These are pages that handle the adding, deleting and editing of records in the database. Some of these pages have a link that would pass an id for example to another page in order to edit a record.
Those pages that are used in the admin panel of my plugin, that link to other admin pages for my plugin, do not open in the admin panel, they open outside of it. How can I create links in my plugin pages to stay inside of the admin panel of wordpress?
To clarify, I am able to add menu items that load pages in the admin panel. Maybe this screen shot will explain. So how can I open pages inside the admin panel?
In order to display your plugin's administrative UI within the framework of the WordPress dashboard you need to follow quite a few WordPress conventions.
The first is to write code for each administrative panel in a separate function. Each of these functions (one per admin panel in your plugin) must display the panel's HTML elements in a <div> object, allowing WordPress itself to wrap your divs in the dashboard display.
The next is to write a menu-building function for your plugin's dashboard menus, and then register that function with the admin_menu action hook. This menu-building function will contain references to your functions to display administrative panels.
Here is a writeup on the topic. http://codex.wordpress.org/Administration_Menus
I created a new page in the prestashop back office following the answer provided here
How to create a new page in prestashop admin panel?
I mistakenly created another and had issues, most of the new ones came up blank and the old one now displays blank.
How do i remove the menus from the page as they do not appear
in the preference -> Menu page
because i created them under the catalog tab ?
I really need to delete all the menus, i have already deleted the associated files.
From the Menu page, click details button from the catalog tab with the + icon in the actions column, you can find your menu created under the catalog tab from there
I have a situation where we have a "user menu" on the top of the page.This menu is shown on every page with a module.Now in order to set up breadcrumbs properly I need to have a menu item which is published but not visible to any type of user whether guest or registered..
Is it possible in Joomla to have a menu item published and hidden yet accesible via URL??
You will have to write a different module which had most of the functionality of your custom module. In the new module you can change the code in a way so that you dont show the required menu.
I think you should create a menu, setup user groups, view level. Create a menu item, and try to access via menu alis - link.
Good luck
Yes, Menu's are independent of the modules that display them, it's possible to create a menu and not create a menu module, how, depends on the version of Joomla you are using.
That's why there are so hits when you Google — "Joomla Hidden Menu" There is even an article on Joomla Doc's on "Menus" that discusses hidden menus briefly.
So, the normal approach is to create a new Menu with a name like "Hidden" or "Shortcuts" and have the menu items created in that menu, then don't assign a menu module for it.