support_url = HU_IS_PRO ? esc_url( sprintf( '%ssupport' , 'presscustomizr.com/' ) ) : esc_url('wordpress.org/support/theme/hueman'); //fix #wpfooter absolute positioning in the welcome and about pages add_action( 'admin_print_styles' , array( $this, 'hu_fix_wp_footer_link_style') ); //add welcome page in menu add_action( 'admin_menu' , array( $this , 'hu_add_welcome_page' )); } /** * Extract changelog of latest version from readme.txt file * */ function hu_print_changelog() { if( ! file_exists(HU_BASE."readme.txt") ) { return; } if( ! is_readable(HU_BASE."readme.txt") ) { echo '

The changelog in readme.txt is not readable.

'; return; } $html = ''; $stylelines = explode("\n", implode('', file(HU_BASE."readme.txt"))); $read = false; $is_title = false; foreach ($stylelines as $line) { $is_title = 0 === strpos($line, '= '); //we start reading after current version title if ( 0 === strpos($line, '= '.HUEMAN_VER) ) { $read = true; } if ( ! $read ) continue; if ( $is_title ) { $html .= sprintf( '%1$s
', esc_attr( $line ) ); } else { $html .= sprintf( '%1$s
', esc_attr( $line ) ); } } ?>

%2$s %3$s', HU_WEBSITE . "/category/hueman-releases/", __( "Read the latest release notes" , "hueman" ), is_rtl() ? '«' : '»' ); ?>

Name . ' ' . $theme_data->Version; $parent_theme = $theme_data->Template; if ( ! empty( $parent_theme ) ) { $parent_theme_data = wp_get_theme( $parent_theme ); $parent_theme = $parent_theme_data->Name . ' ' . $parent_theme_data->Version; } ?>

id ) return; ?>
%1$s %2$s %3$s :)', __( "Thank you for using", "hueman" ), $_theme_name, HUEMAN_VER ); echo convert_smilies( $title ); ?> %1$s ❤️.

%2$s

%3$s 🙏

%4$s

', sprintf( __( "If you enjoy using the Hueman theme for your website, you will love %s", "hueman"), sprintf( '%2$s', 'https://presscustomizr.com/hueman-pro/', __("Hueman Pro", "hueman") ) ), __("With Hueman Pro, you get premium features like infinite scrolling, footer and header customization, font customizer and many more. In addition, our premium support will be there to help you resolve any issue you may have with the theme. When installing Hueman Pro, all your previous options used in Hueman free are kept.", 'hueman'), __('And of course your support allows us to keep the theme at the highest level for your website. Thank you!', 'hueman'), 'Limited offer : get 25% off with code HELLO2022.' . ' Go Pro ' ); } ?>
hu_print_changelog(); ?>



hu_config_infos() ?>