edit the course block cards

Home Forums Legacy Support Support queries Child Themes edit the course block cards

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #175541
    a23
    Participant
    Hi, Wanted to edit the course block cards in directory view. Could you please guide me as to how can I edit the same.
    1. I want to disable all authors on that view
    2. Add level
    3. Add No. of units inside the course
    4. Add time to complete the course
     
    #175570
    a23
    Participant
    I also want to customise the course cards on the home page
    1. Remove author names
    2. Add ratings & description
    #175629
    Diana
    Participant
    @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 table
    #176128
    a23
    Participant
    I want to change the course directory page blocks. please share code for that page. I am using the 5th style in directory
    #176186
    Diana
    Participant
    @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 requirement
    #176319
    a23
    Participant
    This reply has been marked as private.
    #176465
    Diana
    Participant
    This reply has been marked as private.
    #177261
    a23
    Participant
    Providing 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 site
    #177453
    Diana
    Participant
    This reply has been marked as private.
    #177588
    a23
    Participant
    How do i convert this vibe_course_duration_parameter : 31536000 into minutes or hours
    #177594
    a23
    Participant
    Your 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, level
    #177643
    Anshuman Sahu
    Keymaster
    Well 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 .    
    #177886
    a23
    Participant
    Thank 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.
    #177925
    Diana
    Participant
    @arihant2301 The Link is not valid. Okay
    #177929
    a23
    Participant
    Try this link https://bit.ly/2IjIuCL
Viewing 15 posts - 1 through 15 (of 25 total)
  • The topic ‘edit the course block cards’ is closed to new replies.