Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter marioaguera

    (@marioaguera)

    Aah, that is wonderful, thank-you ??

    And I assume activating show_post_count=”true” would therefore display (2) beside 2017, for the multiple cpts example?

    Thread Starter marioaguera

    (@marioaguera)

    Hello,

    I’m happy to upgrade to pro if it can support this feature.

    BTW: Not sure if this helps, but I found the following code snippet and managed to get the ‘Post’s widget to combine multiple post types in it’s results, by using defining a custom query in functions.php (below) and then setting Query ID in Elementor.

    // Showing multiple post types in Posts Widget
    add_action( ‘elementor/query/my_custom_filter’, function( $query ) {
    // Here we set the query to fetch posts with
    // post type of ‘custom-post-type1’ and ‘custom-post-type2’
    $query->set( ‘post_type’, [ ‘post’, ‘my_custom-post’ ] );

    If you could let me know when this functionality has been added to the Pro version, I will happily purchase it.

    Once again Many Thanks.

    Thread Starter marioaguera

    (@marioaguera)

    Wonderful. Thank you so much for checking this.

Viewing 3 replies - 1 through 3 (of 3 total)