WordPress.org

Forums

[resolved] How to add Javascript code in Page (9 posts)

  1. sheikhaamirali
    Member
    Posted 1 year ago #

    Hi,
    hope you all will be fine :), i am facing problem to add java script in WordPress page,
    can anybody help me please, i need resolution as soon as possible,
    thank you so much,

    Thank you

  2. Have you tried any plugins yet?

  3. sheikhaamirali
    Member
    Posted 1 year ago #

    @Jose Castaneda
    thanks for reply,
    i have website which i want to covert into WordPress, how can i send you screen short to show you the script which i want to put on WordPress page ?
    thanks

  4. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    You don't need to send us a screenshot, have you tried some plugins for adding JavaScript into your WordPress page?
    E.g. http://wordpress.org/plugins/custom-js-css/

  5. sheikhaamirali
    Member
    Posted 1 year ago #

    @Andrew Nevins
    thank you so much for replying, but i want to show you my problem, there is java script also attached with Database like put your ZIP code and then check the availability, something like this, please advice me

    thank you

  6. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    Wasn't your question asking how to add JavaScript to a page?

  7. sheikhaamirali
    Member
    Posted 1 year ago #

    Yes my question was How to add javaScript, java script files linked in
    <head>
    </head> tag,
    but i am facing problem how to add in WordPress, and how to link java files in header ?

  8. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    If you don't want to use a plugin, do it through the Enqueue Script function: http://codex.wordpress.org/Function_Reference/wp_enqueue_script

  9. sheikhaamirali
    Member
    Posted 1 year ago #

    I think that's will work,
    thank you so much

Topic Closed

This topic has been closed to new replies.

About this Topic