• Resolved H S

    (@hsobhy)


    Hello,

    Concerning arranging the Left Menu in admin area, Unlike other plugins and menu buttons, we know that there are some plugins that don’t show in Branda menu customization by role like Google Site Kit, AAM, and Contact Form 7. How can we arrange these buttons even with a function in our code? tried changing their files but didn’t work!!

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @hsobhy !

    Hope you’re doing well today!

    With plugins such as Google’s Site Kit, Contact Form 7 and similar ones which don’t show up in the list in Branda >> Admin Area >> Admin Menu, those use some custom mechanism to add the menu item.

    It usually involves custom JavaScript which adds the HTML on wp-admin pages instead of using WordPress functions such as add_menu_page() and similar. The functions provided by WordPress allow to modify the menu’s layout using the same built-in filtering mechanism which other plugins such as Branda can use.

    Due to them using custom mechanisms, it’s different for each plugin and has to be addressed case by case. It also depends what you need to do/achieve.

    I think the best option here is to get in touch with the support of those plugins and ask them to provide a solution specific to their plugin – they will know the code well and will be able to assist you easily.

    Changing the files, even if it works temporarily, will not work in the long term – during an update, all files are replaced so the change would have to be applied every time you update one of those plugins.

    Warm regards,
    Pawel

    Thread Starter H S

    (@hsobhy)

    Hello,
    I think you are right, Thank you for the detailed answer ??
    I can manage that with multiple ways even hiding them using CSS then adding as Branda items but even this needs an eye on the back-end and its changes.

    #toplevel_page_googlesitekit-dashboard {
      display: none;
    }

    Many thanks for the premium support here!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Arranging the Left Menu for Some Plugins’ is closed to new replies.