PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Problem passing basic JavaScript on Post Creation

  1. Hello,
    I created a form that allows a user to enter information which creates a published post. On the Post Template I want to include a simple JavaScript Pop Up Link to allow users to share my page with their friends on facebook.

    Its a simple window.Open Javascript. When i test the form logged into wordpress it successfully creates the script, but when i test the form logged out it does translate the Javascript, I even set the post user account to a administrator and even checked unfiltered_html but it does not work.

    you can see a sample of the JavaScript link I am trying to automatically generate in a post at the following:
    http://www.iheartlongisland.com/test.htm

    Is there a way to successfully pass this JavaScript String through the Post creation options?

    Thanks,
    Brian

    Posted 12 years ago on Monday April 2, 2012 | Permalink
  2. Instead of putting this into the post body, do you have the option of placing this outside of Gravity Forms and just part of all posts that dynamically share the link to the page they are on?

    Posted 12 years ago on Monday April 2, 2012 | Permalink