WordPress.org

Forums

Hueman
[resolved] Homepage Slider doesn't show up if only videos in it (8 posts)

  1. wp4flo
    Member
    Posted 1 year ago #

    Dear Alexander, dear fans of Hueman - the best free wordpress theme - ,
    I modified the /inc/featured.php in the way you told in this thread, Alexander.
    Videos appear perfectly and can be played directly when there are different post-formats in featured content. When I only choose video-formated posts to be featured in Homepage-Slider, the Slider does not show up.
    Any ideas, why this happens.
    Thanks and a good year for everybody,
    Flo

  2. Alexander Agnarson
    Member
    Theme Author

    Posted 1 year ago #

    In /inc/featured.php there is a Javascript that checks if the first image is loaded in the slider, and then loads flexslider on document ready to make it as fast as possible. However, when you use videos instead there is no image to check for, so it won't load at all.

    So, this section: http://pastebin.com/RaDBvvci

    Needs to be replaced with this: http://pastebin.com/Z2KUwy1D

  3. wp4flo
    Member
    Posted 1 year ago #

    Works!
    Thanks a lot!

  4. wp4flo
    Member
    Posted 1 year ago #

    Additional question...
    If i have e.g. two featured videos in featured-slider and function "slideshow: true" is set in function.php, it would be great that slider stops automatically if the visitor starts one of the videos. Otherwise slider continues sliding and the running video appears and disappers...
    Is there a way to reach this?
    Thanks,
    Flo

  5. Alexander Agnarson
    Member
    Theme Author

    Posted 1 year ago #

    Not sure about that one, but hover on pause is enabled, so as long as the cursor stays on top of the slider, it should not move (I think?).

    Check out the Flexslider docs here:
    http://www.woothemes.com/flexslider/

    Re: Pausing when video is playing:
    https://stackoverflow.com/questions/17316181/stop-flexslider-when-video-is-playing

    http://flexslider.woothemes.com/video.html

  6. sgsai
    Member
    Posted 5 months ago #

    HI
    if we hack the hueman master theme,
    a) will it effect during version upgrade (i am using child theme )
    b) if we use this hack, will it work only for videos,
    what if i have both videos and featured image post, will both
    the featured images and video post, will show up in the "slider"
    on blog home page

    thanks

  7. sgsai
    Member
    Posted 5 months ago #

    Hi in the pastebin,
    same quote is there in the both the boxes : above and below RAW Paste Data

    is there any significance, which one to use, for above hack

    thanks

  8. sgsai
    Member
    Posted 5 months ago #

    also,
    is there something, we need to do, for the slider to auto rotate?
    iam still getting these < > and slider is not auto rotating

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic