AlkantarClanX12

Your IP : 18.218.76.193


Current Path : /home/thanudqk/siampokernew.org/wp-content/themes/Siamnew/
Upload File :
Current File : //home/thanudqk/siampokernew.org/wp-content/themes/Siamnew/functions.php

<?php 


function SiampokerTheme6 ($wp_customize){
    $wp_customize->add_section('SiampokerTheme-section5', array(
        'title' => 'Slider Section'
    ));


    $wp_customize->add_setting('SiampokerTheme-section5-headline', array(
        'default' => 'Enter Headline Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section5-headline-control', array(
         'label' => 'Headline',
         'section' => 'SiampokerTheme-section5',
         'settings' => 'SiampokerTheme-section5-headline'
     )));

}


add_action('customize_register', 'SiampokerTheme6');








function SiampokerTheme ($wp_customize){
     $wp_customize->add_section('SiampokerTheme-section1', array(
         'title' => 'Video Section'
     ));


     $wp_customize->add_setting('SiampokerTheme-section1-headline', array(
         'default' => 'Enter Headline Title'
     ));


     $wp_customize->add_control( new WP_Customize_Control($wp_customize,
      'section1-headline-control', array(
          'label' => 'Headline',
          'section' => 'SiampokerTheme-section1',
          'settings' => 'SiampokerTheme-section1-headline'
      )));


      $wp_customize->add_setting('SiampokerTheme-section1-paragraph', array(
        'default' => 'Enter Text'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section1-paragraph-control', array(
         'label' => 'Paragraph',
         'section' => 'SiampokerTheme-section1',
         'settings' => 'SiampokerTheme-section1-paragraph',
         'type' => 'textarea'
     )));

}


add_action('customize_register', 'SiampokerTheme');









function SiampokerTheme2 ($wp_customize){
    
    
    /**Title**/
    $wp_customize->add_section('SiampokerTheme-section2', array(
        'title' => 'Cards Section'
    ));


   /**Headline**/
    $wp_customize->add_setting('SiampokerTheme-section2-headline', array(
        'default' => 'Enter Headline Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section2-headline-control', array(
         'label' => 'Headline',
         'section' => 'SiampokerTheme-section2',
         'settings' => 'SiampokerTheme-section2-headline'
     )));



     /**Paragraph**/
     $wp_customize->add_setting('SiampokerTheme-section2-paragraph', array(
       'default' => 'Enter Text'
   ));


   $wp_customize->add_control( new WP_Customize_Control($wp_customize,
    'section2-paragraph-control', array(
        'label' => 'Paragraph',
        'section' => 'SiampokerTheme-section2',
        'settings' => 'SiampokerTheme-section2-paragraph',
        'type' => 'textarea'
    )));


/**CARD 1 **/
 

    $wp_customize->add_setting('SiampokerTheme-section2-card1-headline', array(
        'default' => 'Enter Card1 Title '
    ));
    

    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
    'section2-card-headline-control', array(
        'label' => 'Card1 Title',
        'section' => 'SiampokerTheme-section2',
        'settings' => 'SiampokerTheme-section2-card1-headline'
    )));



      /**Paragraph**/
      $wp_customize->add_setting('SiampokerTheme-section2-card1-paragraph', array(
        'default' => 'Enter Text'
    ));
 
 
    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section2-card-paragraph-control', array(
         'label' => 'Card1 Paragraph',
         'section' => 'SiampokerTheme-section2',
         'settings' => 'SiampokerTheme-section2-card1-paragraph',
         'type' => 'textarea'
     )));




   /**CARD 2 **/
 

   $wp_customize->add_setting('SiampokerTheme-section2-card2-headline', array(
    'default' => 'Enter Card2 Title '
));


$wp_customize->add_control( new WP_Customize_Control($wp_customize,
'section2-card2-headline-control', array(
    'label' => 'Card2 Title',
    'section' => 'SiampokerTheme-section2',
    'settings' => 'SiampokerTheme-section2-card2-headline'
)));



  /**Paragraph**/
  $wp_customize->add_setting('SiampokerTheme-section2-card2-paragraph', array(
    'default' => 'Enter Text'
));


