Genesis Title Toggle on Custom Post Types – Learn Dash

By default Genesis Title Toggle only works on pages, but you can enable it for regular posts and custom post types by using a filter that the plugin comes with – in the example below I need it enabled for the default custom post types that come with Learn Dash.

So in the snippet above Genesis Title Toggle is now enabled for  regular posts and the CPTs for Learn Dash:

  • sfwd-courses
  • sfwd-lessons
  • sfwd-quiz
  • sfwd-certificates

For any other CPTs just add the names to the array.


Leave all Comment