• Resolved kidznc

    (@wsp-kk)


    Hello!

    Perhaps I’m missing something, but I’ve tried placing the EDD Ajax Filter shortcode just above the standard EDD download shortcode, to no avail – the list of downloads never change based on my selections.

    [edd_ajax_filter filter="taxonomy" show_label="yes" operator="OR" type="select" field="download_category" show_option_all="no" hierarchical="no" order_by="name" order="ASC" hide_children="no" hide_empty="no" show_count="no" multiple="no" inline="yes" hide_inputs="no"]
    [downloads]

    Is this, in fact, how the shortcodes should look in the visual editor? Or am I missing something? I assume this its how its supposed to be used, as the documentation doesn’t go into any further specifics.

    Thank you for your time.

    -KK

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ruben Garcia

    (@rubengc)

    Hi @wsp-kk

    You just need to set the parameter operator=”OR” to operator=”AND” to make it more restrictive

    Best regards

    Thread Starter kidznc

    (@wsp-kk)

    Thanks for the reply.

    I discovered a few things since my post. First off, I found out nothing was coming up because the plugin’s AJAX files were being compressed by my Autoptimize plugin.

    I added the following files to Autoptimize’s exception list and AJAX came back to life on the downloads page:

    edd-ajax-filters.js,edd-ajax-filters.min.js,edd-ajax-filters-admin.min.js,edd-ajax-filters-admin.js

    EDIT: I went ahead and tried the “AND” operator – which I’d been avoiding, thinking it would display content from multiple categories at once. I got it to work.

    Unfortunately, it doesn’t seem to allow me to make specific limitations to which EDD categories I can limit or display from the [downloads] shortcode, but I assume this is a limitation of its functionality, correct?

    -KK

    • This reply was modified 7 years, 6 months ago by kidznc.
    • This reply was modified 7 years, 6 months ago by kidznc. Reason: Figured out the problem
    • This reply was modified 7 years, 6 months ago by kidznc.
    Plugin Contributor Ruben Garcia

    (@rubengc)

    Hi @wsp-kk

    To allow check multiples categories you need to set the parameter multiple=”no” to multiple=”yes”

    It will turn radio inputs into checkboxes, allowing you choose multiple categories to filter

    Hope it helps you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to get filter to affect [downloads]’ is closed to new replies.