Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Target Simple Javascript to a Single Page/Post

Old Aug 29, 2013, 12:49 PM
33 posts · Oct 2009

I know how to target CSS inserts to specific pages or posts, but would like to be able to add a Javascript custom calculator (body-only code) to a single page and I am not sure how to do that. I know where in HTML inserts to put body-only script code, but not how to target the code to a specific page. Can this be done?

Or is there another way? I thought about having it in a widget and covering that one page with a sidebar, but I don't know how to target a sidebar to just one page, either.

Thanks in advance for any help.

Old Aug 30, 2013, 09:16 AM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
I just did a quick search on wordpress.org and came up with this plugin. Searching on wordpress.org is one of the first places I go to find solutions.

This plugin will only let you put the code in the sidebar but there are other plugins that let you put widgets on pages and I think I have seen plugin that let you put javascript on a page.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Aug 30, 2013 at 09:21 AM.
Old Sep 1, 2013, 11:00 PM
33 posts · Oct 2009
Now if only there was a way to target the sidebar to just one single page...
Old Sep 2, 2013, 12:52 AM
juggledad's Avatar
23,737 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
'widget logic'


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Post container style different for Home Page than single post page maurixx Center area post/pages 13 Jul 23, 2010 04:14 PM
Permalink in single post and single page anup Center area post/pages 0 Jul 15, 2010 10:46 AM
[SOLVED] Adding 'signature' (image) under each post, but only on single-post page AnneTanne Atahualpa 3 Wordpress theme 4 Aug 24, 2009 12:47 PM
Archive page shows post box help, and single post on front page help boberang Atahualpa 3 Wordpress theme 0 Aug 7, 2009 10:26 AM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 03:58 PM

All times are GMT -6. The time now is 10:44 AM.

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