Tagged: x
-
AuthorPosts
-
January 17, 2017 at 2:07 pm #1333999
JfantasyBooksParticipantHello,
Details:
Name: JFantasyBooks
Site: Fantasy-Books
Site Url: https://fantasy-books.live
WordPress Version: 4.7.1
X Version: 4.6.4
Cornerstone Plugin Version: 1.33Problem:
I am trying to use Data Tables, a plugin directory for JQuery. I have used this table before, and currently use it for my other site Fantasy-Updates that also uses the X-theme.
Problem here is, for some reason, no matter what I do, the Javascript won’t work, and I jut get a normal looking table.
1. I tested for Plugin conflicts. Disabled all the plugins and purged the cache. Nothing worked.
2. I tested if there was something in my css files or Javascript files from the customizer by deleting them all, it did not work.
3. I switched form the child theme back to the main x theme, and that did not solve the issue.
4. I even deleted everything in my functions.php file, and tried to see if that would work. It did not.It is important that I get this right. Can you help me?
Here is the test page with the table => https://fantasy-books.live/test/
January 17, 2017 at 8:48 pm #1334459
FriechModeratorHi There,
Thanks for writing in! It sounds like you might be having an issue with a third party script. Regretfully, we cannot provide support for third party scripts due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Though I am seeing this error on that page. Try wrapping your script with this function.
jQuery(document).ready(function($){ /*YOUR SCRIPT HERE*/ });Thanks
January 18, 2017 at 3:32 pm #1335685
JfantasyBooksParticipantThanks for replying.
It’s fine, I figured out how to do it. It seems the usual way of putting it can have conflicts. So, I used this format:
( function($) { [Enter Code] } ) ( jQuery );and it seems to generally work for everything.
January 18, 2017 at 6:15 pm #1335872
NicoModeratorHappy to hear that.
Thank you so much for sharing.
Feel free to ask us again.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1333999 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
