bedava hesaplar nulled scripts mod apk indir youtube mp3 dönüştürücü

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

Sign In or Register to comment.
bedava hesaplar nulled scripts mod apk indir youtube mp3 dönüştürücü