UPDATE:
//Check is_shop - Shop base page
// if True then Show Category Header Content of The first Product in Shop base Page
if (is_shop()) {
$args = array('taxonomy' => 'product_cat');
$product_categories = get_categories( $args );
$term_id = $product_categories[0]->term_id;
$content = get_term_meta($term_id, 'cat_meta');
if(isset($content[0]['cat_header'])){
echo do_shortcode($content[0]['cat_header']);
}
}
?>
See my example kho hàng hóa
I have the same problem with the lastest WP 3.8
Cant save FB App ID & Secret
Any help!
Thank so much!
Great! Could you share to me your code
Your code file has password
I come from Vietnam
I trying to get the city/town field in my project http://www.khohanghoa.com/
Come and visit!
Thanks a lot!