• Resolved asharke1

    (@asharke1)


    Hi,

    Is it possible to disable, or only enable, this plugin for certain pages. For instace i don’t need it running on my frontpage and the css/js from this plugin loading is not necessary until loading the contact page.

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Yes, its possible to load CSS and JavaScript files of Booking Calendar only at specific pages at your website.
    Please open the Booking > Settings General page and in Advanced section click on “Show advanced settings of JavaScript loading” then set as checked this option “Load JS and CSS files only on specific pages” and in the textbox “Relative URLs of pages, where to load plugin CSS and JS files” enter relative URLs of pages, where you have Booking Calendar elements (booking forms or availability calendars).
    Please enter one URL per line.
    Example:

    /booking-form/

    Click on “Save changes” button.
    Test it.
    Kind Regards.

    Thread Starter asharke1

    (@asharke1)

    Thanks for the super quick response and clear directions

    However having issues:

    Here is the page in question

    https://valueimagery.com/contact-us/

    I tried implementing only loading on this page, i can see that the JS does not load on the frontpage, however somethng goes wrong with the contact page as the first row as well as the calendar simply don’t load. I disable the the load css/js and it works again.

    So you can see what’s happening i’ve enabled the loading only on the contact-us page
    Here’w what it is meant to look like:
    https://www.dropbox.com/s/34gfn9rav30mm8c/Screen%20Shot%202019-05-12%20at%205.06.09%20pm.png?dl=0

    Thread Starter asharke1

    (@asharke1)

    I may have actually figured out the issue

    instead of just entering /contact-us/

    i entereted the entire URL

    It appears to be working fine now, but if you wouldn’t mind confirming on your end that would be great!

    Plugin Author wpdevelop

    (@wpdevelop)

    Ok good to know that issue have been resolved.
    Kind Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable Plugin/JS on frontpage’ is closed to new replies.