+ Reply to Thread
Results 1 to 6 of 6

Thread: Put ads on wordpress

  1. #1
    zhizhaqy is offline x10Hosting Member zhizhaqy is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    32

    Put ads on wordpress

    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?

  2. #2
    motogawa's Avatar
    motogawa is offline x10 Sophmore motogawa is an unknown quantity at this point
    Join Date
    Oct 2005
    Location
    Indianapolis, IN
    Posts
    153

    Re: Put ads on wordpress

    Quote Originally Posted by zhizhaqy
    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 ?
    PHP, AJAX, SQL, Javascript Programmer!
    Need help ask me!

  3. #3
    zhizhaqy is offline x10Hosting Member zhizhaqy is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    32

    Re: Put ads on wordpress

    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

    Quote Originally Posted by motogawa

    You want to put up php ads correct ?

  4. #4
    motogawa's Avatar
    motogawa is offline x10 Sophmore motogawa is an unknown quantity at this point
    Join Date
    Oct 2005
    Location
    Indianapolis, IN
    Posts
    153

    Re: Put ads on wordpress

    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

    PHP Code:
    <?
    or it can be this

    PHP Code:
    <?php
    so now then insert this code but before the <?php or <?

    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 (\"&amp;what=zone:3&amp;target=_blank\");\n";
    echo 
    "document.write (\"&amp;exclude=\" + document.phpAds_used);\n";
    echo 
    "if (document.referrer)\n";
    echo 
    "document.write (\"&amp;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&amp;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!

  5. #5
    n4tec's Avatar
    n4tec is offline Lord Of The Keys n4tec is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    GeT NOTICED via n4tec
    Posts
    1,656

    Re: Put ads on wordpress

    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..

    Code:
     
    <?php get_links_list(); ?>
    Now below that place
    Code:
     
    <li><h2><?php _e('x10 Ads'); ?></h2>
    what the above code will do it will create a header called x10 Ads.. It will be like the header called catergories..

    Now place the code provided by motogawa after the above code..
    .::: Regards, n4tec :::.


  6. #6
    Brandon Guest

    Re: Put ads on wordpress

    I recommend the footer for the X10 Advanced Ad.

+ Reply to Thread

Similar Threads

  1. ads and wordpress
    By mattyranks in forum Free Hosting
    Replies: 9
    Last Post: 11-01-2006, 09:11 AM
  2. Wordpress installation failures
    By akinet in forum Free Hosting
    Replies: 2
    Last Post: 10-09-2005, 05:05 AM
  3. Upgrade: Wordpress
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 08-18-2005, 07:53 AM
  4. UPDATE & UPGRADE: WordPress 1.5.1.3 Available — 2 days ago
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 07-01-2005, 01:46 AM
  5. Adding Ads in Wordpress
    By sh8y in forum Free Hosting
    Replies: 4
    Last Post: 06-15-2005, 02:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers