Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter foleyfactor

    (@foleyfactor)

    An update: I have gotten it to take just one post from a category of my choosing, which I am very happy with.

    Does anyone know how to change the delay between slides on the slider? I have tried editing them in jd.gallery.v2.js, to no avail, so I think that I need to change something where the slider is initialized in the theme, but I cannot find this. I have also looked in jd-gallery-slider.php, and checked through many of the theme files in the editor.

    Again, all of your help is greatly appreciated!

    Thread Starter foleyfactor

    (@foleyfactor)

    Do you know if it would be possible to change the category loop to always iterate over the most recent post? I think if it was possible to not iterate all of the posts, but rather just the same post in this loop:
    while ( $query->have_posts() ) : $query->the_post(); ?>
    However, changing it to something like while ( $query->have_posts() ) : $query->get_posts()[0]; ?> creates an infinite loop from what I can tell.

    If you can figure out a way, it would be greatly appreciated. If not, I guess we will just have to update the id manually.

    Thread Starter foleyfactor

    (@foleyfactor)

    Thanks Richie, the second fix worked like a charm! I had read elsewhere that putting the same post id twice would work, but I was wondering if there was a way to do it with just a category… It seems like a pain to have to change that post id everytime we want to change the slider. I will try to play around with the slider and see if I can get anything to work, Is there anything you recommend?

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