![]() 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-scroll/ |
<?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 */ if ( $settings['list'] ) : ?> <?php foreach ( $settings['list'] as $item ) : $target = $item['list_link']['is_external'] ? ' target="_blank"' : ''; $nofollow = $item['list_link']['nofollow'] ? ' rel="nofollow"' : ''; ?> <div class="text-scroll-item"><h6> <?php if ( $item['list_link']['url'] ) : ?> <a href="<?php echo esc_url( $item['list_link']['url'] ); ?>" <?php echo $target . $nofollow; ?>> <?php endif; ?> <?php echo $item['list_title']; ?> <?php if ( $item['list_link']['url'] ) : ?> </a> <?php endif; ?> </h6></div> <?php endforeach; ?> <?php endif; ?>