Forums

I am not sure how to use these empty boxes on my theme (7 posts)

  1. sloth
    Member
    Posted 2 years ago #

    I like this theme but I don't know how to put anything in the empty boxes? I am new just building my page. I would love any advise on the empty boxes

    Thank you

    Kasey

    http://prettypenniless.com/

  2. ClaytonJames
    Member
    Posted 2 years ago #

    Those three boxes are for advertising images (125 x125). If you follow this path, /wp-content/themes/ShopaholicsHeart/images/125x125.gif, this is where the three images will need to be placed in order to show. You should name the images different names, and change the link references to reflect the individual image names. You can change that information by editing the "advertisement.php" file in the theme directory.

    It will look like this;

    <a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/images/125x125.gif" alt="ads" width="125" height="125" /></a>
    <a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/images/125x125.gif" alt="ads" width="125" height="125" /></a>
    <a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/images/125x125.gif" alt="ads" width="125" height="125" /></a>
  3. sloth
    Member
    Posted 2 years ago #

    Thank you I realized I should have put this in another category thanks

  4. sloth
    Member
    Posted 2 years ago #

    Clayton do you know if I can get rid of them?

  5. ClaytonJames
    Member
    Posted 2 years ago #

    By the way, if you want to make the images "click-able" links, you must replace a href="#", with the destination URI you want them to point to. For example, if you want to make the first image point to mysite.com, you would change the reference to;

    a href="www.mysite.com"

    You would do that for each image.

  6. ClaytonJames
    Member
    Posted 2 years ago #

    Clayton do you know if I can get rid of them?

    My gut tells me you could try deleting only this from header.php.

    <div class="ads"><h1>Best offer of the month</h1>
    <?php advertisement(); ?>
    </div>

    But it could have repercussions on the layout. Make a backup first of you are going to try it.

  7. sloth
    Member
    Posted 2 years ago #

    Thanks you are such a big help I wish you were here :) Thank you so very much!

Topic Closed

This topic has been closed to new replies.

About this Topic