{"id":204,"date":"2009-11-22T16:06:51","date_gmt":"2009-11-22T21:06:51","guid":{"rendered":"http:\/\/wp-davinci.solostreamsites.com\/?p=204"},"modified":"2009-11-22T16:06:51","modified_gmt":"2009-11-22T21:06:51","slug":"how-to-add-125x125-banner-ads-to-your-sidebar","status":"publish","type":"post","link":"https:\/\/demo.solostream.com\/wp-prosper\/2009\/11\/22\/how-to-add-125x125-banner-ads-to-your-sidebar\/","title":{"rendered":"How to Add 125\u00d7125 Banner Ads to Your Sidebar"},"content":{"rendered":"<p>Many people like to display 125&#215;125 banner ads in their sidebar. In this tutorial, I&#8217;ll show you how to add them to your own site.<\/p>\n<p><!--more--><\/p>\n<h3>Step 1 &#8211; Upload a Generic 125&#215;125 Banner<\/h3>\n<p><a href=\"http:\/\/demo.solostream.com\/wp-prosper\/wp-content\/uploads\/sites\/11\/2010\/11\/banner125.gif\"><img decoding=\"async\" src=\"http:\/\/demo.solostream.com\/wp-prosper\/wp-content\/uploads\/sites\/11\/2010\/11\/banner125.gif\" alt=\"\" title=\"banner125\" width=\"125\" height=\"125\" class=\"alignright size-full wp-image-205\" \/><\/a><\/p>\n<p>The image to the right is already located in the \/images folder found in your theme folder, so you can use that if you like. The file name is banner125.gif.<\/p>\n<p>Alternatively, you can use your own generic 125&#215;125 banner; just be sure to name it banner125.gif and upload it to the \/images\/ folder within your theme folder (or change the file name used below to reflect the name of your own file).<\/p>\n<h3>Step 2 &#8211; Create a New Text Widget in Your Sidebar or Footer for the Banner Ads<\/h3>\n<p>Add a new text widget to your sidebar or footer, give it a title if you like. Then copy and paste the following code into the widget box:<\/p>\n<p><code><\/p>\n<div class=\"banner125 clearfix\"><\/code><\/p>\n<p><code>\t<\/p>\n<div class=\"ad left\">\n\t\t<a href='http:\/\/www.link1.com'><img src='http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-dev\/images\/banner125.gif' alt='banner ad' \/><\/a>\n\t<\/div>\n<p><\/code><\/p>\n<p><code>\t<\/p>\n<div class=\"ad right\">\n\t\t<a href='http:\/\/www.link2.com'><img src='http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-dev\/images\/banner125.gif' alt='banner ad' \/><\/a>\n\t<\/div>\n<p><\/code><\/p>\n<p><code>\t<\/p>\n<div class=\"ad left\">\n\t\t<a href='http:\/\/www.link3.com'><img src='http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-dev\/images\/banner125.gif' alt='banner ad' \/><\/a>\n\t<\/div>\n<p><\/code><\/p>\n<p><code>\t<\/p>\n<div class=\"ad right\">\n\t\t<a href='http:\/\/www.link4.com'><img src='http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-dev\/images\/banner125.gif' alt='banner ad' \/><\/a>\n\t<\/div>\n<p><\/code><\/p>\n<p><code><\/div>\n<p><\/code><\/p>\n<p><strong>Note 1<\/strong>: In the above code, you&#8217;ll need to <strong>change mysite.com<\/strong> to your own site domain name.<\/p>\n<p><strong>Note 2<\/strong>: In the img src code above, you may need to change the \/wp-davinci-dev\/ part to reflect the actual name of your theme folder.<\/p>\n<p><strong>For WP-Davinci Basic version, the img src would be:<\/strong><br \/>\n<code><img decoding=\"async\" src=\"http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-basic\/images\/banner125.gif\" alt=\"banner ad\" \/><\/code><\/p>\n<p><strong>For WP-Davinci Premium version, the img src would be:<\/strong><br \/>\n<code><img decoding=\"async\" src=\"http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-prem\/images\/banner125.gif\" alt=\"banner ad\" \/><\/code><\/p>\n<p><strong>For WP-Davinci Developer version, the img src would be:<\/strong><br \/>\n<code><img decoding=\"async\" src=\"http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-dev\/images\/banner125.gif\" alt=\"banner ad\" \/><\/code><\/p>\n<h3>Step 3 &#8211; Replace the Generic Banners and Links With Real Ads<\/h3>\n<p>All you need to do is upload your own 125&#215;125 banner image(s) to the \/images folder, and change the code above to reflect that.<\/p>\n<p>For example, if you upload a new banner called <strong>ad125.gif<\/strong>, and you want to link that banner to <strong>www.solostream.com<\/strong>, you would simply change the code to this:<\/p>\n<p><code><\/p>\n<div class=\"ad\"><a href=\"http:\/\/www.solostream.com\"><img decoding=\"async\" src=\"http:\/\/www.mysite.com\/wp-content\/themes\/wp-davinci-basic\/images\/ad125.gif\" alt=\"banner ad\" \/><\/a><\/div>\n<p><\/code><\/p>\n<p>And that&#8217;s it. The Stylesheet is already set up to display the ads correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many people like to display 125&#215;125 banner ads in their sidebar. In this tutorial, I&#8217;ll show you how to add them to your own site.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":0,"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"wp:attachment":[{"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-prosper\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}