• Resolved mohanishsn

    (@mohanishsn)


    This is the only filter that worked for my custom post type and its taxonomies, so thank you for that.

    Now the problem is that the count which is displayed in the drop-down, next to the terms when you are applying filters, they don’t change. The count remains as it is even after applying the filter

    Second, I want a slider for filtering ‘Year’ wise. Is it possible? Because I didn’t get any configuration for such setting. So can anybody tell me how to achieve this if it is possible?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi @mohanishsn

    The post count will only update if you check the conditional dropdown setting. That will trigger a recalculation with each selection. Otherwise it wont recalculate because it’s basically just the results of a wp_dropdown_categories call.

    You could probably convert your “year” dropdown into a slider if you want. However it’s not within the scope of this plugin for the time being.

    You would probably have to use a project like http://ionden.com/a/plugins/ion.rangeSlider/demo_interactions.html
    to create a JS slider after BTF has setup the dropdowns based on your Year dropdown values. Then use the onChange event of the slider to also change the value of the dropdown which you can just hide with CSS.
    That way you will retain all of BTF functionality and filtering while creating a custom UI slider instead of the dropdown 🙂

    Unfortunately I can’t do this for you but you should have a solid ground to start on now! Best of luck!

    Thread Starter mohanishsn

    (@mohanishsn)

    Hi @jonathandejong,
    Well I already tried with conditional dropdown setting, but when I enable that option the filter on my page seems to get disabled. I cant select any of the options from the dropdown.

    Re the year slider, I will check out what you have suggested.

    Thanks,
    Mohanish

    Plugin Author Jonathandejong

    (@jonathandejong)

    Hmm sounds like you have some JS issues.

    Can you try checking the console in chrome for JS errors when you load the page?

    Thread Starter mohanishsn

    (@mohanishsn)

    There is just this one error:

    Failed to load resource: net::ERR_BLOCKED_BY_CLIENT and it points to this URL
    https://www.facebook.com/impression.php/f2c5a59fcb0b9/?lid=115&payload=%7B%22source%22%3A%22jssdk%22%7D

    Plugin Author Jonathandejong

    (@jonathandejong)

    Oh, do you have any posts connected to your terms? Because if not, they’d all be disabled.

    Thread Starter mohanishsn

    (@mohanishsn)

    I do have posts connected to my terms. Also I have 1 template which is used to display posts.

    Plugin Author Jonathandejong

    (@jonathandejong)

    BTF always sends you to the archive template for the CPT. And if you place BTF in any other location you need to specify the cptslug but I guess you already got that right?

    Which template are you using?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Filter settings for custom taxonomies’ is closed to new replies.