Priority File Manager

📁 public_html
Base Directory:
/home/ecedu/public_html/wp-content/themes/meta-news/inc
NameTypeSizeActions
📁 .. Folder -
📄 custom-header.php File 2011
Edit Download
📄 customizer.php File 42887
Edit Download
📄 functions.php File 7301
Edit Download
📄 meta-news-default-option.php File 6673
Edit Download
📄 meta-news-footer-info.php File 1304
Edit Download
📄 meta-news-metaboxes.php File 3381
Edit Download
📄 template-functions.php File 2293
Edit Download
📁 tgm Folder -
📁 theme-info Folder -
📁 widgets Folder -

View File: meta-news-footer-info.php

<?php
/**
 * Contains all current date, year and link of the theme
 *
 *
 * @package Meta News
 */
?>
<?php
/**
 * To display the current year.
 *
 */
function meta_news_the_year() {
	return date_i18n( 'Y' );
}
/**
 * To display a link back to the site.
 *
 */
function meta_news_site_link() {
	return ' <a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" >' . get_bloginfo( 'name', 'display' ) . '</a>';
}
/**
 * To display a link to WordPress.org.
 *
 */
function meta_news_wp_link() {
	return '<div class="wp-link">' .
		sprintf(
			esc_html__('Proudly Powered by: %s', 'meta-news'),
			'<a href="' . esc_url('http://wordpress.org/') . '" target="_blank" rel="noopener noreferrer" title="' . esc_attr__('WordPress', 'meta-news') . '">' . esc_html__('WordPress', 'meta-news') . '</a>'
		) . '</div>';
}
/**
 * To display a link to author.
 *
 */
function meta_news_author_link() {
	return '<div class="author-link">' .
		sprintf(
			esc_html__('Theme by: %s', 'meta-news'),
			'<a href="' . esc_url('https://www.themehorse.com') . '" target="_blank" rel="noopener noreferrer" title="' . esc_attr__('Theme Horse', 'meta-news') . '" >' . esc_html__('Theme Horse', 'meta-news') . '</a>'
		) . '</div>';
}