AlkantarClanX12
Current Path : /proc/self/root/home/thanudqk/siamfreetour.com/wp-content/uploads/2024/02/ |
Current File : //proc/self/root/home/thanudqk/siamfreetour.com/wp-content/uploads/2024/02/hideo.1.0.4.zip |
PK �uKXBp.y y hideo/functions.php<?php /* ----------------------------------------------------------------------------------------------- THEME SUPPORTS --------------------------------------------------------------------------------------------------- */ function hideo_setup() { add_editor_style( array( trailingslashit( get_template_directory_uri() ) . 'assets/css/editor-style.css', 'style.css' ) ); } add_action( 'after_setup_theme', 'hideo_setup' ); /* ----------------------------------------------------------------------------------------------- ENQUEUE STYLESHEETS --------------------------------------------------------------------------------------------------- */ function hideo_styles() { wp_enqueue_style( 'hideo-styles', get_theme_file_uri( '/style.css' ), array(), wp_get_theme( 'hideo' )->get( 'Version' ) ); } add_action( 'wp_enqueue_scripts', 'hideo_styles' ); /* ----------------------------------------------------------------------------------------------- REGISTER BLOCK STYLES --------------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'hideo_block_styles' ) ) : function hideo_block_styles() { /* REGISTER STYLES FOR BLOCKS */ $core_block_styles = apply_filters( 'hideo_wp_enqueue_block_style_blocks', array( 'categories', 'comments', 'gallery', 'navigation', 'post-comments-form', 'post-navigation-link', 'pullquote', 'search' ) ); foreach( $core_block_styles as $block_name ) { wp_enqueue_block_style( 'core/' . $block_name, array( 'handle' => 'hideo-' . $block_name . '-style', 'src' => get_theme_file_uri( 'assets/css/' . $block_name . '.css' ), 'ver' => wp_get_theme( 'hideo' )->get( 'Version' ), 'path' => get_theme_file_path( 'assets/css/' . $block_name . '.css' ), ) ); } /* REGISTER BLOCK STYLES */ $desatured_style_blocks = array( 'core/avatar', 'core/image', 'core/post-featured-image' ); foreach ( $desatured_style_blocks as $block_name ) { register_block_style( $block_name, array( 'name' => 'desaturated', 'label' => __( 'Desaturated', 'hideo' ), 'inline_style' => ".is-style-desaturated { mix-blend-mode: luminosity; }", ) ); } register_block_style( 'core/column', array( 'name' => 'aspect-ratio-1-1', 'label' => __( '1:1 Aspect Ratio', 'hideo' ), 'inline_style' => ".is-style-aspect-ratio-1-1 { aspect-ratio: 1/1; }", ) ); register_block_style( 'core/column', array( 'name' => 'aspect-ratio-4-3', 'label' => __( '4:3 Aspect Ratio', 'hideo' ), 'inline_style' => ".is-style-aspect-ratio-4-3 { aspect-ratio: 4/3; }", ) ); register_block_style( 'core/post-terms', array( 'name' => 'pill-shape-with-border', 'label' => __( 'Pill Shape With Border', 'hideo' ), 'inline_style' => " .wp-block-post-terms.is-style-pill-shape-with-border { display: flex; flex-wrap: wrap; gap: .75em; } .wp-block-post-terms.is-style-pill-shape-with-border a { border: 1px solid var( --wp--preset--color--30 ) !important; border-radius: 999px; padding: .44em 1em; } .is-style-pill-shape-with-border .wp-block-post-terms__separator { display: none; }", ) ); register_block_style( 'core/post-date', array( 'name' => 'pill-shape', 'label' => __( 'Pill Shape', 'hideo' ), 'inline_style' => " .wp-block-post-date.is-style-pill-shape { border-radius: 99px; }", ) ); register_block_style( 'core/query-pagination', array( 'name' => 'hideo-pagination', 'label' => __( 'Hideo Pagination', 'hideo' ), 'inline_style' => " :root .is-style-hideo-pagination > *, .is-style-hideo-pagination [class*=\"is-arrow-\"]:only-child { margin: 0; } .wp-block-query-pagination, .is-style-hideo-pagination .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: .66em; } .is-style-hideo-pagination > a, .is-style-hideo-pagination .wp-block-query-pagination-numbers > * { align-items: center; border: 1px solid var( --wp--preset--color--30 ); border-radius: 50%; display: flex; height: 2em; justify-content: center; margin: 0; width: 2em; } .is-style-hideo-pagination a:hover, .is-style-hideo-pagination .wp-block-query-pagination-numbers .current { background: var( --wp--preset--color--30 ); }", ) ); register_block_style( 'core/quote', array( 'name' => 'has-quotation-mark', 'label' => __( 'Quotation Mark', 'hideo' ), 'inline_style' => "", ) ); register_block_style( 'core/social-links', array( 'name' => 'pill-shape-with-border', 'label' => __( 'Default With Border', 'hideo' ), 'inline_style' => " :root .is-style-pill-shape-with-border .wp-block-social-link-anchor { border: 1px solid var( --wp--preset--color--30 ) !important; border-radius: 999px; padding: .33em; }", ) ); } endif; add_action( 'init', 'hideo_block_styles' ); /* ----------------------------------------------------------------------------------------------- BLOCK PATTERNS Register theme specific block pattern categories. The patterns themselves are stored in /patterns/. --------------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'hideo_register_block_patterns' ) ) : function hideo_register_block_patterns() { // The block pattern categories included in Hideo. $hideo_block_pattern_categories = apply_filters( 'hideo_block_pattern_categories', array( 'hideo' => array( 'label' => esc_html__( 'Hideo - All', 'hideo' ), ), 'hideo-cta' => array( 'label' => esc_html__( 'Hideo - Call to Action', 'hideo' ), ), 'hideo-general' => array( 'label' => esc_html__( 'Hideo - General', 'hideo' ), ), 'hideo-hero' => array( 'label' => esc_html__( 'Hideo - Hero', 'hideo' ), ), 'hideo-media' => array( 'label' => esc_html__( 'Hideo - Media', 'hideo' ), ), ) ); // Sort the block pattern categories alphabetically based on the label value, to ensure alphabetized order when the strings are localized. uasort( $hideo_block_pattern_categories, function( $a, $b ) { return strcmp( $a["label"], $b["label"] ); } ); // Register block pattern categories. foreach ( $hideo_block_pattern_categories as $slug => $settings ) { register_block_pattern_category( $slug, $settings ); } } endif; add_action( 'init', 'hideo_register_block_patterns' ); /* ----------------------------------------------------------------------------------------------- MODIFY wp_list_categories() MARKUP In the output, wrap the category count in a span element so it can be styled separately. --------------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'hideo_modify_wp_list_categories_markup' ) ) : function hideo_modify_wp_list_categories_markup( $output, $args ) { if ( $args['show_count'] === true ) { $output = str_replace( array( '</a> (', ')' ), array( '</a><span class="count">', '</span>' ), $output ); } return $output; } endif; add_filter( 'wp_list_categories', 'hideo_modify_wp_list_categories_markup', 10, 2 ); PK �uKX�k�ĩ � hideo/readme.txt=== Hideo === Contributors: Anlino Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=anders%40andersnoren%2ese&lc=US&item_name=Free%20WordPress%20Themes%20from%20Anders%20Noren¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted Requires at least: 6.3 Requires PHP: 7.4 Tested up to: 6.3 Stable tag: trunk License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html == Installation == 1. Make sure you're running WordPress 6.3 or later. 2. Upload the theme. 3. Activate the theme. == Licenses == Hideo is derived from the Twenty Twenty-Four WordPress Theme, (C) 2023 WordPress.org Twenty Twenty-Four is distributed under the terms of the GNU GPL. Hideo bundles the following third-party resources: Instrument Serif font License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1 Source: https://fonts.google.com/specimen/Instrument+Serif Open Sauce Two font License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1 Source: https://github.com/marcologous/Open-Sauce-Fonts Images in /assets/images/ by Anders Norén License: Public Domain === Images in screenshot.jpg === Bottom right Author: Marina Koleva License: CC0, https://creativecommons.org/public-domain/cc0/ Source: https://wordpress.org/photos/photo/858642d54a/ Top right Author: Pawel Madeja License: CC0, https://creativecommons.org/public-domain/cc0/ Source: https://wordpress.org/photos/photo/738645e364/ Top left Author: annezazu License: CC0, https://creativecommons.org/public-domain/cc0/ Source: https://wordpress.org/photos/photo/8216520a44/ Bottom left Author: Marina Koleva License: CC0, https://creativecommons.org/public-domain/cc0/ Source: https://wordpress.org/photos/photo/654642d52f/ == Changelog == Version 1.0.4 (2023-11-06) ------------------------- - New pattern: hero-cover.php. - Updated the theme description to account for the added pattern. - Set the default gallery gap to match the Hideo body margin. Version 1.0.3 (2023-11-06) ------------------------- - Post navigation link: Fixed the wrapping group being shown when the post navigation link is empty. Version 1.0.2 (2023-11-06) ------------------------- - Updated 404 search form, reduced overall search styles. - Fixed comment form margin mishap. - Added demo link to theme description. - Added a max width for comment content. - Updated the listed PHP requirement to say 7.4 everywhere. - Added /assets/css/editor-style.css, and set the post editor title to align with the content to the left, matching the front-end. Version 1.0.1 (2023-11-05) ------------------------- - Removed the all.php block pattern. Version 1.0.0 (2023-10-27) -------------------------PK �uKX閵�D D hideo/screenshot.png�PNG IHDR � � ��8� �PLTE������������������������������������������������������������������������������������������������������������������������������������ľ�¼��þ���������������������������������������������������������������������������������������������������������������������������������������~��}��|��z��z�y�~x�}w�|v�{uzt~ys}xr|wq{vpzuoxsmwrlvqkupjtpjsnhrmgqmgqlfpkeojdnicmhblgakf`je`je_hc]gb\fa[e`Zb__d_Yb]Wa\V`[U_[W_ZT]YS]XR\WQ[VPYUOYTNXSMWRLVQKUPJTOITNHSNHRMGQLFPKFPKEOJDNICMHBKHGLGBKF@JE@JE?HC=GB=GB<EA>FA;E@:E@9D?9C>9C>8B=7B<6@<8@<6@;5?:4>93=82<72<71;61;60:5/94.83-52372-72,61,61+50*4/)3/+3.(2-(2-'1,&,,10+&0+%/*$.)#)(+,'!+& *%%%))$(#'"% $$#%" ! A2�� IDATx���gY�����s��@(��K�[� � ��U7¶�-�l��偂l5l� �E�� b�X�- AM�"�("��S2�ux�s�z�Z�֚�5� f2Y��C�j!rq2Q����t���t:��e���8E��t��Bt:�;�dC�����tvc���N��K��-ْP�t:�q�����T��tn��O�nɦ��N�sg%v7c�X�N�sg%�4:��."n��%��Ng�k�[E�n�&jr��s�t:w* �Nl�$� Ε�ݒM�8O�sgt:w*J"����`�8;�$� qvbw3�������qvɆ�`SpvƦ�N�y$Ԡ����2���l1(t:�ۀh��L��o����"֥��t��g]@p.�v nsbwKNgl�t:�[ nIrK�i���Nl'��(�n�)�v�N�s��p���Y�1�4�v�3�ZpB (�Q�Σ�N�s�r/n �% Pp��n �Z�qVN�3��l���&�YawK�8wD!�*D�s�$�2��$��z� �����m4 �i�>XM����d�^�_��h�e�ieC�3�C�j!rq2( �?����ڼ�/e�B� ���l�ě��0�C�!�8�3W��� B�Zo�ʸqK|�[�(Y�3S�I�- �P�qΦ�4ɚ�B��ӹ�\��:�H��V۞�i�(٠��z�33��Lt�D5C�v��e"�33�e-N���q2_��9kTq�a�oX�';�bgYi�D�6Jn��\���΅羸:m�a�(IL���$'d��� 'K�:,-��|�[ K֥HZ��HNb�L�� k�u�]" �v � a �%[�-Ipvu 6$�p�Z� 6 *;����N�v�e~iR�&X�Vb�SɇsK�� SN��5tN�_�-XS!X7]���S�3$@���"�,���XclS�mk�ؒ��s�Je��68�T����� *� D@ � D@��tn/6\�i�T+�9N�s�Z&� X%�uK�p�RVZ�.4�̴vd�!83qF���&��Ħ�B0NWY'vR;@�Ψ �"f�Nb�X��@��b� A� �`&Y'�uA�s;�ŕ�)ؐc��V�}g;��Ñ&