$wp_customize->add_control( new WP_Customize_Control($wp_customize,
 'section2-card2-paragraph-control', array(
     'label' => 'Card2 Paragraph',
     'section' => 'SiampokerTheme-section2',
     'settings' => 'SiampokerTheme-section2-card2-paragraph',
     'type' => 'textarea'
 )));  




   /**CARD 2 **/
 

   $wp_customize->add_setting('SiampokerTheme-section2-card3-headline', array(
    'default' => 'Enter Card3 Title '
));


$wp_customize->add_control( new WP_Customize_Control($wp_customize,
'section2-card3-headline-control', array(
    'label' => 'Card3 Title',
    'section' => 'SiampokerTheme-section2',
    'settings' => 'SiampokerTheme-section2-card3-headline'
)));



  /**Paragraph**/
  $wp_customize->add_setting('SiampokerTheme-section2-card3-paragraph', array(
    'default' => 'Enter Text'
));


$wp_customize->add_control( new WP_Customize_Control($wp_customize,
 'section2-card3-paragraph-control', array(
     'label' => 'Card3 Paragraph',
     'section' => 'SiampokerTheme-section2',
     'settings' => 'SiampokerTheme-section2-card3-paragraph',
     'type' => 'textarea'
 )));  

}

add_action('customize_register', 'SiampokerTheme2');






function SiampokerTheme3 ($wp_customize){
    $wp_customize->add_section('SiampokerTheme-section3', array(
        'title' => 'Games Section'
    ));


    $wp_customize->add_setting('SiampokerTheme-section3-headline', array(
        'default' => 'Enter Headline Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-headline-control', array(
         'label' => 'Headline',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-headline'
     )));


     $wp_customize->add_setting('SiampokerTheme-section3-paragraph', array(
       'default' => 'Enter Text'
   ));


   $wp_customize->add_control( new WP_Customize_Control($wp_customize,
    'section3-paragraph-control', array(
        'label' => 'Paragraph',
        'section' => 'SiampokerTheme-section3',
        'settings' => 'SiampokerTheme-section3-paragraph',
        'type' => 'textarea'
    )));


    
    $wp_customize->add_setting('SiampokerTheme-section3-game1-headline', array(
        'default' => 'Game 1 Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-game1-headline-control', array(
         'label' => 'Game 1',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-game1-headline'
     )));


     


     $wp_customize->add_setting('SiampokerTheme-section3-game2-headline', array(
        'default' => 'Game 2 Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-game2-headline-control', array(
         'label' => 'Game 2',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-game2-headline'
     )));





     $wp_customize->add_setting('SiampokerTheme-section3-game3-headline', array(
        'default' => 'Game 3 Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-game3-headline-control', array(
         'label' => 'Game 3',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-game3-headline'
     )));



     
     $wp_customize->add_setting('SiampokerTheme-section3-game4-headline', array(
        'default' => 'Game 4 Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-game4-headline-control', array(
         'label' => 'Game 4',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-game4-headline'
     )));



         
     $wp_customize->add_setting('SiampokerTheme-section3-game5-headline', array(
        'default' => 'Game 5 Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-game5-headline-control', array(
         'label' => 'Game 5',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-game5-headline'
     )));







     $wp_customize->add_setting('SiampokerTheme-section3-game6-headline', array(
        'default' => 'Game 6 Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-game6-headline-control', array(
         'label' => 'Game 6',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-game6-headline'
     )));


     
     $wp_customize->add_setting('SiampokerTheme-section3-button-headline', array(
        'default' => 'Button'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section3-button-headline-control', array(
         'label' => 'Enter Button',
         'section' => 'SiampokerTheme-section3',
         'settings' => 'SiampokerTheme-section3-button-headline'
     )));

}
add_action('customize_register', 'SiampokerTheme3');









function SiampokerTheme7 ($wp_customize){
    $wp_customize->add_section('SiampokerTheme-section7', array(
        'title' => 'News & Articles Section'
    ));


    $wp_customize->add_setting('SiampokerTheme-section7-headline', array(
        'default' => 'Enter Headline Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section7-headline-control', array(
         'label' => 'Headline',
         'section' => 'SiampokerTheme-section7',
         'settings' => 'SiampokerTheme-section7-headline'
     )));

     
  /**Paragraph**/
  $wp_customize->add_setting('SiampokerTheme-section7-paragraph', array(
    'default' => 'Enter Text'
));


$wp_customize->add_control( new WP_Customize_Control($wp_customize,
 'section7-paragraph-control', array(
     'label' => 'Paragraph',
     'section' => 'SiampokerTheme-section7',
     'settings' => 'SiampokerTheme-section7-paragraph',
     'type' => 'textarea'
 )));  


}


