Results 1 to 5 of 5

Thread: 336x280 Ad moved to Sidebar

  1. #1
    Thread Starter
    Senior Member ddashwood's Avatar
    Join Date
    Jul 2010
    Location
    Canada
    Posts
    146
    Thanks
    7
    Thanked 19 Times in 14 Posts

    336x280 Ad moved to Sidebar

    I noticed that the 336x280 ad space shows up at the bottom below each ad. Since it's only 336 Pixels wide, it makes more sense to have this ad in the sidebar. Here's what I did.

    Go to single-default.php and remove this:
    Code:
    			<?php
                            // show the ad block if it's been activated
                            if (get_option('cp_adcode_336x280_enable') == 'yes') {
    
                                if(function_exists('cp_single_ad_336x280')) { ?>
    
                                <div class="shadowblock_out">
    
                                    <div class="shadowblock">
    
                                      <h2 class="dotted"><?php _e('Sponsored Links','cp') ?></h2>
    
                                      <?php cp_single_ad_336x280(); ?>
    
                                    </div><!-- /shadowblock -->
    
                                </div><!-- /shadowblock_out -->
    
                            <?php
                                }
                            }
                            ?>
    Then open sidebar-ad.php and paste this:
    Code:
    <?php
                            // show the ad block if it's been activated
                            if (get_option('cp_adcode_336x280_enable') == 'yes') {
    
                                if(function_exists('cp_single_ad_336x280')) { ?>
    
                                      <?php cp_single_ad_336x280(); 
                                        }
                            } ?>
    Immediately after this:
    Code:
    <?php endif; ?>
    That's it. You will now have your ads showing at the bottom of the sidebar when viewing ads.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    39,843
    Thanks
    164
    Thanked 3,312 Times in 3,183 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Amateur sandram's Avatar
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to change location of small ad sponsor links from listing page to front page

    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Veteran ajamm's Avatar
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    309
    Thanks
    26
    Thanked 32 Times in 29 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    apnardeal's Avatar
    Join Date
    Mar 2013
    Location
    Canada
    Posts
    82
    Thanks
    20
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Welcome box/widget in sidebar
    By sddude in forum Help Using ClassiPress
    Replies: 4
    Last Post: May 7th, 2010, 02:39 PM