Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #9231

    Hello I need to insert this (<script language=”JavaScript” src=”” type=”text/javascript”></script>) code (scrip) that will insert a seal. I would use in a prominent place in the home. Where can I insert this kind of code.




    You can either include the code in your header.php file between the head tags – this will load the script but you’d have to call it again somewhere for it to actually show (at least for what you’re describing). Or you can put it in a post/page in HTML view.

    If you could specify which “prominent place” you’d like to use I can provide more specific instructions.




    I would like to add in a single post or page. How can I invoke the script. Carlos


    If you’d like to use it on a certain page/post you can use conditional tags:

    I’d include it in header.php before the closing head tag. The code would look like:


    if (is_single( '17' )){
    echo '<script language="JavaScript" src="" type="text/javascript"></script>';


    Replace 17 with your custom post/page id.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘User Script’ is closed to new replies.