JS error

Closed
CityTours - Hotel & Tour Booking WordPress Theme CityTours - Hotel & Tour Booking WordPress Theme November 28, 2020
Login to reply
George Kyklomar
3 years ago

Thanks again for the response,


I will start the update and if I found any issue, I will inform you, for now I will close this ticket!


Kind Regards

Kelly R Support Agent
3 years ago

Then please check readme.txt file in the theme directory.

There is file change log.

Best regards,

George Kyklomar
3 years ago

Thank you for your response.

I have made some changes on PHP templates, on the search box, and on hotel pages.

The templates have been changed? In that case, I need to create a clone of the site, add the new version, as you suggested, and check each page and make the same changes.

My mistake here is that I didn't create a personal repo Github, and a feature branch with my changes, in order to find easier after, but I will note that for next time.

Kind Regards

Kelly R Support Agent
3 years ago

Hi,

Please download it from https://themeforest.net/downloads

And please replace the /wp-content/themes/citytours directory with the new theme via ftp or cpanel.

And your solution is correct.

Best regards,

George Kyklomar
3 years ago

Hello,

thank you, the WordPress administration has not any update to download, but I found that I have 3.2.3 and the latest version is  3.2.5, so can I download just like that, without an extra fee?

Are any instructions to update the theme manually, since WordPress doesn't give me the possibility to update the theme?


About the JS the solution, which I wrote could be solved that?


Thank you

Kelly R Support Agent
3 years ago

Hi,

Please confirm you are using latest version of CityTours theme.

You can download it from https://themeforest.net/downloads

Best regards,

George Kyklomar
3 years ago

Hello to all, seems that my message has not saved, therefore I write it again.


The issue is on the minify JS function, and here is the log of browser debugger,


Uncaught Error: Syntax error, unrecognized expression: #faq_box a[href*=#]:not([href=#])
    jQuery 7
    <anonymous> http://www.kyklomar.com/wp-content/themes/citytours/js/functions.min.js?ver=5.5.3:1
    <anonymous> http://www.kyklomar.com/wp-content/themes/citytours/js/functions.min.js?ver=5.5.3:1


I made a change in the /wp-content/themes/citytours/js/functions.js and from

$('#faq_box a[href*=#]:not([href=#])') , I changed to $('#faq_box a[href*="#"]:not([href="#"])') and my questions are if my solution is correct and if not, could please provide me one, and how can I update the minify JS version of the theme!

Thank you

Kind Regards

George Kyklomar
3 years ago

Additional Info

Your Website Url: http://www.kyklomar.com