' . $attr['list']. ' + '.$attr['more'] . '

'. do_shortcode($smcontent).'

'.$attr['list']. ' - ' . $attr['less'] . '

'; $wpsm_string .= ' '; return $wpsm_string; } add_action( 'wp_enqueue_scripts', 'sm_scripts'); function sm_scripts (){ /*$plugin_url = plugins_url( '/', __FILE__ ); wp_enqueue_style ( 'sm-style', $plugin_url . 'wpsm-style.css' ); wp_enqueue_script ( 'sm-script', $plugin_url . 'wpsm-script.js', array( 'jquery' ), '1.0.1', true );*/ } //add_action('wp_footer', 'sm_scripts'); get_field('hotline_1', 'option'), 'phone2' => get_field('hotline_2', 'option'), 'email' => get_field('email', 'option'), 'facebook' => get_field('facebook_fanpage', 'option'), 'facebook_chat' => get_field('facebook_chat', 'option'), 'address' => get_field('address', 'option'), 'googlemap' => get_field('google_map_url', 'option') ), $contats)); $html = ''; //HTML $html.= '
'; //CSS $html .=' '; //JSS $html .=' '; echo $html; } ?> get_field('hotline_1', 'option'), 'phone2' => get_field('hotline_2', 'option'), 'email' => get_field('email', 'option'), 'facebook' => get_field('facebook_fanpage', 'option'), 'address' => get_field('address', 'option'), 'color_1' => '#0095d9', 'color_2' => '#f00', 'color_3' => '#eeeeee', 'googlemap' => get_field('google_map_url', 'option') ), $contats)); $html = '

'.$phone1.'

'; $html .= ' '; //HTML $html.= ' '; echo $html; } query_vars; $n = !empty($q['exact']) ? '' : '%'; $search = $searchand = ''; foreach ((array)$q['search_terms'] as $term) { $term = esc_sql($wpdb->esc_like($term)); $search .= "{$searchand}($wpdb->posts.post_title LIKE '{$n}{$term}{$n}')"; $searchand = ' AND '; } if (!empty($search)) { $search = " AND ({$search}) "; if (!is_user_logged_in()) $search .= " AND ($wpdb->posts.post_password = '') "; } return $search; } add_filter('posts_search', '__codfe_search_by_title_only', 500, 2); jQuery("document").ready(function($){ ! function(t) { "use strict"; t.fn.placeholderTypewriter = function(e) { var n = t.extend({ delay: 50, pause: 1e3, text: [] }, e); function r(t, e) { t.attr("placeholder", ""), function t(e, r, u, a) { var i = n.text[r], o = e.attr("placeholder"); if (e.attr("placeholder", o + i[u]), u < i.length - 1) return setTimeout(function() { t(e, r, u + 1, a) }, n.delay), !0; a() }(t, e, 0, function() { setTimeout(function() { ! function t(e, r) { var u = e.attr("placeholder"), a = u.length; if (e.attr("placeholder", u.substr(0, a - 1)), a > 1) return setTimeout(function() { t(e, r) }, n.delay), !0; r() }(t, function() { r(t, (e + 1) % n.text.length) }) }, n.pause) }) } return this.each(function() { r(t(this), 0) }) } }(jQuery); var placeholderText = ['.get_field('search_text', 'option').']; $("#woocommerce-product-search-field-0").placeholderTypewriter({ text: placeholderText }); }); '; echo $result; } ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/vtam0418/domains/thietbiviettam.vn/public_html/wp-content/themes/shop2/cf-contact-button.php:1) in /home/vtam0418/domains/thietbiviettam.vn/public_html/wp-includes/pluggable.php on line 1427

Warning: Cannot modify header information - headers already sent by (output started at /home/vtam0418/domains/thietbiviettam.vn/public_html/wp-content/themes/shop2/cf-contact-button.php:1) in /home/vtam0418/domains/thietbiviettam.vn/public_html/wp-includes/pluggable.php on line 1430