| Server IP : 68.178.247.200 / Your IP : 216.73.217.50 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/plugins/slider-video/ |
Upload File : |
<?php
function Rich_Web_Video_Slider_ID($atts, $content = null)
{
$atts=shortcode_atts(
array(
"id"=>"1"
),$atts
);
return Rich_Web_Draw_Short_Video_Slider($atts['id']);
}
add_shortcode('Rich_Web_Video', 'Rich_Web_Video_Slider_ID');
function Rich_Web_Draw_Short_Video_Slider($Slider_ID)
{
ob_start();
$args = shortcode_atts(array('name' => 'Widget Area','id'=>'','description'=>'','class'=>'','before_widget'=>'','after_widget'=>'','before_title'=>'','AFTER_TITLE'=>'','widget_id'=>'','widget_name'=>'Rich-Web Slider'), $Slider_ID, 'Rich_Web_Video' );
$Rich_Web_Video_Slider=new Rich_Web_Video_Slider;
$instance=array('Rich_Web_Video'=>$Slider_ID);
$Rich_Web_Video_Slider->widget($args,$instance);
$cont[]= ob_get_contents();
ob_end_clean();
return $cont[0];
}
?>