• Resolved jay

    (@jasilbs)


    Is there a way to add a tab to the Vendor Store to display their Articles?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WC Lovers

    (@wclovers)

    HI,

    Yeah off course.

    But these requires theme support.

    SO, please know me which theme you are using, I will help you accordingly!

    Thank You

    Plugin Author WC Lovers

    (@wclovers)

    Any update on this?

    Between, here is sample code for enabling article tab on store page –

    add_action( 'wcfmmp_after_store_article_loop_start', function( $store_id, $store_info ) {
    	astra_primary_content_top();
    	echo '<div class="ast-row">';
    }, 50, 2);
    
    add_action( 'wcfmmp_store_article_template', function() {
    	get_template_part( 'template-parts/content-blog' );
    });
    
    add_action( 'wcfmmp_store_article_template_none', function() {
    	get_template_part( 'template-parts/content-none' );
    });
    
    add_action( 'wcfmmp_before_store_article_loop_end', function( $store_id, $store_info ) {
    	astra_pagination();
    	echo '</div>';
    	astra_primary_content_bottom();
    }, 50, 2);
    
    add_filter( 'wcfm_is_allow_store_articles', '__return_false' );

    But, this requires a bit tweak as per your theme.

    Thank you

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

The topic ‘Vendor Store Articles’ is closed to new replies.