Site logo

taxonomy

Custom Taxonomy and WooCommerce

Hi there! Okay, so I’m using GP Premium, WooCommerce, and the CPT plugin. I created two taxonomies – country and artisan, as tags for my products. Right now on my product page, it shows the built in product category under the add to cart button. Under the category, I’d like to display – country: tag … Read more

Post excerpt and taxonomy shortcode

Hi Tom / Leo, i am working on some Post layouts and want to display excerpt and taxonomies using a shortcode. Currently being added to a left side bar. So far i have cobbled together the following PHP. But i am not sure how to return the content so it remains within the aside widget. … Read more

Adding categories and tags taxonomy to pages

I am considering adding taxonomy options to pages on one of my sites with a plugin like https://wordpress.org/support/plugin/add-category-to-pages/ Just wanted to check to see if there was any reason I shouldn’t do this. Since WordPress prevents adding taxonomy as the default, I’m thinking there must be a good reason to not have taxonomy on pages, … Read more

Shortcode via Hook – trouble with conditional

Hello, I’ve added a Beaver Builder template shortcode to Inside Content Container, and it works great… <?php echo do_shortcode( ' [fl_builder_insert_layout slug="nav-vianney-college-seminary" type="fl-builder-template"]' ); ?> My problem is that I only want it to appear on pages attached to my custom taxonomy – called “sections”. I tried the following and it didn’t work. <?php if( … Read more