LOOKS LIKE THERE IS MRE THAN THAt GOING ON SO I’ll try to explain better here//
SITE FOR SCHOOL ACTIVITIES
ASTRA free THEME | ELEMENTOR PRO | ACF | CPTUI
in APRIL started the project ( without CPTUI)
Posting Wp Core Posts with WP Core Categories (Each classroom is a WP category)
In June I created 6 custom post types with CPT UI. I stopped using Wp core Posts and started publishing only CPT. Had some extra coding for making them appear on the front and in the archive page. And turns out working fine.
ex https://sosescola.com2c.com.br/category/3-ano/
But I Did not create custom taxonomies since I only need the WP Core taxonomies (category and Tags) to organize this site. (The whole site depends on the WP Core taxonomies)
On the front I don’t care at all to know which kind of post type is showing. I only want to show (all = wp posts + 6 CPT posts) posts for a specific category (classroom), that’s why I even added some codelines so the CPT won’t appear in the slug.(because it makes no sense for this site)
A few unhappy things are happening on the site
1)The Archives Widget is not counting the NEW (CPT UI POSTS) and only counting the OLD (WP core Posts).
https://com2c.com.br/3298-2/
2)and is also showing error404 when opening.
https://com2c.com.br/3300-2/
3) on each SINGLE POSTI have an ELEMENTOR PRO POST NAVIGATION WIDGET
That works the way I want on the OLD (WP core Posts) Where in a post for a specific WP Core Category ( a classroom in my case) only showing posts for that same classroom. (Quite obvious)
Since I started working with CPT UI , I continued using the same WP core Taxonomy and was waiting for the same result in the single page Posts. BUT Only posts from the same CPT are showing up and like this even showing CPT from other classrooms (aka other categories). Creating a very unwanted effect. How can I code this problem away?
I’ve been reading and researching for a week until now.
Anybody out there with an idea ?