WPStream Elementor – Items List

Home Forums WpStream Theme WPStream Elementor – Items List

New Topic
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #92030
    admin-2914
    Participant

    I 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.

    #92109
    admin
    Keymaster

    Hi,
    I assume you use “WpStream Items List” Elementor block

    Go 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

    #92115
    admin-2914
    Participant

    Thanks!

    #92117
    admin-2914
    Participant

    So 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.

    #92208
    christina
    Moderator

    Sorry, is that a question or a note? 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.