Custom section in course sidebar

Home Forums Legacy Support Support queries How-to & Troubleshooting Custom section in course sidebar

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #102617
    visible
    Participant
    HI, is it possible to add an editable region that will display in the sidebar above the add to cart  button? Specifically I would like to display course title, date, location and price in a list. I have tried adding the following code so tjhey can be added but nothing has changed in course settings. Thanks!   ' add_filter('wplms_course_metabox','wplms_custom_course_details_repeatable'); function wplms_custom_course_details_repeatable($metabox){ $metabox['vibe_course_details'] = array( 'label' => __('Custom Course details','vibe-customtypes'), // <label> 'desc'  => __('custom course details.','vibe-customtypes'), // description 'id'    => 'vibe_course_details', // field id and name 'type'  => 'repeatable', // type of field 'std'   => '' ); return $metabox; }   add_filter('wplms_course_details_widget','wplms_custom_course_details_information'); function wplms_custom_course_details_information($details){ $custom_info = vibe_sanitize(get_post_meta(get_the_ID(),'vibe_course_details',false)); if(isset($custom_info) && is_array($custom_info)){ foreach($custom_info as $k=>$val){ $details[]='
    • '.htmlspecialchars_decode($val).'
    '; } } return $details; }'
    #102718
    H.K. Latiyan
    Participant
    In lms settings there is already a course settings area which you can use to add the custom details also, refer: http://prntscr.com/engso8
    #102747
    visible
    Participant
    Thanks! I actually managed to put that code in the correct place (plugin editor wplms-cutomiser.php) http://vibethemes.freshdesk.com/support/solutions/articles/1000176487-adding-a-custom-field-to-add-custom-information-in-course-details So what you sent me there, are they restricted to the choices in the drop down? Could U add a start date? If so how would display it in the sidebar?   Again, thanks!  
    #102902
    WP-ADMIN->LMS-SETTINGS->COURSE SETTINGS. Yes, right now there are limited set of things to choose from in the course settings, But If you want custom fields for all the courses with your that are reorderable and also add privacy to them then follow this tip : https://wplms.io/support/knowledge-base/wplms-course-details-custom-field/   NOTE : If you want custom fields COURSE WISE, then you can use this tip. But these will not show up in the LMS-settings->course settings: http://vibethemes.freshdesk.com/support/solutions/articles/1000176487-adding-a-custom-field-to-add-custom-information-in-course-details
    #107002
    ronniecreager
    Participant
    Where do I edit the options in the left sidebar for the following: "Instructors, Price, Type" I'd like to delete / edit possibly remove these from showing up. These are the filter options when searching for a course. I did find how to Categories and now how to do this area.   thank you. -ronnie    
    #107039
    @ronniecreager These are normal widgets. You can add/remove/edit them by going onto 1. 2.  3. 4. 5. 6.
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom section in course sidebar’ is closed to new replies.