AlkantarClanX12
Current Path : /home/thanudqk/siamfreetour.com/wp-content/uploads/2024/02/ |
Current File : /home/thanudqk/siamfreetour.com/wp-content/uploads/2024/02/photofocus-light.1.2.1-1.zip |
PK �uKXO�f�M M photofocus-light/functions.php<?php /* * This is the child theme for PhotoFocus Light theme. * * (Please see https://developer.wordpress.org/themes/advanced-topics/child-themes/#how-to-create-a-child-theme) */ function photofocus_light_enqueue_styles() { // Include parent theme CSS. wp_enqueue_style( 'photofocus-style', get_template_directory_uri() . '/style.css', null, date( 'Ymd-Gis', filemtime( get_template_directory() . '/style.css' ) ) ); // Include child theme CSS. wp_enqueue_style( 'photofocus-light-style', get_stylesheet_directory_uri() . '/style.css', array( 'photofocus-style' ), date( 'Ymd-Gis', filemtime( get_stylesheet_directory() . '/style.css' ) ) ); // Load the rtl. if ( is_rtl() ) { wp_enqueue_style( 'photofocus-rtl', get_template_directory_uri() . '/rtl.css', array( 'photofocus-style' ), $version ); } // Enqueue child block styles after parent block style. wp_enqueue_style( 'photofocus-light-block-style', get_stylesheet_directory_uri() . '/assets/css/child-blocks.css', array( 'photofocus-block-style' ), date( 'Ymd-Gis', filemtime( get_stylesheet_directory() . '/assets/css/child-blocks.css' ) ) ); } add_action( 'wp_enqueue_scripts', 'photofocus_light_enqueue_styles' ); /** * Add child theme editor styles */ function photofocus_light_editor_style() { add_editor_style( array( 'assets/css/child-editor-style.css', photofocus_fonts_url(), get_theme_file_uri( 'assets/css/font-awesome/css/font-awesome.css' ), ) ); } add_action( 'after_setup_theme', 'photofocus_light_editor_style', 11 ); /** * Enqueue editor styles for Gutenberg */ function photofocus_light_block_editor_styles() { // Enqueue child block editor style after parent editor block css. wp_enqueue_style( 'photofocus-light-block-editor-style', get_stylesheet_directory_uri() . '/assets/css/child-editor-blocks.css', array( 'photofocus-block-editor-style' ), date( 'Ymd-Gis', filemtime( get_stylesheet_directory() . '/assets/css/child-editor-blocks.css' ) ) ); } add_action( 'enqueue_block_editor_assets', 'photofocus_light_block_editor_styles', 11 ); /** * Adds custom classes to the array of body classes. * * @param array $classes Classes for the body element. * @return array */ function photofocus_light_body_classes( $classes ) { // Added color scheme to body class. $classes['color-scheme'] = 'color-scheme-light'; return $classes; } add_filter( 'body_class', 'photofocus_light_body_classes', 100 ); /** * Change default header text color */ function photofocus_light_header_default_color( $args ) { $args['default-image'] = get_theme_file_uri( 'assets/images/header-image.jpg' ); return $args; } add_filter( 'photofocus_custom_header_args', 'photofocus_light_header_default_color' ); /** * Override parent theme to add promotion headline section. */ function photofocus_sections( $selector = 'header' ) { get_template_part( 'template-parts/header/header', 'media' ); get_template_part( 'template-parts/slider/display', 'slider' ); get_template_part( 'template-parts/services/display', 'services' ); get_template_part( 'template-parts/hero-content/content','hero' ); get_template_part( 'template-parts/featured-content/display', 'featured' ); get_template_part( 'template-parts/promotion-headline/post-type-promotion' ); get_template_part( 'template-parts/portfolio/display', 'portfolio' ); get_template_part( 'template-parts/testimonial/display', 'testimonial' ); } /** * Default customizer file */ require trailingslashit( get_stylesheet_directory() ) . 'inc/customizer/customizer.php'; /** * Load Customizer Options */ require trailingslashit( get_stylesheet_directory() ) . 'inc/customizer/promotion-headline.php'; /** * Override Parent theme function */ function photofocus_header_media_text() { if ( ! photofocus_has_header_media_text() ) { // Bail early if header media text is disabled on front page return false; } $content_alignment = get_theme_mod( 'photofocus_header_media_content_alignment', 'content-align-right' ); $text_alignment = get_theme_mod( 'photofocus_header_media_text_alignment', 'text-align-center' ); $header_media_logo = get_theme_mod( 'photofocus_header_media_logo' ); $classes = array(); if( is_front_page() ) { $classes[] = $content_alignment; $classes[] = $text_alignment; } ?> <div class="custom-header-content sections header-media-section <?php echo esc_attr( implode( ' ', $classes ) ); ?>"> <div class="custom-header-content-wrapper"> <?php $header_media_subtitle = get_theme_mod( 'photofocus_header_media_sub_title' ); $enable_homepage_logo = get_theme_mod( 'photofocus_header_media_logo_option', 'homepage' ); if( is_front_page() ) : ?> <div class="section-subtitle"> <?php echo esc_html( $header_media_subtitle ); ?> </div> <?php endif; if ( photofocus_check_section( $enable_homepage_logo ) && $header_media_logo ) { ?> <div class="site-header-logo"> <img src="<?php echo esc_url( $header_media_logo ); ?>" title="<?php echo esc_url( home_url( '/' ) ); ?>" /> </div><!-- .site-header-logo --> <?php } ?> <?php $tag = 'h2'; if ( is_singular() || is_404() ) { $tag = 'h1'; } photofocus_header_title( '<div class="section-title-wrapper"><' . $tag . ' class="section-title entry-title">', '</' . $tag . '></div>' ); ?> <?php photofocus_header_description( '<div class="site-header-text">', '</div>' ); ?> <?php if ( is_front_page() ) : $header_media_url = get_theme_mod( 'photofocus_header_media_url', '#' ); $header_media_url_text = get_theme_mod( 'photofocus_header_media_url_text' ); ?> <?php if ( $header_media_url_text ) : ?> <span class="more-link"> <a href="<?php echo esc_url( $header_media_url ); ?>" target="<?php echo esc_attr( get_theme_mod( 'photofocus_header_url_target' ) ? '_blank' : '_self' ); ?>" class="readmore"><?php echo esc_html( $header_media_url_text ); ?><span class="screen-reader-text"><?php echo wp_kses_post( $header_media_url_text ); ?></span></a> </span> <?php endif; ?> <?php endif; ?> </div><!-- .custom-header-content-wrapper --> </div><!-- .custom-header-content --> <?php } // photofocus_header_media_text. /** * Override Parent function */ function photofocus_light_override_parent_custom_bg_color( $args ) { $args['default-color'] = '#ffffff'; return $args; } add_filter( 'photofocus_custom_background_args', 'photofocus_light_override_parent_custom_bg_color' ); /** * Override Parent function */ function photofocus_light_override_parent_custom_header_color( $args ) { $args['default-text-color'] = '#000000'; return $args; } add_filter( 'photofocus_custom_header_args', 'photofocus_light_override_parent_custom_header_color' ); PK �uKX��6gw w photofocus-light/readme.txt=== PhotoFocus Light === Contributors: catchthemes Tags: one-column, two-columns, right-sidebar, grid-layout, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, theme-options, translation-ready, blog, photography, portfolio Requires at least: 5.6 Tested up to: 6.4 Requires PHP: 5.6 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html PhotoFocus Light is a free dark corporate WordPress theme that’s been crafted with simplicity and creativity in mind. == Description == PhotoFocus Light is a free Photography WordPress theme that comes with a light color scheme and highly customizable features. The theme was specially designed for photography websites. PhotoFocus Light is a child theme of PhotoFocus, a popular Multipurpose WordPress theme. It is an ideal choice for all creative photographers, graphic designers, photo bloggers, freelancers, creative bloggers, and other similar professions. With a powerful and adaptable design along with photography features, PhotoFocus Light is a perfect light photography WordPress theme. This innovative theme can certainly enhance every aspect of your page while providing an extremely user-friendly interface with easy navigation. PhotoFocus Light, our new light photography WordPress theme comes with features like Light Color Scheme, Featured Content, Featured Slider, Hero Content, Layout Options, Portfolio, Services, Testimonials, Promotion Headline, and more. With these features and more under the hood, PhotoFocus Light will surely help grow your photography websites. Download PhotoFocus Light today and display your photography skills to the world at large conveniently. For any technical issue, please post in our support forum at https://catchthemes.com/support/. For more information, check out Theme Instructions at https://catchthemes.com/themes/photofocus-light/#theme-instructions and Demo at https://catchthemes.com/demo/photofocus-light/ == Installation == 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button. 2. Type in PhotoFocus Light in the search form and press the 'Enter' key on your keyboard. 3. Click on the 'Activate' button to use your new theme right away. 4. Go to https://catchthemes.com/themes/photofocus-light/#theme-instructions/ for a guide on how to customize this theme. 5. Navigate to Appearance -> Customize in your admin panel and customize to taste. == Frequently Asked Questions == = Does this theme support any plugins? = Theme supports all plugins from catchplugins.com = Where can I find theme documentation? = You can check our Theme Instructions at https://catchthemes.com/themes/photofocus-light in the Theme Instructions Tab. = Where can I find theme demo? = You can check our Theme Demo at https://catchthemes.com/demo/photofocus-light/ = More FAQ = For more FAQs, visit https://catchthemes.com/frequently-asked-questions/ == Changelog == = 1.2.1 (Released: February 01, 2024) = * Updated: WordPress 6.4 ready = 1.2 (Released: August 22, 2022) = * Updated: WordPress 6.0 ready = 1.1 (Released: February 14, 2022) = * Bug Fixed: Removed extra ; from style * Removed: Unnecessary code * Updated: WordPress 5.9 ready = 1.0 (Released: August 10, 2021) = * Initial release == Copyright == PhotoFocus Light WordPress Theme, Copyright 2012-2023 Catchthemes.com PhotoFocus Light is distributed under the terms of the GNU GPL == Resources == * Based on Underscores http://underscores.me/, (C) 2012-2020 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html) * Images Header Image and Screenshot main image License: CC0, Creative Commons CC0 license Source: https://pxhere.com/en/photo/998102 All images are licensed under Creative Commons Zero (CC0) license PK �uKX��/6ќ ќ photofocus-light/screenshot.png�PNG IHDR � � ��8� PLTE��������������������������������� ������)$������������ -ç� ū���$1���Ѷ� Ȯ����˱����Ǫ�̱�ϳ����َJ����gHP���ͳ�������G-8ҹ����pQXaEN*"4D'3�������~�kLT������¦�tV^���������,':ֻ�ʮ��z�js���V:D���ӻ�3);]AKũ�K1=ȱ��sz������ĭ�Z=GrYi�w|A*5z_lʫ�Ͷ�Ӽ����Q6A�cl���#"<?1CE7G+)D���jP^���ѷ�[FW�]o�nu{[`ɭ��������n{cIX�et49.=�r�50EU@QO;L�������_d���jTf;6N�j~G<Oţ���� ������{dyaM`�p{���=!0,}Wh�~��i~��� ���10M���NDVտ¦���{�ι���2"4s_t�ek���B>Y��۫������������z��bw������$(�|~YYzQIbǵ�dc�DDd}O^NNo�p��������v�vw��}�^3A���88Xol�i;J[Rk���̽ȿ���|����o���ŋZg&&'�er������g[t�v������ϰ�˚�����2&�������isuDPrG[�������ׯ{�����������YZ\�j|S&7�#@yz}ijl���ւ2��ఆ��D_�t��Ro�Ģq.&�Ҹ������ݞgB:m��\����3^��iA��⸎f��9� IDATx��Ol�X�O?���9t�j�Ed�#N�@�R�ͅ B��=X�\|��[u��� ��!�:�L�R-;m�V�u���=�;I�{<����l:��~�:~�{�oR���}~�R�#�L~A�#Ad� J�QA&