FacetWP Issue with LifterLMS
-
Hi all,
I am using FacetWP along with LifterLMS and I want to be able to filter based on Course Difficulties, Categories etc. Although I think I am making everything correctly the Filtering elements not showing.
I observed that the generated PHP code by FacetWP for filtering among course difficulties is the following:<?php return array( "post_type" => array( "course", "lesson" ), "post_status" => "publish", "orderby" => "title", "order" => "ASC", "posts_per_page" => 10, "tax_query" => array( array( "taxonomy" => "course_difficulty", "field" => "slug", "terms" => "course-difficulty" ) ) );
and the code for displaying is the following:
<?php while ( have_posts() ) : the_post(); ?> <div><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div> <?php endwhile; ?>
-
Do you think those snippets are correct?
Are the Query Arguments like “course”, “lesson” going to successfully do the search in LifterLMS?
Any ideas?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘FacetWP Issue with LifterLMS’ is closed to new replies.