????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././././proc/self/cwd/wp-content/themes/theme48421/includes/shortcodes/ |
Upload File : |
<?php
/**
*
*
*/
// Fon
function wrap_shortcode($atts, $content = null) {
$output = '<div class="wrap">';
$output .= do_shortcode($content);
$output .= '</div> <!-- wrap (end) -->';
return $output;
}
add_shortcode('wrap', 'wrap_shortcode');
// Wrap2
function wrap2_shortcode($atts, $content = null) {
$output = '<div class="wrap2">';
$output .= do_shortcode($content);
$output .= '</div> <!-- wrap2 (end) -->';
return $output;
}
add_shortcode('wrap2', 'wrap2_shortcode');
// Minus
function minus_shortcode($atts, $content = null) {
$output = '<div class="minus"></div>';
return $output;
}
add_shortcode('minus', 'minus_shortcode');
// Box
function box_shortcode($atts, $content = null) {
extract(shortcode_atts(
array(
'class' => ''
), $atts));
$output .= '<div class="box '.$class.'">';
$output .= '<span>';
$output .= do_shortcode($content);
$output .= '</span>';
$output .= '<div></div></div> <!-- box (end) -->';
return $output;
}
add_shortcode('box', 'box_shortcode');
// Text
function text_shortcode($atts, $content = null) {
$output .= '<div class="text">';
$output .= do_shortcode($content);
$output .= '</div> <!-- text (end) -->';
return $output;
}
add_shortcode('text', 'text_shortcode');
?>