• Resolved marijn1887

    (@marijn1887)


    I used this code and was working fine:

    function vidbg_front_page() {
    
      // Your conditional for front page
      if( ! is_front_page() ) {
        return;
      }
    
      // Your Video Background shortcode
      echo do_shortcode( '[vidbg container="body" mp4="#" webm="#" poster="#" muted="true" loop="true" overlay="false" overlay_color="#000" overlay_alpha="0.3"]' );
    }
    add_action( 'wp_footer', 'vidbg_front_page' );
    

    Now after the update, it’s not working anymore.

    What has changed in the new version??

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode not working anymore’ is closed to new replies.