Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #1495671
Filter course by category and edit
Closed

Comments

  • Luis started the conversation

    I want to make a menu with filters by category of courses, but it does not filter. What can be failing?

    On the other hand, why? WP Bakery Builder does not work in the edition of the courses.

    Thank you very much

  •  1,845
    Elated replied

    Hello,

    1. Just go to alter this file >> wp-content\plugins\eltdf-lms\post-types\course\templates\archive-course.php

    and then replace entire code with this one below:

    <?php
    get_header();
    esmarts_elated_get_title();
    do_action( 'esmarts_elated_action_before_main_content' ); ?>
    <div class="eltdf-container eltdf-default-page-template">
     <?php do_action( 'esmarts_elated_action_after_container_open' ); ?>
     <div class="eltdf-container-inner clearfix">
      <?php
      $eltdf_taxonomy_id   = get_queried_object_id();
      $eltdf_taxonomy_type = is_tax( 'course-tag' ) ? 'course-tag' : 'course-category';
      $eltdf_taxonomy      = ! empty( $eltdf_taxonomy_id ) ? get_term_by( 'id', $eltdf_taxonomy_id, $eltdf_taxonomy_type ) : '';
      $eltdf_taxonomy_slug = ! empty( $eltdf_taxonomy ) ? $eltdf_taxonomy->slug : '';
      $eltdf_taxonomy_name = ! empty( $eltdf_taxonomy ) ? $eltdf_taxonomy->taxonomy : '';
      
      eltdf_lms_get_archive_course_list( $eltdf_taxonomy_slug, $eltdf_taxonomy_name );
      ?>
     </div>
     <?php do_action( 'esmarts_elated_action_before_container_close' ); ?>
    </div>
    <?php get_footer(); ?>

    That should do the job.

    2. Please note that you need to enable VC (WB Bakery Page Builder) for Courses in WP Bakery PB >> Role Manager >> Post Types >> Custom >> and then just check the box Course.


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.