Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Custom section in course sidebar
Tagged: course page
- This topic has 5 replies, 4 voices, and was last updated 7 years, 9 months ago by Skywalker [ ex VibeThemes].
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
March 22, 2017 at 7:39 pm #102617visibleParticipantHI, 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).'
March 23, 2017 at 11:31 am #102718H.K. LatiyanParticipantIn lms settings there is already a course settings area which you can use to add the custom details also, refer: http://prntscr.com/engso8March 23, 2017 at 1:34 pm #102747visibleParticipantThanks! 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!March 24, 2017 at 11:53 am #102902Skywalker [ ex VibeThemes]ParticipantWP-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-detailsApril 14, 2017 at 7:00 pm #107002ronniecreagerParticipantWhere 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. -ronnieApril 15, 2017 at 6:59 am #107039Skywalker [ ex VibeThemes]Participant@ronniecreager These are normal widgets. You can add/remove/edit them by going onto 1. 2. 3. 4. 5. 6. -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘Custom section in course sidebar’ is closed to new replies.