Search for Resources and Solutions

How to add the analytics code or chat support in the user dashboard

From the version 0.0.7.9 Midrub allows you to add js code and css code in the user dashboard from the admin's dashboard. 

To add your css code in the user dashboard:

  • Go to admin panel.
  • Click on the User's menu item.
  • Click on User Settings.
  • Click on Header and add your CSS code.


To add your js code in the user dashboard:

  • Go to admin panel.
  • Click on the User's menu item.
  • Click on User Settings.
  • Click on Footer and add your JS code.


If you have created a new theme, just add inside the header tags this code:

                                                
get_the_header();




And inside the body tags add this code:

                                                
get_the_footer();



You can watch a video below:



Was this article helpful?