• Resolved sanpedrodeatacama

    (@sanpedrodeatacama)


    i have installed the automatic’s woocommerce booking plugin
    my issue is that the translator process the bookings calendar number but the real problem is that when the user clik a day number, the caledar break
    i don’t code… as an advanced user, y understeand sometimes what code i have to copy/paste to where
    in this case i can not figure out what jquery calls the booking calendar and then exclude it from translation
    love the plugin, easy and fast…
    with this done… i will be just perfect

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Prisna

    (@prisna)

    Greetings,

    yes, it should be possible to exclude the calendar. You should go to:

    Advanced > General > Exclude selector (jQuery)

    To exclude the whole calendar, use:

    .ui-datepicker

    To exclude the calendar’s body, use:

    .ui-datepicker-calendar

    Regards

    Thread Starter sanpedrodeatacama

    (@sanpedrodeatacama)

    Hello @prisna, thank you for your fast reply!
    Ok… i did try both and did’nt work. I’m not using chaché plugin while i’m working on the site.
    Any sugestion?

    Plugin Author Prisna

    (@prisna)

    It isn’t working because it seems the calendar is being generated after the translator is loaded, so by the time the translator wants to exclude the calendar, it can’t because it doesn’t exist.

    You can try:

    #wc-bookings-booking-form

    Alternatively, you can manually add the notranslate style class as said in the FAQ.

    Regards

    Thread Starter sanpedrodeatacama

    (@sanpedrodeatacama)

    That did the trick… thank you a lot.
    Related question: if I delay the jquery call of the translator, so it’s render after calendar, that would be a better solution in index & SEO terms? or search bots don’nt recongnize translated content?
    Any way, I mark this as solved.
    I will buy you a cofee ;)… Great work!!

    Plugin Author Prisna

    (@prisna)

    Good to know it’s working properly now.

    It’d be hard to predict if there’s any impact in rending the translator after or before the calendar. Most likely it’ll be the same. But we’re not a SEO consulting company, so you may take this comment with a grain of salt.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Jquery exclution’ is closed to new replies.