• Resolved mahsaad

    (@mahsaad)


    I have a page that display a list of all countries.
    I’m using Isotope buttons as follow:

    Show all
    North America
    Asia
    Africa
    Europe

    Including the “Search field”

    Let’s say for I’m showing all the countries (didn’t filter countries by continent).

    If I search for “Can” in the search field, it displays all countries that has “Can” in the title, so far this is working.

    The idea is that, after showing all the countries that has “Can” in the title, if I click the “Show all” button, I want it to clear the “Search field” and show all the countries.

    Same thing, if I filtered the countries by “Continent”, let’s say I click on “North America”, it shows the countries in “North America”, this is working.

    Now from this list showing the countries in “North America”, if I type in the “Search field” “Can”, it shows all the countries under “North America” that has “Can” in the title. This is also working.

    Now if I click on “Show all”, I also want to clear the “Search field” and show all the countries in all the continents.

    In other words, when clicking on “Show all” it should reset all the filters including the “Search field”.

    Is there an event I can add to the “Show all” button to apply this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RadiusTheme

    (@techlabpro1)

    Hello,

    If you make the country as the category then can use Isotope. Set post as category wise then it will work.

    In “Show All” button will show all posts.

    Thanks

    Thread Starter mahsaad

    (@mahsaad)

    Hi there,

    I enabled the “Isotope Filter URL” in the option, it works only the first time.

    Even on your demo page it’s not working properly:

    https://radiustheme.com/demo/wordpress/thepostgridpro/isotope-1/#filter=.iso_3

    In your demo page, if you search for “Sticky”, it filters the post.
    Now if you click on “Show All” it shows all the posts.

    Try to search again, it doesn’t work.

    BTW, your documentation doesn’t cover all the options available in the plugin.
    Do you have a full documentation please?

    Regards,
    M

    • This reply was modified 4 years, 5 months ago by mahsaad.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Isotope reset search results when clicking on Show all button’ is closed to new replies.