Submit
Path:
~
/
home
/
getwphos
/
public_html
/
srlgroup
/
wp-content
/
themes
/
adsett
/
elements
/
templates
/
pxl_title_effect
/
File Content:
layout-1.php
<?php if(!empty($settings['title'])) : $widget->add_render_attribute( 'wrap-title-ef', 'class', ['pxl-title-effect', $settings['text_effect'], 'pxl-type-'.$settings['color_type']]); $widget->add_render_attribute( 'item-title', 'class', ['pxl-item-title']); if($settings['text_effect'] == 'scroll-parallax'){ $parallax_settings = json_encode([ //'x' => $settings['text_offset_left']['size'] 'x' => 500 ]); $widget->add_render_attribute( 'item-title', 'data-parallax', $parallax_settings); $widget->add_render_attribute( 'item-title', 'data-center', 'true'); } ?> <div <?php pxl_print_html($widget->get_render_attribute_string('wrap-title-ef'));?>> <div class="pxl-title-inner-wrap"> <div class="pxl-title-inner"> <div <?php pxl_print_html($widget->get_render_attribute_string( 'item-title' )); ?>><?php echo pxl_print_html($settings['title']); ?></div> <?php if($settings['text_effect'] != 'scroll-parallax'): ?> <span class="pxl-item-title-backdrop"><?php echo pxl_print_html($settings['title']); ?></span> <?php endif; ?> </div> </div> </div> <?php endif; ?>
Submit
FILE
FOLDER
Name
Size
Permission
Action
layout-1.php
1125 bytes
0644
N4ST4R_ID | Naxtarrr