Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wcfmmp_store_article_loop_in_before', function( $store_id, $store_info ) {
- ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="article-inner <?php flatsome_blog_article_classes(); ?>">
- <?php
- }, 50, 2);
- add_action( 'wcfmmp_store_article_template', function() {
- get_template_part('template-parts/posts/partials/entry-header', flatsome_option('blog_posts_header_style') );
- get_template_part('template-parts/posts/content', 'default' );
- get_template_part('template-parts/posts/partials/entry-footer', 'default' );
- });
- add_action( 'wcfmmp_store_article_template_none', function() {
- get_template_part( 'template-parts/posts/content','none');
- });
- add_action( 'wcfmmp_store_article_loop_in_after', function( $store_id, $store_info ) {
- ?>
- </div>
- </article>
- <?php
- }, 50, 2);
- add_filter( 'wcfm_is_allow_store_articles', '__return_true' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement