I seacrhed a lot of tutorial to put x10hosing ads in wordpress but i didn't find it.
can anyone help me to resolve my problem?
You want to put up php ads correct ?Originally Posted by zhizhaqy
PHP, AJAX, SQL, Javascript Programmer!
Need help ask me!
yes
in advance plan i have to put text link in my web. i have put a link but only x10hosting.com with link back
we have to put link back to x10hosting in every pages . so i try to put in header or at footer i have try to put this but nothing happens.
please help me
sorry my english bad
Originally Posted by motogawa
x10 requires all ads to be placed at the top of the page so if you go into header.php or theme.php find this
or it can be thisPHP Code:<?
so now then insert this code but before the <?php or <?PHP Code:<?php
PHP Code:<?
echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&what=zone:3&target=_blank\");\n";
echo "document.write (\"&exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&n=a915c788' border='0' alt=''></a></noscript>\n";
echo "\n";
echo "\n";
?>
Last edited by motogawa; 10-02-2005 at 08:33 PM.
PHP, AJAX, SQL, Javascript Programmer!
Need help ask me!
with x10 advanced the ads can be anywhere on the site. Use the code provided by motogawa and place it in a file called sidebar.php..
here is what you should do..
in that file find..
Now below that placeCode:<?php get_links_list(); ?>
what the above code will do it will create a header called x10 Ads.. It will be like the header called catergories..Code:<li><h2><?php _e('x10 Ads'); ?></h2>
Now place the code provided by motogawa after the above code..
.::: Regards, n4tec :::.
I recommend the footer for the X10 Advanced Ad.