Where do i have to put code for cimy header iamge rotator
-
Hi, I’m a beginner blogger, so that i don’t know much about customize website.
I’m trying to make my header to rotate using cimy header image rotator. But i’m not sure where should i put the code .
the code is like this :
<div id="cimy_div_id_0">Loading images...</div>
<div class="cimy_div_id_0_caption"></div>
<style type="text/css">
#cimy_div_id_0 {
float: left;
margin: 1em auto;
border: 1px solid #000000;
width: 1000px;
height: 250px;
}
div.cimy_div_id_0_caption {
position: absolute;
margin-top: 175px;
margin-left: -75px;
width: 150px;
text-align: center;
left: 50%;
padding: 5px 10px;
background: black;
color: white;
font-family: sans-serif;
border-radius: 10px;
display: none;
z-index: 2;
}
</style>
<noscript>
<div id="cimy_div_id_0_nojs">
<img id="cimy_img_id" src="http://ephathamission.org/wp-content/Cimy_Header_Images/0/IMG_2860.JPG" alt="" />
</div>
</noscript>and i’m trying to put it on header.php, and it like this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
<?php if(WP_VERSION < 3.0): ?>
<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
<?php endif; ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if (is_file(TEMPLATEPATH .'/favicon.ico')):?>
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
<?php endif; ?>
<?php wp_head(); ?>
</head>
<body <?php if(function_exists('body_class')) body_class(); ?>>
<?php
ob_start();
Please someone help me !!
-
Hi. I have bad news for you. On WordPress.com:
– you cannot add JavaScript
– you cannot edit any .php files.
The instructions you saw were for self-hosted WordPress blogs (also known as WordPress.org blogs). More info here: http://en.support.wordpress.com/com-vs-org/ -
-
You are in the wrong forum then and need to head over to http://wordpress.ORG/support/ as that is where self-hosted wordpress installations are supported. These forums are for those hosted here at wordpress.COM. We cannot edit PHP files here, so we have zero idea what to tell you to do.
- The topic ‘Where do i have to put code for cimy header iamge rotator’ is closed to new replies.