adding custom information in carousel

Please add the given code in your wplms-customizer.php file at the end before ” ?> ” in wplms customizer plugin:

add_filter('wplms_course_metabox','curriculum_infos_settings');
function curriculum_infos_settings($settings){
   $settings['vibe_curriculum_infos']=array( // Text Input
      'label' => __('Course curriculum infos','vibe-customtypes'), // <label>
      'desc'  => __('Curriculum infos to hsow in carousel','vibe-customtypes'), // description
      'id'  => 'vibe_curriculum_infos', // field id and name
      'type'  => 'editor', // type of field
      'std' => ''
    );
   return $settings;
}
add_filter('wplms_course_thumb_extras','show_curriculum_info');
function show_curriculum_info($return){
  $curriculum_infos=get_post_meta(get_the_ID(),'vibe_curriculum_infos',true);
  return '<p style="display: block;width: 100%; position: relative;margin: 50px 0 0 0;">'. $curriculum_infos.'</p>';
}

This will add the setting ” Course curriculum infos ” in course settings in back end .
Z51gsTY

And whatever you will write here will show in carousel .
s30fGDH
Note that you have to select the appropriate featured block style in carousel or post grid settings.

KuXWQ4S

Was this article helpful?

2 Comments

  1. mogodigital

    where is the code of this block located?

    I want to modify the content display

  2. Hi,

    You may call me Festinger, and I’ll be your go-to guy for all things WordPress you may imagine. I have a great collection of paid WordPress themes and plugins, all 100% legal.

    I believe in the open source community and believe that WordPress should be available and affordable to all. Unfortunately premium products authors refuse to decouple support from the code, they won’t set regional price differences and they rarely offer discounts to students, low waged or the young.

    We are providing a third way by redistributing the code without any unneeded extras and I don’t sell premium products to make money, I make money to bring more premium products to The Vault.

    All my plugins and themes are obtained securely by downloading directly from the original authors. I have been trusted by 5500+ clients.

    Would you like to know more?

    Take a look at https://festingerbhw.com

    Kind regards,
    Festinger

Leave a Reply to mogodigital Cancel Reply