• Basic setup: WP Astra Theme, ELEMENTOR PRO, ACF and CPT UI
    I use WP Core category taxonomy only I have both WP Posts and Custom post types created with CPT UI
    All of them appear on the archive page.(thanx to some extra codelines)
    Both WPSingle posts and CPT UI Single Posts have a post navigation on the single post page BUT here’s the problem!
    The WP Post navigation respects the Core Wp taxonomy The CPT Post navigation only show posts from it’s own CPT (disregarding WP core taxonomy)
    I want all posts (WP Posts and CPT ) to respect the main WP core taxonomy in post navigation widget from Elementor pro.
    Any idea which lines of code can make this work would be welcome, thank you!

    • This topic was modified 4 years, 9 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Wouter

    (@estudioio)

    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 ?

Viewing 1 replies (of 1 total)
  • The topic ‘CPT UI Posts not respecting Core WP taxonomy’ is closed to new replies.