Replies: 1 comment 3 replies
-
Sure, add jQuery(function ($) {
// Do stuff here
$('body').addClass('bg-success');
}); // jQuery End Make sure that you have cleared the cache. Solved? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear bs-Team;
Again maybe a 'silly' question. I back your pardon.
Your documentation says, that we can add our own js-function [that shall use/be based on the jQuery version bundled with WordPress] to the file js/custom.js of our bootscore child theme (https://bootscore.me/documentation/bootscore-child/#JavaScript) provided, that we insert our code into the wrapper jQuery(function ($) { });
Unfortunately, that doesn't work in my installation. Do you have some very simple hello-word by which I can verify the way in general?
Many thanks for your help ... your Karsten Reincke
Beta Was this translation helpful? Give feedback.
All reactions