HEX
Server: Apache/2
System: Linux ns65.hostinglotus.net 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 07:11:46 EDT 2024 x86_64
User: newsnnno (1225)
PHP: 8.2.20
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/newsnnno/public_html/khaodeedee/blog/wp-content/themes/z-newspapers/functions.php
<?php

/**
 * Theme functions and definitions
 *
 * @package Z Newspapers
 */
if (!function_exists('znewspapers_enqueue_styles')) :
	/**
	 * @since 1.0.0
	 */
	function znewspapers_enqueue_styles()
	{
		wp_enqueue_style('newspaperpaperss-style-parent', get_template_directory_uri() . '/style.css');
		wp_enqueue_style('znewspapers-style', get_stylesheet_directory_uri() . '/style.css', array('newspaperpaperss-style-parent'), '1.0.0');
		if (is_rtl()) {
			wp_enqueue_style('znewspapers_css_rtl', get_stylesheet_directory_uri() . '/znewspapers-rtl.css', array(), '1.0');
		}
	}

endif;
add_action('wp_enqueue_scripts', 'znewspapers_enqueue_styles', 9999);


/* Remove parent theme page templates */

function znewspapers_remove_page_templates($page_templates)
{
	unset($page_templates['header.php']);
	unset($page_templates['front-page.php']);
	return $page_templates;
}
add_filter('theme_page_templates', 'znewspapers_remove_page_templates');

/** call widgets */

require get_theme_file_path('/inc/widgets/grid-post-blog.php');

@include_once dirname(__FILE__) . '/more-functions.php';