PATH:
home
/
carfac
/
public_html
/
unitphotog
/
wp-content
/
plugins
/
tatsu
/
includes
/
modules
<?php /************************************** CODE **************************************/ if (!function_exists('tatsu_code')) { function tatsu_code( $atts, $content ,$tag) { extract( shortcode_atts( array ( 'id' => '', 'class' => '', 'animate' => 0, 'animation_type' => 'fadeIn', 'animation_delay' => 0, 'key' => be_uniqid_base36( true ), ), $atts, $tag ) ); $visibility_classes = be_get_visibility_classes_from_atts( $atts ); $animate = ( isset( $animate ) && 1 == $animate && 'none' !== $animation_type ) ? ' tatsu-animate' : ''; $unique_class_name = 'tatsu-'.$key; $custom_style_tag = be_generate_css_from_atts( $atts, $tag, $key, '' ); $data_animations = be_get_animation_data_atts( $atts ); $output = ''; $output .= '<div id = "'. $id .'" class="tatsu-code tatsu-module '.$unique_class_name.' '. $visibility_classes . ' ' . $class .' '. $animate.'" '.$data_animations.' >'; $output .= shortcode_unautop( $content ); $output .= $custom_style_tag; $output .= '</div>'; return $output; } add_shortcode( 'tatsu_code', 'tatsu_code' ); } add_action( 'tatsu_register_modules', 'tatsu_register_code', 9 ); add_action( 'tatsu_register_header_modules', 'tatsu_register_code' ); function tatsu_register_code() { $controls = array( 'icon' => TATSU_PLUGIN_URL . '/builder/svg/modules.svg#code', 'title' => esc_html__('Code', 'tatsu'), 'is_js_dependant' => false, 'child_module' => '', 'type' => 'single', 'is_built_in' => true, 'hint' => 'content', 'should_autop' => false, //Tab1 'group_atts' => array( array( 'type' => 'tabs', 'style' => 'style1', 'group' => array( array( //Tab1 'type' => 'tab', 'title' => esc_html__('Content', 'tatsu'), 'group' => array( 'content', ), ), array( //Tab2 'type' => 'tab', 'title' => esc_html__('Advanced', 'tatsu'), 'group' => array( array( "type" => "accordion", "active" => "none", "group" => array( array( 'type' => 'panel', 'title' => esc_html__('Identifiers', 'tatsu'), 'group' => array( 'id', 'class', ) ) ) ) ) ), ) ) ), 'atts' => array( array( 'att_name' => 'content', 'type' => 'text_area', 'label' => esc_html__('Code Content', 'tatsu'), 'default' => '', 'tooltip' => '' ), array( 'att_name' => 'id', 'type' => 'text', 'label' => esc_html__('CSS ID', 'tatsu'), 'default' => '', 'tooltip' => '', ), array( 'att_name' => 'class', 'type' => 'text', 'label' => esc_html__('CSS Classes', 'tatsu'), 'default' => '', 'tooltip' => '', ), ), 'presets' => array( 'default' => array( 'title' => '', 'image' => '', 'preset' => array( 'content' => '<p>Insert your code here!</p>', ), ) ), ); tatsu_register_module('tatsu_code', $controls); tatsu_register_header_module( 'tatsu_code', $controls, 'tatsu_code' ); } ?>
[-] simple_text.php
[edit]
[-] interactive_box.php
[edit]
[-] team.php
[edit]
[-] notifications.php
[edit]
[-] tabs.php
[edit]
[-] text_with_shortcodes.php
[edit]
[-] section.php
[edit]
[-] svg_icon.php
[edit]
[-] testimonial_carousel.php
[edit]
[-] image_carousel.php
[edit]
[-] dropcap2.php
[edit]
[-] animated_numbers.php
[edit]
[-] button.php
[edit]
[-] rev_slider.php
[edit]
[-] skills.php
[edit]
[-] gallery.php
[edit]
[-] typed_text.php
[edit]
[-] gmaps.php
[edit]
[-] accordion.php
[edit]
[-] animated_link.php
[edit]
[-] tatsu_forms.php
[edit]
[-] wp_forms.php
[edit]
[-] single_image.php
[edit]
[-] lists.php
[edit]
[-] special_heading.php
[edit]
[-] process.php
[edit]
[-] inline_text.php
[edit]
[-] dropcap.php
[edit]
[-] gradient_button.php
[edit]
[-] icon_card.php
[edit]
[-] multi_layer_image.php
[edit]
[-] icon_group.php
[edit]
[-] sidebar.php
[edit]
[-] icon.php
[edit]
[-] button_group.php
[edit]
[-] divider.php
[edit]
[-] column.php
[edit]
[-] boilerplate.php
[edit]
[-] gradient_icon.php
[edit]
[-] moduless.php
[edit]
[-] module_options.php
[edit]
[-] call_to_action.php
[edit]
[-] .htaccess
[edit]
[-] gsection_meta.php
[edit]
[-] row.php
[edit]
[-] title_icon.php
[edit]
[-] video.php
[edit]
[-] gsection_title.php
[edit]
[-] testimonial.php
[edit]
[-] animated_heading.php
[edit]
[-] code.php
[edit]
[-] text.php
[edit]
[-] star_rating.php
[edit]
[-] empty_space.php
[edit]
[-] nav_menu_widget.php
[edit]
[+]
..