Home › Forums › Other › Enable a Custom field in a plugin to render a shortcode or make it editable? › Reply To: Enable a Custom field in a plugin to render a shortcode or make it editable?
The entirety of the Yith Woocommerce Brands archive template looks like this. It renders all the products of the brand.
Anyone have any ideas on extending this then, concepts/codes would be greatly appreciated.
…
<?php
/*
* This file belongs to the YIT Framework.
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.gnu.org/licenses/gpl-3.0.txt
*/
if ( ! defined( ‘YITH_WCBR’ ) ) {
exit;
} // Exit if accessed directly
global $product;
?>
<?php
if( ! empty( $term_description ) ){
echo $term_description;
}
?>
…