Woocommerce and custom CPT
Hello,
We are having a very strange issue regarding custom cpt archive. We are using flatsome theme v3.12.2 and woocommerce 5.9.0. We are trying to create a custom cpt like this:
$args = array(
'labels' => $labels,
'description' => '',
'public' => true,
'has_archive' => true,
'rewrite' => array('slug' => 'projects')
);
register_post_type( 'project', $args );
we are flush permalinks and create on the root of the child theme a template archive-projects.php (we have also tried other variations) and when we are loading the frontend page http://domain/projects is taking the template of the archive woo products.
We have also tried to disable all plugins with no luck.
Comments
Hello,
This is a BeTheme theme support, not Flatsome.
In this case, you should contact the Flatsome support team, not us.
thanks
Sorry, wrong screenshot
i was trying that in another theme to verify.
Hi,
What you ask for requires file customization that is not allowed in reference to the Item Support Policy. http://themeforest.net/page/item_support_policy
So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customization services or checking out the great service providers on Envato Studio.
Thanks