Using Isotope To Sort & Filter Posts In WordPress With Oxygen

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ย. 2024

ความคิดเห็น • 53

  • @PswACC
    @PswACC 3 ปีที่แล้ว +16

    It would be great if Oxygen had a native integration to Isotope without all the coding.

    • @RehmatDeen
      @RehmatDeen 10 วันที่ผ่านมา

      literally half the things you'd expect, need to be custom coded or using another plugin, like why isn't filtering included in repeaters by default? it's such a basic feature

  • @kuzmich1717
    @kuzmich1717 3 ปีที่แล้ว +4

    Please do more similar tutorials !!

  • @bungusmonkage
    @bungusmonkage 3 ปีที่แล้ว

    This is a nice first step to a real search and filter, been looking for a good search and filter that doesnt cost the earth and works with Oxygen, really need that search though.

    • @TitanV
      @TitanV 2 ปีที่แล้ว

      Did you find anything in the mean time? Looking for the exact same thing myself.

  • @jkarel-brovisuals
    @jkarel-brovisuals 3 ปีที่แล้ว

    Thank you Elijah for providing this awesome tutorial! 😊👍

  • @tomislavtrgovac5439
    @tomislavtrgovac5439 3 ปีที่แล้ว +5

    I have custom post and categories so this php code won't work. How to write this code to get custom most taxonomy?

    • @shannonribbons
      @shannonribbons 3 ปีที่แล้ว +2

      I found get_terms works fine:

  • @isidroantoniocuadradodiaz1146
    @isidroantoniocuadradodiaz1146 3 ปีที่แล้ว +1

    Awesome, this include a new posibilities...

  • @kberwager
    @kberwager ปีที่แล้ว +1

    I was thinking to switch to Oxygen but not after seeing this tutorial. Filter and Sorting should be native and have ACF Pro integration.

  • @elenanovinskiy7953
    @elenanovinskiy7953 3 หลายเดือนก่อน

    Thank you Elijah! I was able to create a filterable portfolio gallery with this 👍🏻 I was also wondering how do I get the filtering button to stay highlighted when clicked?

  • @FernandoArbex
    @FernandoArbex 3 ปีที่แล้ว

    Wow. Awesome tutorial.
    Thanks a lot

  • @dankuta
    @dankuta 3 ปีที่แล้ว +1

    Hello Elijah! I love your tutorials. Can you please do one on using Snipcart with Oxygen. Will greatly appreciate it.

  • @kuzmich1717
    @kuzmich1717 3 ปีที่แล้ว

    Cool tutorial! Thanks!

  • @RaajKhan
    @RaajKhan 2 ปีที่แล้ว

    Thanks, Generally I got an idea from this video and I have work with mixitup :)

  • @vovi547
    @vovi547 3 ปีที่แล้ว +2

    Another great tutorial Elijah, thanks. What is not clear from this is does it require the repeater to bring back all records? If for instance I was only showing 6 entries per page and used the filter option would it only filter those 6 or would it show the first 6 from all posts that match that filter?

  • @PswACC
    @PswACC 3 ปีที่แล้ว +1

    it would be great if you created an isotope composite element.

  • @ramimamin
    @ramimamin 3 ปีที่แล้ว

    Brilliant!

  • @avrilmhrs
    @avrilmhrs 3 ปีที่แล้ว

    Very helpful.

  • @rework7562
    @rework7562 2 ปีที่แล้ว +3

    Unfortunately this completely destroys the existing grid-layout... You could have mentioned what the "fit-rows"-thing does...

    • @HAZD_xyz
      @HAZD_xyz ปีที่แล้ว

      I find a solution to that! Take the div of the repeater and add to it "position:initial!important" as custom CSS

    • @rework7562
      @rework7562 ปีที่แล้ว

      @@HAZD_xyz Thank you very much. I will give it a try. A appreciate your reply.

  • @HAZD_xyz
    @HAZD_xyz 3 ปีที่แล้ว

    wow super cool

  • @warwickfrederikson7088
    @warwickfrederikson7088 3 ปีที่แล้ว +1

    Because oxygen is so fast it is ideal for conversion to an app. Or make an app using oxygen. Any chance of you guys doing some research into which of the converters would work best with Oxygen and do a demo video. Unbelievably big market if you guys can sort it.

    • @robbie653
      @robbie653 3 ปีที่แล้ว

      What would be the benefit to us the end user?

    • @Syphronix
      @Syphronix 3 ปีที่แล้ว

      I too am very curious to see an app focus from the team. would be great for SAAS

  • @razaDev467
    @razaDev467 5 หลายเดือนก่อน

    If we have paginated posts then jquery filtering is not working with /page/2 posts

  • @miladsayad00
    @miladsayad00 3 ปีที่แล้ว +2

    Thank you for this cool feature. Can you please show me a proper way to load items with a default filter?
    I don't want to show all items on page load. I probably tried all tutorials everywhere, but nothing worked.

    • @sumerianbrother
      @sumerianbrother 3 ปีที่แล้ว +1

      same here. did you manage to get any further with this issue? cheers.

    •  3 ปีที่แล้ว

      th-cam.com/video/2pBuoDWB-u0/w-d-xo.html

  • @jaspervankordelaar
    @jaspervankordelaar 3 ปีที่แล้ว

    Just a tip. Be sure NOT to load the main Isotope JS package on defer. Otherwise it misses the height calculation of the parent div.

  • @ytwite
    @ytwite 2 ปีที่แล้ว +1

    How can i add a pagination when i have a lot of items?

  • @luisjosetojalrodrigues8581
    @luisjosetojalrodrigues8581 3 ปีที่แล้ว

    I'm using a count of 4 posts per page. If I'm on the second page of first query, and the second query have just 3 posts, when I click in the second query, it remains in page 2 that don´t have any post because have just 3. How can I solve it?

  • @alex.tonkovid
    @alex.tonkovid 3 ปีที่แล้ว +1

    How to do it with custom category?

    • @shannonribbons
      @shannonribbons 3 ปีที่แล้ว +2

      see reply to Tomislav below ;)

  • @dankray
    @dankray 3 ปีที่แล้ว

    Very nice tutorial. Unfortunately it does not work for me in combination with the Isotope Masonry Layout. Does anyone have a tip so that both can be used together?

  • @vcodev108
    @vcodev108 3 ปีที่แล้ว +1

    how to include the isotope library in oxygen?

    • @tomashudolin7197
      @tomashudolin7197 3 ปีที่แล้ว

      Also doesn't work for me. I tried to use the code block and I also tried to put CDN link to advanced scripts, but nothing works.

  • @SETOURSLima
    @SETOURSLima 2 ปีที่แล้ว +2

    Can anyone point me in the right direction as to how I install this js file to my Wordpress? I have followed all of the instructions above but receive the following error: Uncaught TypeError: jQuery(...).isotope is not a function on line #2 in 'my website address' any tips on what I am doing wrong?

    • @khanatox
      @khanatox 2 ปีที่แล้ว

      Did you find a solution to this solution by any chance? I'm strugling at this point too.

    • @wojteknastaj6438
      @wojteknastaj6438 2 ปีที่แล้ว

      Any luck with the solution to it?

    • @tuanbarroslemos2899
      @tuanbarroslemos2899 ปีที่แล้ว

      Make sure to hit apply code button when entering isotope script in php box

    • @baghera7608
      @baghera7608 ปีที่แล้ว

      Change Javascript on line 1 from:
      jQuery(document).ready( function() {
      TO
      jQuery(document).ready(function () {
      // If we're in the builder, return and don't execute.
      if (window.angular) { return; }

  • @AmandaLucaseu
    @AmandaLucaseu 3 ปีที่แล้ว +1

    Fantastic video 😃 Could this be used for WooCommerce filtering?

    • @TheCredibleHulk
      @TheCredibleHulk 3 ปีที่แล้ว

      It could with a bit of modification, BUT as long as your products are all displayed on one page. This method doesn't work, when your list of posts/products is paginated. Because posts on other pages are not yet loaded and usually require a page reload to appear (or are loaded via an AJAX call). In both cases Isotope doesn't know about ALL items from the beginning, so won't be able to filter/sort through them.

  • @emanuelechiari
    @emanuelechiari 3 ปีที่แล้ว

    Hi Thanks for this amaizing tutorial...
    I follow the instructions and everything works fine in the front end, but I have a problem advice in the back end....
    TypeError: jQuery(...).isotope is not a function on line #4 in emanuelechiari.com/showreel/?ct_builder=true&ct_inner=true&oxygen_=true line 15 > injectedScript
    Any Solutions? Running Oxygen 3.6.1 and Wordpress 5.6
    Thanks again

  • @zanagoran10
    @zanagoran10 11 หลายเดือนก่อน

    11:48

  • @sunnyt7
    @sunnyt7 3 ปีที่แล้ว

    This doesn't work with any sort of pagination, right?

    • @TheCredibleHulk
      @TheCredibleHulk 3 ปีที่แล้ว +2

      You are right, it does not.
      By default, when items are paginated, they are not yet loaded and usually require a page reload to appear (or are loaded via an AJAX call) when you click on the next page link. In both cases Isotope doesn't know about ALL items from the beginning, so won't be able to filter/sort through them correctly. For example, if you are on page 2 it will only sort/filter items on page 2, because it doesn't know about items on any other pages.

    • @oxyextras4289
      @oxyextras4289 3 ปีที่แล้ว

      The only way I found was to fake the pagination, so the posts are actually all fetched, but after x posts, they are hidden. Then the pagination itself is a type of filter to show the next 'page', where all it's doing is revealing the next batch of x posts and hiding the first x posts. So it looks like pagination, but really all the posts are there. It means the filter works and you are getting the paginated experience, but all the posts are still needing to be loaded, so a bit pointless in some respects. eg codepen.io/TimRizzo/pen/ervrRq

    • @tomashudolin7197
      @tomashudolin7197 ปีที่แล้ว

      @@TheCredibleHulk So useless :(