X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/themes/elessi-theme/vc_templates
home
/
notabjze
/
hourglass.life
/
wp-content
/
themes
/
elessi-theme
/
vc_templates
/
ðŸ“
..
ðŸ“
tta_global_layout
📄
vc_column.php
(3.71 KB)
📄
vc_column_inner.php
(1.58 KB)
📄
vc_column_text.php
(1 KB)
📄
vc_row.php
(4.47 KB)
📄
vc_row_inner.php
(2.11 KB)
📄
vc_tta_global.php
(716 B)
📄
vc_tta_section.php
(1.7 KB)
Editing: vc_tta_section.php
<?php /** * Shortcode attributes * @var $atts * @var $content - shortcode content * @var $this WPBakeryShortCode_VC_Tta_Section */ if (!defined('ABSPATH')) { die('-1'); } global $nasa_opt, $nasa_current_layout; $atts = vc_map_get_attributes($this->getShortcode(), $atts); $class_tab = array('vc_tta-panel nasa-panel hidden-tag'); $class_acc = array('nasa-accordion hidden-tag'); $tmpl = isset($nasa_opt['tmpl_html']) && $nasa_opt['tmpl_html'] ? true : false; if ((WPBakeryShortCode_VC_Tta_Section::$self_count == 0)) { $class_tab[] = 'active first'; $class_acc[] = 'active first'; $tmpl = false; } if ($atts['el_class'] != '') { $class_tab[] = $atts['el_class']; $class_acc[] = $atts['el_class']; } $this->resetVariables($atts, $content); WPBakeryShortCode_VC_Tta_Section::$self_count++; WPBakeryShortCode_VC_Tta_Section::$section_info[] = $atts; $isPageEditable = vc_is_page_editable(); $tab_id = $this->getTemplateVariable('tab_id'); $class_tab[] = 'nasa-section-' . esc_attr($tab_id); $class_tab_str = implode(' ', $class_tab); $class_acc_str = implode(' ', $class_acc); $output = ''; if ($nasa_current_layout == 'accordion') : $output .= '<div class="nasa-accordion-title">'; $output .= '<a class="' . $class_acc_str . '" data-index="nasa-section-' . esc_attr($tab_id) . '" href="javascript:void(0);" rel="nofollow">' . $this->getTemplateVariable('title') . '</a>'; $output .= '</div>'; endif; $output .= '<div class="' . $class_tab_str . '">'; $output .= $tmpl ? '<template class="nasa-tmpl">' : ''; $output .= $this->getTemplateVariable('content'); $output .= $tmpl ? '</template>' : ''; $output .= '</div>'; return $output;
Upload File
Create Folder