Submit
Path:
~
/
home
/
getwphos
/
www
/
shellfish
/
wp-content
/
plugins
/
templaza-framework
/
shortcodes
/
copyright
/
tmpl
/
File Content:
copyright.php
<?php defined('TEMPLAZA_FRAMEWORK') or exit(); use TemPlazaFramework\Functions; use TemPlazaFramework\Templates; $options = Functions::get_theme_options(); $enable_footer = isset($options['enable-footer'])?filter_var($options['enable-footer'], FILTER_VALIDATE_BOOLEAN):true; if ($enable_footer) { $footer_copyright = isset($options['footer-copyright'])?$options['footer-copyright']:''; // values to find & replace $year = gmdate('Y'); $site_title = get_bloginfo('name'); $find = array('{year}', '{sitetitle}'); $replace = array($year, $site_title); $footertext = str_replace($find, $replace, $footer_copyright); } if(isset($footertext)){ ?> <div<?php echo isset($atts['tz_id'])?' id="'.esc_attr($atts['tz_id']).'"':''; ?> class="<?php echo isset($atts['tz_class'])?esc_attr(trim($atts['tz_class'])):''; ?>"><?php echo wp_kses($footertext,'post'); ?></div> <?php } ?>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
copyright.php
933 bytes
0644
N4ST4R_ID | Naxtarrr