Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Javascripted excerpt of other site embedded into single page's center: Howto? (http://forum.bytesforall.com/showthread.php?t=1761)

vagabond May 23, 2009 06:37 AM

Javascripted excerpt of other site embedded into single page's center: Howto?
 
Here's to hoping the title makes sense; please bear in mind that I'm a newbie.

What I'm trying to do, is to embed a javascript generated by a different site (where I have an account of sorts) into just one of my pages. I only want this javascript and what it does on one page, not all of them.

The javascript seems sound enough, since I've been able to have it load in my sidebars using a plugin.

I hope I'm missing out on a simple solution here. Can anyone help?

Flynn May 25, 2009 07:38 PM

The Post /Page Info Items allow PHP code, but the HTML/CSS Inserts don't yet. I am adding this in the next version.

So if you want to add it somehwere above or below a post or page you could put this into the appropriate section at Post/Page Info Items

<?php if ( is_page("Page Title") ) { ?>
JAVASCRIPT HERE
<?php } ?>

Otherwise put the above code somewhere in header.php, index.php or footer.php, depends on where exactly you want to place the code.


All times are GMT -6. The time now is 08:03 PM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.