Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /var/www/theprintave/wp-content/plugins/haru-pricom/templates/text-animation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/theprintave/wp-content/plugins/haru-pricom/templates/text-animation/text-animation.php
<?php
/** 
 * @package    HaruTheme/Haru Pricom
 * @version    1.0.0
 * @author     Administrator <admin@harutheme.com>
 * @copyright  Copyright 2022, HaruTheme
 * @license    http://opensource.org/licenses/gpl-2.0.php GPL v2 or later
 * @link       http://harutheme.com
*/

?>
<?php if ( in_array( $settings['pre_style'], array( 'style-1', 'style-2', 'style-3' ) ) ) : ?>
<h2 class="haru-text-animation__heading">
	<?php if ( $settings['pre_title'] ) : ?>
		<span class="haru-text-animation__pre"><?php echo $settings['pre_title']; ?></span>
	<?php endif; ?>
	<?php
		if ( $settings['list'] ) :
			$text_type = '[ ';
			foreach ( $settings['list'] as $key => $item ) {
				if ( end($settings['list']) !== $item ) {
					$text_type .= '"' . $item['list_text'] . '", ';
				} else {
					$text_type .= '"' . $item['list_text'] . '"';
				}
				
			}
			$text_type .= ']';
	?>
  	<span class="haru-text-animation__typewrite" data-period="<?php echo esc_attr( $settings['period'] ); ?>" data-type='<?php echo esc_attr( $text_type ); ?>' data-color="">
	    <span class="haru-text-animation__typewrap"><?php echo $settings['list'][0]['list_text']; ?></span>
	    <?php //if ( Plugin::$instance->editor->is_edit_mode() || Plugin::$instance->preview->is_preview_mode() ) : ?>
	    <?php //endif; ?>
  	</span>
  	<?php endif; ?>
  	<?php if ( $settings['sub_title'] ) : ?>
		<span class="haru-text-animation__sub"><?php echo $settings['sub_title']; ?></span>
	<?php endif; ?>
</h2>

<?php elseif ( in_array( $settings['pre_style'], array( 'style-4' ) ) ) : ?>
	<h2 class="haru-text-animation__heading">
	<?php if ( $settings['pre_title'] ) : ?>
		<span class="haru-text-animation__pre"><?php echo $settings['pre_title']; ?></span>
	<?php endif; ?>
	<?php if ( $settings['list'] ) : ?>
		<span class="haru-text-animation__list">
		<?php foreach ( $settings['list'] as $key => $item ) : ?>
			<?php if ( $item['list_text'] ) : ?>
			<span class="haru-text-animation__item" style="animation: rotate-text-up <?php echo $transition; ?>s <?php echo $time_hold * ($key + 1) + 1; ?>s;">
	          	<?php echo $item['list_text']; ?>
	      	</span>
	      	<?php endif; ?>
		<?php endforeach; ?>
		</span>
	<?php endif; ?>
	<?php if ( $settings['sub_title'] ) : ?>
		<span class="haru-text-animation__sub"><?php echo $settings['sub_title']; ?></span>
	<?php endif; ?>
	</h2>
<?php endif; ?>

Spamworldpro Mini