Tagged: x
-
AuthorPosts
-
January 14, 2017 at 2:47 pm #1330124
RaviParticipantHello dear X-ers!
I need your help to integrate a javascript from my ticketing service:
<script src=”https://userjllj.com/……..” type=”text/javascript”></script>How can I put this into a section/row/column?
Is it also possible to create a shortcode out of it?I am on the newest version and I am working with a wordpress network.
January 14, 2017 at 11:50 pm #1330506
ChristopherModeratorHi there,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Please add following code in child theme’s functions.php file :
function script_for_ticketing_service() { <!--Add Your Javascript Below this line--> <!--Do not modify anything below this line--> } add_action('wp_footer','script_for_ticketing_service');Hope it helps.
January 22, 2017 at 5:22 am #1340339
RaviParticipantIt doesn’t work. It stops the function of my whole site.
January 22, 2017 at 5:23 am #1340341
ThaiModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
β Link to your site
β WordPress Admin username / password
β FTP credentialsDonβt forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
January 22, 2017 at 5:45 am #1340348
RaviParticipantNow everything is fine π
January 22, 2017 at 6:08 am #1340360
ChristopherModeratorHi there,
You don’t have child theme yet, where did you add the code?
Please note that the code should be added in child theme’s functions.php file.Thanks.
January 22, 2017 at 7:54 am #1340413
RaviParticipantI deleted everything I added and recopied the key and added it to the text element.
I think it has something to do with an additional linebreak.
Now it works.Thank you!
January 22, 2017 at 7:58 am #1340418
ThaiModeratorGlad it worked π
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1330124 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
