WordPress.org

Forums

Custom taxonomy archive page empty (1 post)

  1. toojee
    Member
    Posted 1 year ago #

    Hi!

    I have created a custom taxonomy "category_product" for my custom post type "product". I write somes products et assign some custom categories.
    I created a page named "taxonomy-category_product.php" to get an archive page for a page like "www.mywebsite.com/products/mycustomcategoy" but my page don't have access to data!

    I deleted all the content and just put var_dump(have_posts()) and I have a return of false... I don't understand why I can't access to data!

    thx

Topic Closed

This topic has been closed to new replies.

About this Topic