I have a problem with the javaScript code that I put in the cornerstone, someone could tell me, which file inserts the javaScript code lines on the web and its route within the theme, thank you very much!
Hi There,
Thanks for writing in! Are referring to custom Javascript that you have added to your cornerstone’s custom JS section or did you add any javascript code directly to the page?
Basically if you want to add Javascript code into your page, you can use the Raw Content element in Cornerstone to place your code.
If you want to add a JS code into your custom Javascript area, you need to exclude <script> </script> tags from your script and also if you’re using jQuery code, you can use the keyword jQuery instead of $ sign.
Thanks!
My idea is to delete the javaScript code written by me but in the file, since I can not access the js panel of the cornestone, due to a problem in my code js, thanks for the help.
Hi There,
In that case, you can search wp_postmeta table using PHPMyAdmin. meta_key value should be _cornerstone_settings.
Hope that helps.
My most sincere thanks, problem solved.
You’re welcome. Glad we could help.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.