Inserting of ads help.

Status
Not open for further replies.

nanat

New Member
Messages
53
Reaction score
0
Points
0
I need help in inserting the ad on my page. Well, actually I have already inserted the ad script on my page but i can't see the ad when i reloaded the page? does anyone have a screenshot of what the ad should look like when it's already posted?I'm using wordpress for my site and i have already inserted the script on the footer area of the theme that i am using. But as i said, when i reloaded the site it shows nothing.

Need help on this. I really like the services offered on this host and i don't want for my site to be suspended..
 

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
First question would have to be "Do you have an Ad-Blocker enabled on your computer?"
This is usually the case in a lot of people that can't see ads on their site.
 

nanat

New Member
Messages
53
Reaction score
0
Points
0
Yes, i do have an ad-blocker on my computer but i have already disabled it before reloading the site. No ad still.

and i also have cleared the cache already after putting the code in the footer.
 
Last edited:

lambada

New Member
Messages
2,444
Reaction score
0
Points
0
The source i see is
Code:
<body>
<script type="text/javascript" src="http://x10hosting.com/adserve.js?nanat"></script>
<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</div>
		</div>
So try
Code:
<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>
Theres probably something in the CSS that stops text being shown outside of a div.
 

nanat

New Member
Messages
53
Reaction score
0
Points
0
did what you told me to do but still no ad. even tried it on the default theme of wordpress.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
For the ad code, can you try
Code:
adserve.js?corporate
instead of
Code:
adserve.js?nanat
 

nanat

New Member
Messages
53
Reaction score
0
Points
0
For the ad code, can you try
Code:
adserve.js?corporate
instead of
Code:
adserve.js?nanat

tried it..still did not work..:dunno:
Edit:
i'm using the default theme of wordpress to try to see if the theme that i was using had something to do with it. as lambada said that there might be something in the CSS that does not allow texts to show outside of a div. i really dont know what to do with this..
 
Last edited:

shifeng

New Member
Messages
13
Reaction score
0
Points
0
I've tried to insert the code to. But it doesn't work. Somehow after I inserted the code, the alignment of my nav bar went off because the entire page got pushed down.

Could someone help me with this too? I've removed the script for now. But I'd really want to know where to insert the script code so that my account doesn't get suspended. I'm doing my website on dreamweaver.

I'd really appreciate it if someone could give me some guidance because I don't know html at all. Thanks lots!

http://shifeng.exofire.net
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
I put the code on your index page. Look how I did it so you can change it around to how you want.

-Corey
 

nunoabc

New Member
Messages
151
Reaction score
0
Points
0
can you send me the code exactly the same as you put it. don't change anything. i know how to put right

e-mail: nunoabc@netcabo.pt

i'd be appreciated if you send it
 

mr kennedy

Member
Messages
524
Reaction score
1
Points
18
who are you referring to? me or shifeng?

I don't think so, I think he was referring to Corey...

and are you from the Phils ? cause I noticed there was some Tagalog words on the code lambada posted...
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
Sorry nanat, I was referring to the other poster.

Have you followed the instructions in the ad placing tutorial for word press?
 

nanat

New Member
Messages
53
Reaction score
0
Points
0
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.

PHP:
<!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() ) { ?> &raquo; 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>

that was suggested by lambada when the one on the "inserting of ads" tutorial did not work. is there something wrong in the code?
Edit:
I don't think so, I think he was referring to Corey...

and are you from the Phils ? cause I noticed there was some Tagalog words on the code lambada posted...

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:
<!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:

shifeng

New Member
Messages
13
Reaction score
0
Points
0
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?
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
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
 

enixidfrag

New Member
Messages
26
Reaction score
0
Points
0
Here try this

Code:
<h1 align="center"><font size="7">Please bare with us</font></h1>
<div align="center">&nbsp;</div>
<h2 align="center">We are under construction</h2>
<h1>&nbsp;</h1>
<div align="center"><script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script></div>

i know for a FACT that one works :D
 

nanat

New Member
Messages
53
Reaction score
0
Points
0
here is the code of header.php of the theme that i am using

PHP:
<!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() ) { ?> &raquo; 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>

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:
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:
Status
Not open for further replies.
Top