Astra Pro plugin provides a shortcode for LifterLMS that allows displaying profile link. The shortcode can be used anywhere on the website. It will display a profile picture for logged in students. Clicking on it will dispaly student profile details.
The LifterLMS addon in the Astra Pro provides a shortcode
[astra_lifterlms_profile_link] This can be used on various locations like header, footer, sidebar, widgets, page builders etc.
To use the shortcode, activate the LifterLMS addon from Astra Options. (screenshot)
Below is the example that shows how can this shortcode be used –
How to display LifterLMS profile link in the primary header?
Below are the detailed steps –
Step 1 – Make sure to activate LifterLMS and Astra Pro plugin. Activate LifterLMS addon from Astra Options. (screenshot)
Step 2 – From the WordPress dashboard navigate to Appearance > Customize > Layout > Header > Primary Header.
Step 3 – From the Last Item in Menu drop-down, select Text / HTML.
Step 4 – Paste the code in the input area. Profile link will appear in the header as shown below –
- Tagged Under:
- LifterLMS profile link in the primary header