WordPress.org

Forums

javascript question (2 posts)

  1. dantodd
    Member
    Posted 9 years ago #

    I hate being such a n00b but...
    I followed the directions at:
    http://codex.wordpress.org/Using_Javascript

    And then used the HTML link on the posting form to try and insert the following script:

    <script type="text/javascript" src="http://del.icio.us/feeds/js/dantodd"></script>

    into a post. Nothing showed up on the page and when I went back to view the HTML it came up like this:

    <script type="text/javascript" />

    everything else was stripped out.

    I also tried every variation of

    <!--
    dantodd();
    //--></script>

    I could think of and none of them seem to be working. Any ideas?

    I am running WP 2.0 on a hosted environment installed by "Fantastico" script. Everything else seems to work as expected!

    thanks,
    Dan

  2. dantodd
    Member
    Posted 9 years ago #

    Thanks for not beating me over the head for not RTFM. I blindly used the search box above.

    This post helped me ALOT:
    http://wordpress.org/support/topic/60178?replies=1

    In addtion to the directions in the codex you must turn off the visual rich editor (on the bottom of your "Users --> Profile" page) and I also installed the Text Control plug-in but I am not sure if it is required.

Topic Closed

This topic has been closed to new replies.

About this Topic