• So I am new to wordpress but understand HTML and very limited amounts of other scripting. I have downloaded a theme that I liked and that allows me space to place 4 125×125 ads on the left side. The problem I have encountered is that in the theme options area it is “user-friendly” by giving you the option to paste the banner url and then banner image url. Amazons affiliate program links require you to copy the code which is in an <iframe> format, so this will not work. Also in the same options area is a field for banners under posts which WILL allow for html code. My question is, how can I change the theme to allow the 125×125 ad to simply be pasted as HTML rather than being restricted to image and address url fields. I hope this isnt too confusing. All help appreciated, thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter angryanarchist

    (@angryanarchist)

    This may help. I have found that in the controlpanel.php file it lists the area set up to allow me to input the url and image link…. the last one is the banner textarea that allows html and the first 4 do not… maybe this will help:

    array( “name” => “125 x 125 banner Settings”,
    “type” => “heading”,
    “desc” => “You can setup three 125 x 125 banners on your sidebar from here”,
    ),

    array(“name” => “Banner-1 Image”,
    “desc” => “Enter your 125 x 125 banner image url here.”,
    “id” => $shortname.”_banner1″,
    “std” => “Banner-1 image”,
    “type” => “text”),

    array(“name” => “Banner-1 Url”,
    “desc” => “Enter the banner-1 url here.”,
    “id” => $shortname.”_url1″,
    “std” => “Banner-1 url”,
    “type” => “text”),

    array(“name” => “Banner-2 Image”,
    “desc” => “Enter your 125 x 125 banner image url here.”,
    “id” => $shortname.”_banner2″,
    “std” => “Banner-2 image”,
    “type” => “text”),

    array(“name” => “Banner-2 Url”,
    “desc” => “Enter the banner-2 url here.”,
    “id” => $shortname.”_url2″,
    “std” => “Banner-2 url”,
    “type” => “text”),

    array(“name” => “Banner-3 Image”,
    “desc” => “Enter your 125 x 125 banner image url here.”,
    “id” => $shortname.”_banner3″,
    “std” => “Banner-3 image”,
    “type” => “text”),

    array(“name” => “Banner-3 Url”,
    “desc” => “Enter the banner-3 url here.”,
    “id” => $shortname.”_url3″,
    “std” => “Banner-3 url”,
    “type” => “text”),

    array(“name” => “Banner-4 Image”,
    “desc” => “Enter your 125 x 125 banner image url here.”,
    “id” => $shortname.”_banner4″,
    “std” => “Banner-4 image”,
    “type” => “text”),

    array(“name” => “Banner-4 Url”,
    “desc” => “Enter the banner-4 url here.”,
    “id” => $shortname.”_url4″,
    “std” => “Banner-4 url”,
    “type” => “text”),

    array( “name” => “Adsense Options”,
    “type” => “heading”,
    “desc” => ” Setup the adsense banners for your blog .”,
    ),

    array(“name” => “468×60 banner on the posts”,
    “desc” => “adsense 468 x 60 banner script .”,
    “id” => $shortname.”_ad2″,
    “std” => “”,
    “type” => “textarea”),

Viewing 1 replies (of 1 total)

The topic ‘Theme Prevents HTML for ads?’ is closed to new replies.