Sure you can. Your going to have to wrap that script. There are plugins for this(actually for skype), search the codex. Or you can create a new page template with the script already coded in.
EDIT
puma….you seem to be my best customer today!
EDIT 2
try this my friend
http://wp-plugins.net/index.php?PHPSESSID=0b8bf6c28e67b294e72f105e3e4367b4&filter=skype&filter_search=Go…
Thread Starter
Tee
(@pumatalk)
wow this is a tuff one to install.. i have the plug in all set up.. now im trying to figure out how i get it workin on my contact page….
Depending on witch one you are using (link please) you have to use a tag to show the button
ex. [skype]
Thread Starter
Tee
(@pumatalk)
okie dokie…
http://www.pumatalk.com/blog <— see now its in my sidebar but i only want it in my CONTACT US page…
this is the code i put in sidebar.php
<?php if (function_exists(get_skype_status)) { get_skype_status(”); } else { echo “Skype button disabled”; } ?>
so how can i do this??? for it to show only in the Contact US?
THanks,
joey
OK…Im sure this is going to lose you. Edit your page.php file to determain the page you are one. If you are on the contact page then display the button. If not, then continue with the normal page.
Give me a minute and I will post an example.
Thread Starter
Tee
(@pumatalk)
okie dokie – im here mate…
Thread Starter
Tee
(@pumatalk)
Hey William…
I also want it so that when you roll over it you can click on it and it will ring me!
Sorry it took a little longer…my router decided it was time to reset…and it took forever to reboot my file server and internet server..anyway..here ya go
<?php
global $post;
if ($post->ID==”13″) //enter you page id
{
echo “your here mate!”; //actually put your script here.
}
?>
here, I will even do it for you 😛
<?php
global $post; // your page id here
if ($post->ID==”13″)
{
echo ‘<script type=”text/javascript” src=”http://download.skype.com/share/skypebuttons/js/skypeCheck.js”></script>
<img src=”http://mystatus.skype.com/balloon/JoeyDee” style=”border: none;” width=”150″ height=”60″ alt=”My status” />’;
}
?>
Thread Starter
Tee
(@pumatalk)
so m ypage id is page_id=3
i understnad what you did but i dont know which php i need to put this in… i dont see a page.php…
try single.php …each theme is different on the way the do it.
yes your ID is 3
sorry..just checked freshy theme and its actually the index.php
Thread Starter
Tee
(@pumatalk)
Okie Dokie.. i tired single.php didnt work..
This is the code im using its good? and this is the site: http://pumatalk.com/blog/?page_id=3
<?php
global $post; // page_id=3
if ($post->ID==”13″)
{
echo ‘<script type=”text/javascript”
src=”http://download.skype.com/share/skypebuttons/js/skypeCheck.js”></script>
<img src=”http://mystatus.skype.com/balloon/JoeyDee” style=”border: none;” width=”150″
height=”60″ alt=”My status” />’;
}
?>
open up your index.php and find <?php if ($user_ID) : ?>
pste my code right about it and you should be great
or directly under the line
<div class=”post” id=”post-<?php the_ID(); ?>”>
depends on where you want it
Thread Starter
Tee
(@pumatalk)
Hey,
I just found it and pasted the code above it, you said about it so I thought it means ABOVE it… and still nothing, should I not change my ID from 13 to 3??? cuz ID 3 is my contact page…
<?php
global $post; // your page id here
if ($post->ID==”13″)
{
echo ‘<script type=”text/javascript” src=”http://download.skype.com/share/skypebuttons/js/skypeCheck.js”></script>
<img src=”http://mystatus.skype.com/balloon/JoeyDee” style=”border: none;” width=”150″ height=”60″ alt=”My status” />’;
}
?>
<?php if ($user_ID) : ?>
<h3><?php _e(‘Actions’,TEMPLATE_DOMAIN); ?></h3>
<ul class=”postmetadata”>
<li class=”with_icon”><img class=”icon” src=”<?php echo get_bloginfo(‘stylesheet_directory’) ?>/images/icons/edit-icon-16×16.gif” alt=”edit” /> <?php edit_post_link(__(‘Edit’,TEMPLATE_DOMAIN),”,”); ?>
haha, yes yes..change the id to 3…please 🙂 I thought I commented it so you knew..sorry