File manager - Edit - /home/verseaumee/www/plugins/system/bluejoomla/shortcodes/owl_carousel.php
Back
<?php /** * @author Bluejoomla * @date: 01-04-2014 * * @copyright Copyright (C) 2013 Bluejoomla.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ //no direct accees defined ('_JEXEC') or die('resticted aceess'); //[testinomial] if(!function_exists('owl_carousel_sc')) { function owl_carousel_sc( $atts, $content="" ){ $params = shortcode_atts(array( 'style' => '1', ), $atts); if( $params['style'] == '2' ){ $html = '<div id="about-slider" class="about-slider owl-carousel">' .btdo_shortcode( $content ) .'</div>'; } elseif( $params['style'] == '3' ){ $html = '<div id="client-slider" class="client-slider owl-carousel">' .btdo_shortcode( $content ) .'</div>'; } else { $html = '<div id="paralax-slider" class="owl-carousel">' .btdo_shortcode( $content ) .'</div>'; } return $html; } btadd_shortcode( 'owl_carousel', 'owl_carousel_sc' ); } //[owl_carousel] if(!function_exists('owl_carousel_item_sc')) { $testinomialArray = array(); function owl_carousel_item_sc( $atts, $content="" ){ $html = '<div class="item">' .btdo_shortcode( $content ) .'</div>'; return $html; } btadd_shortcode( 'owl_carousel_item', 'owl_carousel_item_sc' ); }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings