• Resolved Ian MP

    (@ianmp)


    Hello,

    I use a banner at the top of my courses that show the total number of modules and lessons in a course. At present, I manually add these figures but, as I’m now creating a template to be used by all courses, I need these values to be dynamic based on the course being displayed.

    You have a shortcode [namaste-num-courses] which returns the total number of courses on the site, but is it possible to get a similar shortcode with the same information for modules and lessons per course?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Count total modules or total lessons’ is closed to new replies.