course tag

Home Forums Legacy Support Support queries Other issues course tag

Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • #201626
    bamcse
    Spectator
    Hi, I use a course tag in this post: https://wplms.io/support/forums/topic/tags-in-courses/
    #201627
    bamcse
    Spectator
    This reply has been marked as private.
    #201665
    Mk
    Moderator
    Ok, give us some time. we will provide you code.  
    #201692
    bamcse
    Spectator
    Ok
    #201894
    Mk
    Moderator
    #201895
    Mk
    Moderator
    Note: You need to add Tags in course. Refer : http://prntscr.com/n2nhtg  
    #201930
    bamcse
    Spectator
    This reply has been marked as private.
    #201970
    Mk
    Moderator
    Go to wp-admin -> plugins -> editor-> wplms-customizer plugin-> and add following code below in wplms-customizer.php :   add_filter('wplms_sidebar',function($sidebar){  if(is_tax('course-tag')){    return 'blog';  }  return $sidebar; });    
    Note: The name of sidebar is sensitive, so if its not working please check your custom side bar name. and replace sidebar name with 'blog' ( return 'blog').
    #201995
    bamcse
    Spectator
    This reply has been marked as private.
    #202015
    Mk
    Moderator
    Add this code in wplms-customizer.php add_filter('wplms_sidebar',function($sidebar){ $post = get_post_type( get_the_ID() ); if($post == 'learningpath') { return 'blog'; } return $sidebar; });
    #202018
    bamcse
    Spectator
    This reply has been marked as private.
    #202030
    Mk
    Moderator
    Tag issue :
    Remove Old code given in gist : https://gist.github.com/99manish/c619b2c47c27991a95eba90f762f67b9 and add this code: https://gist.github.com/99manish/83bd70fcc10876bf802a6ffdd79ac0c9
    Warning issue :
    Please ignore this warning as it will not affect any functionality.  
    #202090
    bamcse
    Spectator
    This reply has been marked as private.
    #202124
    Mk
    Moderator
    Ohh yes, Please set duration for curriculums. It will fix your issue.
    #202125
    Mk
    Moderator
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 30 total)
  • The topic ‘course tag’ is closed to new replies.