A multi-section WordPress store [closed]

It’s possible to build a multi-section online store using WordPress and WooCommerce but it does come with its complexities. Having the three sections integrated within the same site can be advantageous in terms of shared traffic, cross-selling opportunities, and providing a diverse product/service mix to your visitors. However, this setup will be more complex and … Read more

Good practical way to do loop within loop to show child custom type using a template code

<?php global $post; foreach ($event_photos_obj as $post) : … … // set up product in order to use native wordpress api setup_postdata($post); /* Include the single view for the product (photo). */ include ….. endforeach; wp_reset_postdata();?> my mistake my code is that setup_postdata with $product instead of $post as the tutorial said : https://codex.wordpress.org/Function_Reference/setup_postdata This … Read more