Home Forums WC Vendors Pro Support Facing Speed Issues

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #70236
    Samia
    Participant

    Hi,

    I am facing speed issues on my live site and I am working to increase the speed but nothing is working. I have defined many rules in my .htaccess file and tried many plugins but nothing is working.
    One thing that I have found during all these process, I have copied the entire code and paste it to new sub-directory. The thing that I saw when I run the sub-directory and test them into “https://developers.google.com/speed/pagespeed/insights/”, its working fine because on sub-directory gzip-compression and minify html is working on same code but not working on root directory.
    In simple words on root directory gzip-compression and minify-html is not working but in sub-directory its working. I don’t know why this will happening. Kindly let me know what I can do?

    #70394
    Anna
    Member

    @appngamereskin
    Hello Samia,
    Is this a specific issue with WC Vendors or WC Vendors Pro and your site speed?

    #70425
    Samia
    Participant

    Hi,
    I wrote some custom javascript for vendors Dashboard which I had included in header. These scripts are loading on entire site. I have already discussed this thing that where should I add vendors related scripts, who can only load on vendor related pages rather than entire site.
    Can you please tell me the exact way of adding custom scripts for vendors dashboard pages which should only load for vendors pages.

    #70756
    Samia
    Participant

    Hi,
    Anybody there?

    #70805
    Anna
    Member

    Samia,
    Likely something like this:

    function enqueue_files() {
      if ( is_page( 'your-page' ) ) {
        // enqueue specific page script files here
      } else {
        // enqueue common scripts here
      }
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_files' );
    
    #70809
    Stefan Bolboceanu
    Participant

    @appngamereskin,
    Can you kindly let us know if that code helps?

    Cheers!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.