WPStream Elementor – Items List
Home › Forums › WpStream Theme › WPStream Elementor – Items List
Tagged: wpstream elementor
- This topic has 4 replies, 3 voices, and was last updated 3 months, 3 weeks ago by
christina.
- AuthorPosts
- October 1, 2020 at 12:02 am #92030
admin-2914
ParticipantI am using this to display all the products of a given media category. Is there anyway to add the date to each product? I looked through the code but can’t seem to pinpoint where the info to populate the list is being pulled.
October 1, 2020 at 1:17 pm #92109admin
KeymasterHi,
I assume you use “WpStream Items List” Elementor blockGo into \wpstream-wordpresstheme\libs\shortcodes.php and look for function wpstream_recent_posts_pictures_new – this is the WP_Query is build http://prntscr.com/ur9k35
Depending of the item type you have ‘templates/free_product_unit’
or if the item is product – meaning a Woo Commerce Product you have
if( function_exists(‘wc_get_template_part’) ) {
wc_get_template_part( ‘content’, ‘product’ );
}Here is link that explain in detail where is what in this case : https://wordpress.stackexchange.com/questions/358034/wc-get-template-part-content-product-where-is-this-file-located
Thank you
October 1, 2020 at 2:09 pm #92115admin-2914
ParticipantThanks!
October 1, 2020 at 2:35 pm #92117admin-2914
ParticipantSo the code is actually in the woo-helper.php file under libs in the WPStreamTheme folder. It overrides the default woocommerce product template on the client facing side.
October 2, 2020 at 8:11 am #92208christina
ModeratorSorry, is that a question or a note? 🙂
- AuthorPosts
- You must be logged in to reply to this topic.