A Lightweight and easy-to-use WordPress Options Framework. It is a free framework for building theme options. Save your time!
Read the documentation for details documentation
jQuery(document).ready(function($) { | |
/** | |
* If the value is preselected (runs when the the doc is ready) | |
*/ | |
// get the starting value of the field; empty means no selection is made and conditional fields should hide by default | |
var startingval = $('select#select-job-industry').val(); | |
if ( startingval == '' ) { |
<?php | |
$frozen_body_font_get = cs_get_option('frozen_body_font'); | |
$frozen_heading_font_get = cs_get_option('frozen_headding_font'); | |
function frozen_crazycafe_body_gf_url() { | |
$font_url = ''; | |
$frozen_body_font_get = cs_get_option('frozen_body_font'); | |
if(array_key_exists('family', $frozen_body_font_get)) { | |
$frozen_body_font_get_family = $frozen_body_font_get['family']; |
A Lightweight and easy-to-use WordPress Options Framework. It is a free framework for building theme options. Save your time!
Read the documentation for details documentation
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Async and Await</title> | |
</head> | |
<body> |
add_filter( 'woocommerce_checkout_fields' , 'custom_remove_woo_checkout_fields' ); | |
function custom_remove_woo_checkout_fields( $fields ) { | |
// remove billing fields | |
unset($fields['billing']['billing_first_name']); | |
unset($fields['billing']['billing_last_name']); | |
unset($fields['billing']['billing_company']); | |
unset($fields['billing']['billing_address_1']); | |
unset($fields['billing']['billing_address_2']); |