/**
* Related Posts Loader for Astra theme.
*
* @package Astra
* @author Brainstorm Force
* @copyright Copyright (c) 2021, Brainstorm Force
* @link https://www.brainstormforce.com
* @since Astra 3.5.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Customizer Initialization
*
* @since 3.5.0
*/
class Astra_Related_Posts_Loader {
/**
* Constructor
*
* @since 3.5.0
*/
public function __construct() {
add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) );
add_action( 'customize_register', array( $this, 'related_posts_customize_register' ), 2 );
// Load Google fonts.
add_action( 'astra_get_fonts', array( $this, 'add_fonts' ), 1 );
}
/**
* Enqueue google fonts.
*
* @return void
*/
public function add_fonts() {
if ( astra_target_rules_for_related_posts() ) {
// Related Posts Section title.
$section_title_font_family = astra_get_option( 'related-posts-section-title-font-family' );
$section_title_font_weight = astra_get_option( 'related-posts-section-title-font-weight' );
Astra_Fonts::add_font( $section_title_font_family, $section_title_font_weight );
// Related Posts - Posts title.
$post_title_font_family = astra_get_option( 'related-posts-title-font-family' );
$post_title_font_weight = astra_get_option( 'related-posts-title-font-weight' );
Astra_Fonts::add_font( $post_title_font_family, $post_title_font_weight );
// Related Posts - Meta Font.
$meta_font_family = astra_get_option( 'related-posts-meta-font-family' );
$meta_font_weight = astra_get_option( 'related-posts-meta-font-weight' );
Astra_Fonts::add_font( $meta_font_family, $meta_font_weight );
// Related Posts - Content Font.
$content_font_family = astra_get_option( 'related-posts-content-font-family' );
$content_font_weight = astra_get_option( 'related-posts-content-font-weight' );
Astra_Fonts::add_font( $content_font_family, $content_font_weight );
}
}
/**
* Set Options Default Values
*
* @param array $defaults Astra options default value array.
* @return array
*/
public function theme_defaults( $defaults ) {
// Related Posts.
$defaults['enable-related-posts'] = false;
$defaults['related-posts-title'] = __( 'Related Posts', 'astra' );
$defaults['releted-posts-title-alignment'] = 'left';
$defaults['related-posts-total-count'] = 2;
$defaults['enable-related-posts-excerpt'] = false;
$defaults['related-posts-excerpt-count'] = 25;
$defaults['related-posts-based-on'] = 'categories';
$defaults['related-posts-order-by'] = 'date';
$defaults['related-posts-order'] = 'asc';
$defaults['related-posts-grid-responsive'] = array(
'desktop' => '2-equal',
'tablet' => '2-equal',
'mobile' => 'full',
);
$defaults['related-posts-structure'] = array(
'featured-image',
'title-meta',
);
$defaults['related-posts-meta-structure'] = array(
'comments',
'category',
'author',
);
// Related Posts - Color styles.
$defaults['related-posts-text-color'] = '';
$defaults['related-posts-link-color'] = '';
$defaults['related-posts-title-color'] = '';
$defaults['related-posts-background-color'] = '';
$defaults['related-posts-meta-color'] = '';
$defaults['related-posts-link-hover-color'] = '';
$defaults['related-posts-meta-link-hover-color'] = '';
// Related Posts - Title typo.
$defaults['related-posts-section-title-font-family'] = 'inherit';
$defaults['related-posts-section-title-font-weight'] = 'inherit';
$defaults['related-posts-section-title-text-transform'] = '';
$defaults['related-posts-section-title-line-height'] = '';
$defaults['related-posts-section-title-font-size'] = array(
'desktop' => '30',
'tablet' => '',
'mobile' => '',
'desktop-unit' => 'px',
'tablet-unit' => 'px',
'mobile-unit' => 'px',
);
// Related Posts - Title typo.
$defaults['related-posts-title-font-family'] = 'inherit';
$defaults['related-posts-title-font-weight'] = 'inherit';
$defaults['related-posts-title-text-transform'] = '';
$defaults['related-posts-title-line-height'] = '1';
$defaults['related-posts-title-font-size'] = array(
'desktop' => '20',
'tablet' => '',
'mobile' => '',
'desktop-unit' => 'px',
'tablet-unit' => 'px',
'mobile-unit' => 'px',
);
// Related Posts - Meta typo.
$defaults['related-posts-meta-font-family'] = 'inherit';
$defaults['related-posts-meta-font-weight'] = 'inherit';
$defaults['related-posts-meta-text-transform'] = '';
$defaults['related-posts-meta-line-height'] = '';
$defaults['related-posts-meta-font-size'] = array(
'desktop' => '14',
'tablet' => '',
'mobile' => '',
'desktop-unit' => 'px',
'tablet-unit' => 'px',
'mobile-unit' => 'px',
);
// Related Posts - Content typo.
$defaults['related-posts-content-font-family'] = 'inherit';
$defaults['related-posts-content-font-weight'] = 'inherit';
$defaults['related-posts-content-text-transform'] = '';
$defaults['related-posts-content-line-height'] = '';
$defaults['related-posts-content-font-size'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
'desktop-unit' => 'px',
'tablet-unit' => 'px',
'mobile-unit' => 'px',
);
return $defaults;
}
/**
* Add postMessage support for site title and description for the Theme Customizer.
*
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
*
* @since 3.5.0
*/
public function related_posts_customize_register( $wp_customize ) {
/**
* Register Config control in Related Posts.
*/
// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
require_once ASTRA_RELATED_POSTS_DIR . 'customizer/class-astra-related-posts-configs.php';
// @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
}
/**
* Render the Related Posts title for the selective refresh partial.
*
* @since 3.5.0
*/
public function render_related_posts_title() {
return astra_get_option( 'related-posts-title' );
}
}
/**
* Kicking this off by creating NEW instace.
*/
new Astra_Related_Posts_Loader();
UFABAY เว็บแทงบอลอันดับ 1 จาก UFABET ครบจบที่เดียว – Quality Formación
Ir al contenido
UFA ยูฟ่า77 เว็บพนันออนไลน์ เป็นอีกหนึ่งทางเลือกของนักพนันทั้งหลาย ที่กำลังมองหาการพนันออนไลน์ในรูปแบบต่างๆ ทั้งในเรื่องของการแทงบอลออนไลน์ ดูบอลออนไลน์ ดูผลบอล และการพนันอื่นๆในรูปแบบของคาสิโน ที่ทั้งหมดเป็นนั้นเว็บตรง ไม่ผ่านเอเย่นต์ จึงทำให้ผู้เล่นทั้งหมดสบายใจได้ในเรื่องของ ความปลอดภัย และในเรื่องของความสะดวกสบายนั้น ไม่ทำให้คุณรอนานแน่นอน ด้วยคุณภาพของทีมงานที่รวดเร็วทันใจ ที่เอาใจใส่ในการตอบแชท ไม่ว่าจะเป็นระบบ ฝาก – ถอน เงินนั้น รวดเร็วทันใจปลอดภัย การเงินมั่นคง แทงบอลตรงกับบริษัทแม่ เว็บตรงไม่ผ่านเอเย่นต์ เสนอที่ดี และราคาดีเกินกว่าทุกเว็บไซต์แน่นอน แทงบอลออนไลน์ ดูบอลสดได้ตลอด 24 ชม. ทางเข้าเล่น ยูฟ่าเบท ท่านสามารถเข้าเล่นได้ง่ายๆ ผ่านหน้าเว็บไซต์ UFABET เข้าสู่ระบบ ได้ทันที หากท่านใดยังไม่เป็นสมาชิกต้องทำการสมัครสมาชิกก่อนเล่น ระบบการสมัคร ฝาก-ถอน ของเรานั้นเป็นระบบออโต้ทั้งหมดใช้งานง่ายไม่ยุ่งยาก ด้วยระบบที่มีความพร้อมในการให้บริการเว็บแทงบอล เราเป็นเจ้าใหญ่ที่สุดที่ให้ราคาน้ำ ที่สูงกว่าเว็บอื่นๆ มีอัตราการจ่ายเงินไม่อั้น มีระบบฝากถอนเงินที่ดีที่สุด เป็นระบบสากลได้มาตรฐานที่ทั่วโลกใช้กัน ซึ่งทั้งนี้เว็บไซต์เรายังได้จดทะเบียนเป็นเว็บหลักในไทย ใครที่เป็นคอบอลก็สามารถมาเล่นกับเราได้ เราพร้อมให้บริการแทงบอลออนไลน์ทุกรูปแบบ สมัครสมาชิกกับเราได้ที่หน้าเว็บไซต์หรือ @LINE มาที่…. เพราะเราคือเว็บไซต์แทงบอลออนไลน์ที่มีจำนวนผู้เข้าใช้งานบนเว็บไซต์มากกว่า 100,000 แสนคนต่อวัน ด้วยความใส่ใจในการให้บริการและมีระบบมั่นคงปลอดภัยที่สุด ทำให้ลูกค้าให้ความไว้ใจ ฝากถอน ผ่านระบบออโต้ภายใน 3 วินาที สมัครUFABET เพื่อแทงบอลได้ที่เว็บไซต์ UFABETS.IN.TH เปิดตลอด 24 ชม. ใช่, Ufabet มีแหล่งข้อมูลการศึกษาให้กับนักเดิมพันใหม่ ช่วยให้พวกเขาเข้าใจคำศัพท์เกี่ยวกับกีฬาและกติกาของกีฬาต่างๆ ได้ดีขึ้น การสนับสนุนของ Ufabet มีให้บริการผ่านการบริการลูกค้าตลอด 24 ชั่วโมง ซึ่งเจ้าหน้าที่จะตอบคำถามและชี้แจงข้อสงสัยของผู้เล่นใหม่ Ufabet มั่นใจว่านักเดิมพันได้รับข้อมูลที่ครบถ้วนและมีความมั่นใจในการตัดสินใจเดิมพันด้วยการให้คำแนะนำ ซึ่งช่วยเสริมสร้างชื่อเสียงของแพลตฟอร์มในฐานะแพลตฟอร์มที่น่าเชื่อถือและปลอดภัยสำหรับการเดิมพันออนไลน์. ยินดีต้อนรับเข้าสู่เว็บไซต์ UFABET1.BLOG พนันออนไลน์ อันดับหนึ่ง ให้บริการ ยูฟ่าเบท แทงบอลออนไลน์ คาสิโนออนไลน์ มวย หวย ไม่ผ่านเอเย่น เราให้บริการด้านการเดิมพันแบบครบวงจรตลอด 24ชม.
วิธีใช้งานหน้าเดิมพัน UFABET ทำอย่างไร?

ติดต่อUFABETเว็บพนันออนไลน์ที่ดีที่สุด ได้ตลอดเวลาด้วยการสนับสนุนลูกค้า 24/7 ผ่านทางอีเมล โทรศัพท์ หรือแชทสด! คุณสามารถติดต่อทีมสนับสนุนลูกค้าของเราโดยการทัก Ufabet Line เพื่อขอความช่วยเหลือเพิ่มเติมในการดึงข้อมูลการเข้าสู่ระบบของคุณ โดยสามารถขอความช่วยเหลือได้ตลอด 24 ชม.

monopoly casino