Plug-in issue, background videos

Home Forums All Other Themes Plug-in issue, background videos

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #229132
    NigelNigel
    Participant
    • Topics: 182
    • Replies: 330
    • Total: 512
    Member since: March 17, 2016

    Hi

    an issue has surfaced using SKT Flooring theme on https://ozhrb.nimsite.uk. I’ve added a plug-in called Fullscreen Background premium that is working great when adding individual page background images but is not working with MP4 video, their tech support is saying…

    “There is particular default wordrpess hook missing in your theme which is place where video code goes to display video. I can add those codes in your theme’s child theme. Can you add child theme of your theme as adding that hook directly in your theme will not be good because whenever the theme will be updated, code will be overridden and video background will stop working. Please add child theme and let me know when done. I will add the necessary hook in the header of your child theme. If you are having trouble adding child theme let me know.”

    I thought it best to discuss with yuo guys first in case you are not aware of the issue?

    #229133
    NigelNigel
    Participant
    • Topics: 182
    • Replies: 330
    • Total: 512
    Member since: March 17, 2016

    “FYI, ‘wp_body_open’ is the hook which is missing in theme , it is standard and default hook in wordpress.”

    #229135
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31182
    • Total: 31182
    Member since: August 16, 2013

    Hi,

    Kindly add given code in “header.php” file below this “<body <?php body_class();?>>”

    Add this code : <?php do_action( ‘wp_body_open’ ); ?>

    Regards,
    Chris

    #229136
    NigelNigel
    Participant
    • Topics: 182
    • Replies: 330
    • Total: 512
    Member since: March 17, 2016

    thanks Chris

    see error message when applied: https://ozhrb.nimsite.uk/wp-content/uploads/2025/04/Screenshot-2025-04-09-142449.jpg

    #229139
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31182
    • Total: 31182
    Member since: August 16, 2013

    Hi,

    We forgot to provide the code of function.php file, Kindly add this code in function.php file.

    // WordPress wp_body_open backward compatibility
    if ( ! function_exists( 'wp_body_open' ) ) {
        function wp_body_open() {
            do_action( 'wp_body_open' );
        }
    }

    Kindly add given code in “header.php” file below this “<body <?php body_class();?>>”

    Add this code : <?php do_action( ‘wp_body_open’ ); ?>

    Regards,
    Chris

    #229157
    NigelNigel
    Participant
    • Topics: 182
    • Replies: 330
    • Total: 512
    Member since: March 17, 2016

    Thanks, same error with the additional code added

    https://ozhrb.nimsite.uk/wp-content/uploads/2025/04/Screenshot-2025-04-11-085956.jpg

    I’ve sent my WP log-in details to your support email using the ref #229139

    #229185
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31182
    • Total: 31182
    Member since: August 16, 2013

    Hi,

    Issue have been resolved. Kindly check and confirm.

    Regards,
    Chris

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.