How can I use plugin views in my wordpress theme

     

I have added two plugins in my wordpress theme


      
  1. WooCommerce
  2.   
  3. Lead Capture Pro
  4.   

Lead Capture Pro is a lead generating plugin. Companies get registered and can view available leads and buy them. The login screen for the companies is through WP-Admin login. When WooCommerce is activated in the theme then I get redirected to "My Account Page" of WooCommerce. I stopped this redirection using the following code in function.php


function admin_bar(){
if(is_user_logged_in()){   add_filter( 'show_admin_bar' '__return_true' 1000 );   }  }  add_action('init'