Thrive Themes and our LMS, LearnDash are not efficient with categories and tags in lessons and topics

HELP. This is a big frustration that was raised months ago. I think the fix needs to be within Thrive Themes and its theme.

Posts have Categories and Tags.

Within LearnDash, a very popular LMS, there are also specialized LESSONS and TOPICS that act much like posts. But the lessons and topics are nested within the courses.

LearnDash allows for Categories and Tags for Lessons too.

My issue is getting the Categories and Tags for the Lesson and Topics to work and show up in the user interface just as TTB allows the Categories and Tags to work for posts. The navigation of Categories and Tags should work within the Lessons and Topics too. 

Loom videos for further explanation:

Chart of structure

WordPress Post

  1. Allows Categories (presently work beautifully)
  2. Allows Tags (presently work beautifully)

WordPress / LearnDash Lessons

  1. Categories = broken
  2. Tags = broken

Categories and Tags can be made to appear on a LearnDash Lesson page. However, the links displayed on the LearnDash Lesson page are to the WordPress POST categories and WordPress POST tags. No navigation works for the Lesson Categories nor the Lesson Tags.

WordPress / LearnDash Topics

  1. Categories = broken
  2. Tags = broken

Categories and Tags can be made to appear on a LearnDash Lesson page. However, the links displayed on the LearnDash Lesson page are to the WordPress POST categories and WordPress POST tags. No navigation works for the Lesson Categories nor the Lesson Tags.

Blog --> Posts --> Categories + Tags

Course --> Lessons --> Lesson Categories + Lesson Tags

Course --> Topics --> ?? Should work with Lesson Categories and Lesson Tags too. IMHO.

  •  A blending of the Lesson Categories and Lesson Tags should occur among Lessons and Topics.

NEEDS:

  • A way for the ThriveThemes Theme called Shapeshift to display Lesson Categories and Lesson Tags.
  • A way for the Lesson Categories and Lesson Tags to be hyperlinked and navigation to occur for the end user.

Example, top of page, category ISCA.

Go to the top of this page and see the various categories for this post. Click the hyperlink, ISCA, and get taken to a page: http://help.cloh.org/category/isca/ That's perfect and the way it should work.

Fix needed among TT & LearnDash site, https://Read.SwimISCA.org.


Too Much Info

There is a plugin with WordPress that allows for categories to be assigned to PAGES, more than just the regular where categories are only for POSTS. 

https://wordpress.org/plugins/create-and-assign-categories-for-pages/

And, there is a way to merge the searching for the categories of both PAGES and POSTS into one query. 

Wonder if that would work with the Lessons and Topics too? 

Solution is open sourced.


Great info from a WordPress Friend who is a developer

Hopefully, the TT Developers can implement this as a feature in its TTB, especially the 2nd part.

Since you are trying to use Categories (as opposed to Lesson Categories), you are being linked to a category archive page when you click the Thorpe link at the top of the lesson. By default, category archives only show posts. I'm guessing that your theme's category.php template is only returning Posts (not Lessons), which is causing the results to appear empty.

I see two possible solutions here:

1. If you want to keep using Categories, then you'll have to edit the categories.php template to include the learndash lesson post type in the query.

2. If you want to instead use Lesson Categories, then you'll need to edit the template that your theme is using for lessons and ensure it is displaying Lesson Categories instead of Categories.

P.S. This plugin is really helpful for determining which template you are currently looking at so that you can dig into the code and find the source. https://wordpress.org/plugins/what-the-file/

The money suggestion!

I thought of a third possibility, which is to filter the main query on your category archive pages to include the post types that you need. Here is a gist: https://gist.github.com/.../7ae4f4541f62562e485ba4d05e8dd3b3


About the author 

Mark Rauterkus

Mark Rauterkus, is the webmaster for ISCA. Also a swim, SKWIM and water polo coach in Pittsburgh, PA, USA.
Cell: 412-298-3432

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>