add_action('customize_register', 'SiampokerTheme7');














function SiampokerTheme4 ($wp_customize){
    $wp_customize->add_section('SiampokerTheme-section4', array(
        'title' => 'Desktop & Mobile Section'
    ));
    $wp_customize->add_setting('SiampokerTheme-section4-desktop-headline', array(
        'default' => 'Desktop Title'
    ));
    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section4-desktop1-headline-control', array(
         'label' => 'Desktop Headline',
         'section' => 'SiampokerTheme-section4',
         'settings' => 'SiampokerTheme-section4-desktop-headline'
     )));


     $wp_customize->add_setting('SiampokerTheme-section4-desktop-paragraph', array(
       'default' => 'Enter Text'
   ));

   $wp_customize->add_control( new WP_Customize_Control($wp_customize,
    'section4-desktop1-paragraph-control', array(
        'label' => 'Paragraph',
        'section' => 'SiampokerTheme-section4',
        'settings' => 'SiampokerTheme-section4-desktop-paragraph',
        'type' => 'textarea'
    )));

   $wp_customize->add_setting('SiampokerTheme-section4-mobile-desktopbutton', array(
        'default' => 'Button'
    ));
 
 
    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section4-button-paragraph-control', array(
         'label' => 'Enter Button',
         'section' => 'SiampokerTheme-section4',
         'settings' => 'SiampokerTheme-section4-mobile-desktopbutton',
     )));
 



    $wp_customize->add_setting('SiampokerTheme-section4-mobile-headline', array(
        'default' => 'Mobile Title'
    ));
    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section4-mobile1-headline-control', array(
         'label' => 'Mobile Headline',
         'section' => 'SiampokerTheme-section4',
         'settings' => 'SiampokerTheme-section4-mobile-headline'
     )));


     $wp_customize->add_setting('SiampokerTheme-section4-mobile-paragraph', array(
        'default' => 'Enter Text'
    ));
 
 
    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section4-mobile1-paragraph-control', array(
         'label' => 'Paragraph',
         'section' => 'SiampokerTheme-section4',
         'settings' => 'SiampokerTheme-section4-mobile-paragraph',
         'type' => 'textarea'
     )));


     
  



     $wp_customize->add_setting('SiampokerTheme-section4-mobile-mobilebutton', array(
        'default' => 'Button'
    ));
 
 
    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section4-mobilebutton-paragraph-control', array(
         'label' => 'Enter Button',
         'section' => 'SiampokerTheme-section4',
         'settings' => 'SiampokerTheme-section4-mobile-mobilebutton',
     )));
 



}
add_action('customize_register', 'SiampokerTheme4');







function SiampokerTheme5 ($wp_customize){
    $wp_customize->add_section('SiampokerTheme-section5', array(
        'title' => 'Service Section'
    ));


    $wp_customize->add_setting('SiampokerTheme-section5-headline', array(
        'default' => 'Enter Headline Title'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section5-headline-control', array(
         'label' => 'Headline',
         'section' => 'SiampokerTheme-section5',
         'settings' => 'SiampokerTheme-section5-headline'
     )));


     $wp_customize->add_setting('SiampokerTheme-section5-button', array(
        'default' => 'Enter Button'
    ));


    $wp_customize->add_control( new WP_Customize_Control($wp_customize,
     'section5-button-control', array(
         'label' => 'Button',
         'section' => 'SiampokerTheme-section5',
         'settings' => 'SiampokerTheme-section5-button'
     )));


}
add_action('customize_register', 'SiampokerTheme5');



/**
 * Register Custom Navigation Walker
 */
function register_navwalker(){
	require_once get_template_directory() . '/class-wp-bootstrap-navwalker.php';
}
add_action( 'after_setup_theme', 'register_navwalker' );


register_nav_menus( array(
    'primary' => __( 'Primary Menu', 'siampokerorg' ),
) );


?>