Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14565
    slabbi
    Member

    Hi,

    I would like to randomize the feature post slider in Catch Everest.

    It is not necessary that all featured posts are randomized displayed but it would be nice to randomize at least the start post so people will not always see the same post when visiting the homepage.

    Can you provide a hack for that? Or can you point me to the function that has to be modified?

    Thanks,
    slabbi

    #14575
    Sakin
    Keymaster

    @slabbi: For this you have to build child theme and create functions.php file and then copy the function catcheverest_post_sliders() from catcheverest-functions.php to your child them functions.php. Then edit the orderby from “post__in” to “rand” and then remove comment // from delete_transient( 'catcheverest_post_sliders' );

    #14577
    slabbi
    Member

    Great, thanks for the fast answer, Sakin.
    Works fine, exactly what I have been looking for. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Catch Everest – Randomize Feature Posts’ is closed to new replies.