Home › Forums › Legacy Support › Support queries › Child Themes › edit the course block cards
- This topic has 24 replies, 3 voices, and was last updated 6 years, 1 month ago by Diana.
-
AuthorPosts
-
September 9, 2018 at 3:59 pm #175541a23ParticipantHi, Wanted to edit the course block cards in directory view. Could you please guide me as to how can I edit the same.
- I want to disable all authors on that view
- Add level
- Add No. of units inside the course
- Add time to complete the course
September 10, 2018 at 1:02 am #175570a23ParticipantI also want to customise the course cards on the home page- Remove author names
- Add ratings & description
September 10, 2018 at 8:58 am #175629DianaParticipant@arihant2301 use this tip to create a custom featured block style: https://wplms.io/support/knowledge-base/creating-custom-featured-block-style/ When you create a different block you need not remove anything. You can show whatever you want on the block. To have this info on the block you have to fetch the data from post meta table $time = get_post_meta($post->ID,'vibe_duration',true); If you will do this : echo $time Then it will show the time duration of the course. Similarly, you have to fetch other metadata from tableSeptember 13, 2018 at 10:42 pm #176128a23ParticipantI want to change the course directory page blocks. please share code for that page. I am using the 5th style in directorySeptember 14, 2018 at 10:10 am #176186DianaParticipant@arihant2301 check this article: https://wplms.io/support/knowledge-base/method-for-adding-custom-details-in-course-directory-page/ You can add the styling according to your requirementSeptember 15, 2018 at 5:50 am #176319a23ParticipantThis reply has been marked as private.September 17, 2018 at 6:53 am #176465DianaParticipantThis reply has been marked as private.September 22, 2018 at 12:38 am #177261a23ParticipantProviding credentials is currently not possible. According to what I understand, the code inserted inside wplms_customizer.php generally begins with add_action or add_filter that is not the case with the above customisation. Also could you please check that I have inserted all the code in the right place? I can give teamviewer access to my computer from which you will be able to access the siteSeptember 24, 2018 at 9:56 am #177453DianaParticipantThis reply has been marked as private.September 25, 2018 at 7:03 am #177588a23ParticipantHow do i convert this vibe_course_duration_parameter : 31536000 into minutes or hoursSeptember 25, 2018 at 7:30 am #177594a23ParticipantYour email code worked perfectly fine. I am looking to create something like this https://www.awesomescreenshot.com/image/3628336/746d48e395cbcbdc39e28668a67aa538 Can you help me with the required parameters like price, no. of units, time required for completing the course, levelSeptember 25, 2018 at 12:10 pm #177643Anshuman SahuKeymasterWell you can explore " \wp-content\plugins\vibe-course-module\includes\featured.php " file for this .This file contains all the page builder course blocks php code and contains all functions in it .September 27, 2018 at 2:11 am #177886a23ParticipantThank you Could not find the find the file in the directory you mentioned. I did find it at wplms\plugins\vibe-customtypes\includes & was able to complete the customisation of course blocks carousel. However, after making changes you mentioned, the related courses go blank. Please check below a link to my customiser_class.php - https://gist.githubusercontent.com/arihant23/665e304680ba499bf8946d410b51255d/raw/d2a96a5adf070601c6ac79db1ddfc9583b2f3132/customiser_class.php Removing the below line, restores the related courses add_filter('vibe_featured_thumbnail_style',array($this,'custom_vibe_featured_thumbnail_style'),10,3); Still working on the directory course customisation, will update soon.September 27, 2018 at 9:28 am #177925DianaParticipant@arihant2301 The Link is not valid. OkaySeptember 27, 2018 at 9:34 am #177929a23ParticipantTry this link https://bit.ly/2IjIuCL -
AuthorPosts
- The topic ‘edit the course block cards’ is closed to new replies.