Use Isotope.js on popular post category widget?!

This topic contains 3 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #373596

    Falk Meyer-Plate
    Free User
    Post count: 14

    Hey,

    I was wondering if I can use the isotope.js plugin to arange my category items inside the popular post category widget. At first its just about the look and masonry like grid i want to use. I am also playing with the idea of filtering listings with this.

    I don’t know if this is geodirectory related but im using infinte ajax scroll as well and every time i trigger my action on scroll it loads new listing but without the picture.

    Is there anything u can do for me?

    Greetings
    Falk

    #373624

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Falk,

    The isotope thing you would have to look into yourself, i have not worked with it so don’t know how difficult it would be,

    The images not showing on infinite scroll will likely be because of our lazyload images, you can disable it from GD>Design>Scripts>Enable lazy load images
    or you could fire this JS function after the listings are loaded geodir_init_lazy_load();

    Thanks,

    Stiofan

    #373637

    Falk Meyer-Plate
    Free User
    Post count: 14

    Hey,

    images are now loading properly…i have added lazyload by myself and then it got stuck trying to do the same task twice.

    I need to know where this beautiful thing is coded or how i can hook into the markup to add some minor changes to the markup. The grid function should work easily…basicly i am just using the masonry grid function inside isotope with the option to add a filter system in the later process 🙂

    greetings
    falk

    #373638

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Falk,

    I’m glad you got the images working 🙂

    The templates are under the templates folder listing-listview.php and widget-listing-listview.php

    You can create a folder in your child theme called “geodirectory” and add the files to that folder, they will then takeover.

    Thanks,

    Stiofan

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket