Forums

Editing theme sidebar_featured.php - don't understand values to use (8 posts)

  1. laserbeem
    Member
    Posted 2 years ago #

    I'm brand new to WordPress and am trying to get my site set up the way I want it. I'm in Edit Template. The template I'm using is called WP_Premium 1.0 by Anonymous. There are three boxes in the sidebar for ads. Here's the code:

    <img src="<?php bloginfo('template_url'); ?>/images/thumb2.gif">
    <img src="<?php bloginfo('template_url'); ?>/images/thumb2.gif">
    <img src="<?php bloginfo('template_url'); ?>/images/thumb3.gif"></img>

    I can't figure out the values to enter to actually get an image to appear. What should it look like?

    Thanks for any help.

    David Lazear

  2. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    You need to enter the filename of an image in your wp-content/themes/images directory. That's all.

  3. laserbeem
    Member
    Posted 2 years ago #

    Thanks for your reply. I created an images folders inside of my wp-content/themes directory and I uploaded the file to it. The code now looks like this:

    <img src="<?php bloginfo('template_url'); ?>/images/8-smarts.gif">
    <img src="<?php bloginfo('template_url'); ?>/images/thumb2.gif">
    <img src="<?php bloginfo('template_url'); ?>/images/thumb3.gif"></img>

    When I click "visit" site, there's no image in teh sidebar and the three "ad boxes" are now reduced to two.

    What am I doing wrong?

    Again, thanks for any assistance you can give me?

    David

  4. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Site url?

  5. laserbeem
    Member
    Posted 2 years ago #

    http://www.small-business-mentor-training.com

    I've just started building it, so there's not much there now.

    Thanks for the help.

  6. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    The images need to be in the image directory of the current theme's folder. In other words:

    wp-content/themes/WP_Premium.zip Folder/WP_Premium.1/images

    Though I have to say that I'm a little bothered by the WP_Premium.zip Folder directory name.

  7. laserbeem
    Member
    Posted 2 years ago #

    Thanks again for your help. The image now appears on the site.

    What is it that bothers you abou the WP_Premium.zip Folder directory name? Do you feel there are problems with this theme?

  8. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    That it contains spaces and the theme is one level deeper than it really needs to be. I can see the former creating problems at some stage.

Topic Closed

This topic has been closed to new replies.

About this Topic