Sorry nanat, I was referring to the other poster.
Have you followed the instructions in the ad placing tutorial for word press?
yes. i have. i've tried it on multiple themes of wordpress to see if the theme had something to do with it. but still did not work. what could be the problem with this?
Edit:
here's the code from the header.php file of the theme that i am using.
that was suggested by lambada when the one on the "inserting of ads" tutorial did not work. is there something wrong in the code?PHP Code:<!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">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php
bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body>
<div class="cnt">
<div class="header">
<div class="head1">
<h1><a href="http://sekc.pcriot.com/">Seksyon C Tambayan</a></h1>
<div class="description">MSH College BSN Batch 2006<br /><script type="text/javascript" src="http://x10hosting.com/adserve.js?nanat"></script></div>
</div>
<div class="head2">
<h3>About</h3>
<p>Proin accumsan urna in mi. Aenean elementum egestas tortor. Donec neque magna, auctor a, dapibus
sit amet, facilisis sit amet, ligula..</p>
</div>
</div>
Edit:
yes. mr kennedy.. i am from the Phils. were there really tagalog words in my post?i hadn't noticed..scratch that..now i see the tagalog word in the post.. Tambayan, right?hehehe
Edit:
UPDATE:
Is there something wrong with the corporate ad code? I tried it in a very basic html page, but the ad is still not displaying..
here is the html code that i made to see if the ad displays
HTML Code:<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } --> </style> </head> <body> <div align="center"> <script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script> <h1 class="style1">This Site is still under construction </h1> </div> </body> </html>
Last edited by nanat; 09-07-2007 at 05:24 AM. Reason: Automerged Doublepost
thank u very much corey. but how do i put it on top of my banner and yet not affect the alignment of my nav?
Nanat -- Please place the code and post a link to the page, I have a feeling it is actually there but you are not seeing it. Some of the advertisers we use block the ads from being seen from other countries.
Shifeng -- I think you might have to play around with it a bit to get it to look exactly the way you want. An HTML tutorial regarding tables might help you out
-Corey
Here try this
i know for a FACT that one works :DCode:<h1 align="center"><font size="7">Please bare with us</font></h1> <div align="center"> </div> <h2 align="center">We are under construction</h2> <h1> </h1> <div align="center"><script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script></div>
here is the code of header.php of the theme that i am using
my site url is http://sekc.pcriot.com. Is there something wrong in my header code? I really would appreciate any help that i can get. I don't want my site to be suspended just because of an error that i made when inserting the code..:happysad:PHP Code:<!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">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body>
<div class="cnt">
<div class="header">
<div class="head1">
<h1><a href="http://sekc.pcriot.com/">Seksyon C Tambayan</a></h1>
<div class="description">MSH College BSN Batch 2006<br/> <script type="text/javascript"src="http://x10hosting.com/adserve.js?nanat"> </script>
</div>
</div>
<div class="head2">
<h3>About</h3>
<p>Proin accumsan urna in mi. Aenean elementum egestas tortor. Donec neque magna, auctor a, dapibus sit amet, facilisis sit amet, ligula..</p>
</div>
</div>
Edit:
Well, i'm really surprised!! Just before posting the code above, I didn't see the ad on my page. But afterwards(actually only just about 3 minutes after refreshing my site) i now can see the ad. so i think this thread could now be closed because my problem has been solved. thanks for the help admins. though i really dont know what you did.hehehe
Last edited by nanat; 09-09-2007 at 03:45 AM. Reason: Automerged Doublepost