SQL order by fields
SELECT * FROM wp_posts WHERE ID IN (5,26,4) ORDER BY FIELD(ID,5,26,4)
Use the `[anton-accordion]` to display the shortcode in your pages. To use the specific category of your accordion, use the `cat` attributes. Use the category value in `cat` attributes. [anton-accordion cat=”1″] // 1 is the category ID
GRAVITY FORM .gform_wrapper { margin: 0!important; max-width: 100%!important; } .gform_wrapper .top_label li.gfield input, .gform_wrapper .top_label li.gfield select, .gform_wrapper .top_label li.gfield textarea { width: 100%!important; padding-right: 2%!important; padding-left: 2%!important; } .gform_wrapper .top_label li.gfield .ginput_left, .gform_wrapper .top_label li.gfield .ginput_right { width: 49%!important; } .gform_wrapper .gform_footer { padding: 0; margin: 10px 0 0 0; } WOOCOMMERCE TABS .woocommerce-tabs…
JS Composer shortcode is not working outside the loop, sometimes the JS file is not enqueue to your front end page. Mine is I’m using the Ultimate_VC_Addons and I found the ultimate.min.js and ultimate.min.css is not enqueue to the page. To fix the error, copy this code to your functions.php add_action( 'wp_enqueue_scripts', 'ac_wp_enqueue_scripts' ); function…
Having trouble on the auto filling the color of telephone number? Most common color is blue for the links. Here’s the solution below. Just copy and paste this inside to to your . <meta name="format-detection" content="telephone=no">
Add BCC email in Woocommerce new order via product post meta? How to do that? Create a custom field with a meta_key of ’email_address’ and put the codes to your functions.php add_filter( 'woocommerce_email_headers', 'mycustom_headers_filter_function', 10, 2 ); function mycustom_headers_filter_function( $headers, $object ) { if( $object == 'new_order' ){ global $woocommerce; $cart = $woocommerce->cart; if(!empty($cart)){ $group…