| Server IP : 116.202.121.150 / Your IP : 216.73.217.141 Web Server : Apache System : Linux server5.febas.net 6.1.0-53-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.187-1 (2026-09-07) x86_64 User : k9887-1 ( 1171) PHP Version : 8.2.33 Disable Function : show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen, system, shell_exec, passthru, popen, proc_open, exec MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/k9887-1/htdocs/_fisch/wp-content/themes/dt-the7/inc/shortcodes/includes/gap/ |
Upload File : |
<?php
// File Security Check
if ( ! defined( 'ABSPATH' ) ) { exit; }
/**
* Shortcode testimonials class.
*
*/
class DT_Shortcode_Gap extends DT_Shortcode {
static protected $instance;
protected $shortcode_name = 'dt_gap';
protected $plugin_name = 'dt_mce_plugin_shortcode_gap';
public static function get_instance() {
if ( !self::$instance ) {
self::$instance = new DT_Shortcode_Gap();
}
return self::$instance;
}
protected function __construct() {
add_shortcode( $this->shortcode_name, array($this, 'shortcode') );
}
public function shortcode( $atts, $content = null ) {
extract( shortcode_atts( array(
'height' => 10,
), $atts, $this->shortcode_name ) );
$output = '<div class="gap" style="line-height: ' . absint($height) . 'px; height: ' . absint($height) . 'px;"></div>';
return $output;
}
}
// create shortcode
DT_Shortcode_Gap::get_instance();