• Hello i am creating Bookstore on the woocommerce. So i want to create custom post type author and connect it to product. How can i query the product with authors.
    For example i have such query (in the plugin – product slider )

    $wp_query = new WP_Query(
    array (
    ‘post_type’ => ‘product’,
    ‘posts_per_page’ => $wcps_total_items,

    ‘tax_query’ => array(
    array(
    ‘taxonomy’ => $wcps_taxonomy,
    ‘field’ => ‘id’,
    ‘terms’ => $wcps_taxonomy_category,
    )
    )
    ) );

    how can i query here the author of this term ?

    https://www.ads-software.com/plugins/posts-to-posts/

  • The topic ‘Bookstore. Products to Autors connection’ is closed to new replies.