Advertisement
vapvarun

Peepso Dokan Multivendor Integration

Apr 18th, 2022
1,442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.10 KB | None | 0 0
  1. <div class="peepso ps-page-profile">
  2.     <?php PeepSoTemplate::exec_template( 'general', 'navbar' ); ?>
  3.  
  4.     <?php PeepSoTemplate::exec_template( 'profile', 'focus', array( 'current' => $current ) ); ?>
  5.  
  6.     <section id="mainbody" class="ps-page-unstyled">
  7.         <section id="component" role="article" class="clearfix">
  8.             <?php
  9.             if ( get_current_user_id() ) {
  10.                 ?>
  11.                 <div class="wbpm-peepo-multivendor-wrapper dokan-dashboard wbpm-fav-products-section">
  12.  
  13.                     <div class="dokan-dashboard-wrap">
  14.                             <div class="dokan-dashboard-content dokan-product-listing">
  15.                                     <div class="dokan-dashboard-product-listing-wrapper">
  16.                                         <?php
  17.                                         echo do_shortcode( '[products columns="2" paginate=true limit="10"]' );
  18.                                         ?>
  19.                                     </div>
  20.                             </div><!-- #primary .content-area -->
  21.                         </div><!-- .dokan-dashboard-wrap -->
  22.                 </div>
  23.                 <?php
  24.             } else {
  25.                 PeepSoTemplate::exec_template( 'general', 'login-profile-tab' );
  26.             }
  27.             ?>
  28.         </section><!--end component-->
  29.     </section><!--end mainbody-->
  30. </div><!--end row-->
  31. <?php PeepSoTemplate::exec_template( 'activity', 'dialogs' ); ?>
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement