Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1281850
    jtbtu
    Participant

    Hello,

    I need to add a script to a single page (built w/ cornerstone).

    I know generally js can be added to page’s custom js without script tags, but I’m not sure the script tags can be removed in this instance.

    Script in question included in the following private reply. Please advise, it’s urgent as it is one of the final pieces to launch.

    #1281853
    jtbtu
    Participant
    This reply has been marked as private.
    #1281901
    Rupok
    Member

    Hi there,

    Thanks for writing in! You should have Child Theme in order to place such code within specific page as you need to place code within Child Theme’s functions.php. You can follow this .

    Cheers!

    #1281912
    jtbtu
    Participant

    in the meantime, can I include it at the bottom of the page as raw content?

    #1281946
    Rupok
    Member

    Hi there,

    External script might not be loaded in RAW Content but you can try.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1281850 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>