Project Detail

Javascript in Wordpress "Pages"  

Javascript in Wordpress "Pages" is project number 430520
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: TakeReal

Budget: $30-250

Created: 05/06/2009 at 14:01 EDT

Bid Count: 1

Average Bid:
$ 30

05/11/2009 at 14:01 EDT

Project Creator: basslion
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (5 reviews)

Bid On This Project
 

Description

This pertains to Wordpress Version 2.7

Ok i have a specific javascript code which when placed on a certain spot on a page, will fetch data from a server and display information right there in on that exact spot. I know how to get this done in "Posts" by adding the following in the editor

<script type="text/javascript" src="http://www.domainname.com/wordpress/subcats.js"></script>
<script language="javascript">
var bid= 3179;
var site =0;
document.write('<script language="javascript" src="http://domainname.com/?bid='+bid+'&sitenumber='+site+'&tid=event_names&pcatid=2&ccatid=-1&gcatid=-1&grpby=none&title=Concert%20Events&showcats=true" >');
</script>

This will display the information perfectly right where i want it in a Post.

How do i do this for a "Page"? It seems Wordpress is stripping the Javascript when the page is called for viewing. It however remains in the editor view at all times. For "Post" pages it does not strip the javascript if i use the above code, but using the above code for "Pages", it gets stripped out.

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

30

1 day

05-06-2009 14:53 EDT

I will find this code: "Wordpress is stripping the Javascript when the page is called for viewing". And comment it out or don't run it for pages (like it doesn't run for posts). I need FTP access.

help


    Bid on this Project