WordPress.org

Forums

How to add Javascript, HTML, and CSS all to one specific page (3 posts)

  1. grizzly_david
    Member
    Posted 1 year ago #

    Hey guys,
    I'm a noob when it comes to adding javascript to WordPress.
    I'd like to add it to one single specific page.
    This is the code I'm using: http://jsfiddle.net/8mPqQ/
    I tried inserting it right into the HTML text editor on the page I'm trying to update, but it doesn't seem to work.
    Any ideas?
    Thanks.

  2. roiabrazaldo
    Member
    Posted 1 year ago #

    is it a page? or a post?
    if it is a page, make an specific page.php file for that page
    like page-mypagepostname.php

    then insert that java on that.
    thats what I'm thinking but i guess theres also a solution usign functions.php but that i do not know how.

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    Have you reviewed Using_Javascript?

Topic Closed

This topic has been closed to new replies.

About this Topic