• We would like to use your theme as it works so well with all we do.
    We would like the site to be for Video posts now. AND, located under the normal header graphic, could you add a Youtube or video-type Rotator/Slider with left and right arrows, AND the clickable thumbnails of other post videos below the big large single video like VideoCraft by InkThemes or WPVideoZoom (but no post data to the right–just full-width slider under the header). Videos would be displayed from where they are located (by URL), not using any uploader.

    This would be premium support.
    Love Raindrops https://themetally.com/theme/raindrops
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author nobita

    (@nobita)

    Hi @tech63

    This would be premium support.

    In this forum, premium support is not allowed.
    if you like, please write a review ??

    It is easy to create a hook-after-nav-menu.php file to place content at the bottom of the header image.

    basic example.

    If the post contains a youtube URL, the first URL is displayed at the bottom of the header image.

    raindrops/hook-after-nav-menu.php

    
    <?php
    
    $args = array('width'=> 300, 'height' => 200);
    
    if ( have_posts() ) {
    	$youtube = array();
    	 while( have_posts() ) {
    
    	 	the_post();
    
    	 	preg_match('!(https?\:\/\/)?(www\.)?(youtube\.com|youtu\.?be)\/[A-z0-9]+!', get_the_content( ) ,$matches);
    		if( ! empty( $matches )){
    			$youtube[] = esc_url( $matches[0] );
    		}
    	 }
    	 rewind_posts();
    }
    $result ='<div style="width:100%;height:200px;border:1px solid #ccc;padding-top:1em;">';
    
    foreach($youtube as $tube){
    	$result .= '<div style="display:inline-block;margin-right:1em">';
    	$result .=   wp_oembed_get( $tube , $args );
    	$result .= '</div>';
    }
    
    $result .= '</div>';
    echo $result;
    	
    ?>
    

    Thank you ??

    • This reply was modified 6 years, 9 months ago by nobita.
    Thread Starter tech63

    (@tech63)

    Thank you very much @nobita,

    We could not find how to contact you anywhere.

    We’ll try this out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize theme with Slider/Rotator below Header’ is closed to new replies.