WordPress.org

Ready to get started?Download WordPress

Forums

Pages with same page showing differently (3 posts)

  1. BrianBam
    Member
    Posted 1 year ago #

    So I have my home page and a couple of other pages which I've added to a site. The home page is displaying just fine but for some reason the other pages that I add are missing images.

    The home page is http://connect4webdesign.com/utahlibertylaw/

    Compare it to another page

    http://connect4webdesign.com/utahlibertylaw/about-us/?preview=true&preview_id=17&preview_nonce=7eb64b5e8a

    What the crap?

  2. BrianBam
    Member
    Posted 1 year ago #

    Also I wasn't very clear but I used the same template for the about us page as I did for the home page.

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    don't use relative image paths;

    within the templates, possibly try and use (example):

    <img src="<?php exho get_stylesheet_directory_uri(); ?>/imgages/top.jpg" />

    http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri

Topic Closed

This topic has been closed to new replies.

About this Topic