Forums Forums Search & Filter Pro Filter LearnDash Course Grid

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #269570

    First off, here are the plugins that I am using:

    • Search and Filter Pro (S&F)
    • Learndash LMS (LD)
    • Learndash LMS Course Grid Add-on

    What I am trying to do is have the S&F plugin filter the Learndash courses on an All Courses page via AJAX. As shown above I am using the Course Grid Display, but I think that that plugin just pulls in the existing query, so I think we just need to be able to target the original Learndash course query that displays the courses as a list.

    I have successfully been able to filter the courses when displaying the results as “An Archive page”, however I’d like to have it display the results via AJAX in the grid and not on a separate page. I have been going through the LD files and trying to input the custom code(specified in your documentation) to have it S&F plugin modify the query, but I can’t get it to modify the existing query. It’ll either take over the entire query and just display the course title and description without any of the other grid information, or not work at all.

    If you could point me in the right direction or if you have ideas of how to accomplish filtering the courses and have them display as part of the grid results, I’d appreciate any feedback you have. Thank you.

    Working page: https://cucbeta.wpengine.com/all-courses/

    Trevor
    #269642

    Generally, I would normally recommend that you place on the page:

    The form shortcode/widget
    A link shortcode, similar to the form shortcode, which would look something like [searchandfilter id="1198" action="filter_next_query"]
    The LearnDash grid

    I am not sure what Display Results Method should be used in the form, but start with the Custom method.

    Anonymous
    #269981

    Hi Trevor,

    That worked! Simply placing it above the LearnDash shortcode did the trick. It was almost too easy. 🙂

    Thank you!

    Trevor
    #269983

    Thanks for getting back to me. I will close this thread for now.

Viewing 4 posts - 1 through 4 (of 4 total)