WordPress.org

Forums

Template images broken? (2 posts)

  1. marcweissdesign
    Member
    Posted 11 months ago #

    Hi, ive made a static page for my home page and have incuded a home.php file a css file and an images folder in the twentyten default theme.

    For some reason when i add my home.php page as my home page template the images are broken. I have tried adding a full link to the images e.g. http://localhost:8080/wp-content/themes/images/image_name.gif and not sure why it doesnt work. Just so you know i am running wordpress locally via xampp.

    <div id="slider2">
    			<ul>
    				<li><img src="Images/mediation_man_banner.gif"/></li>
    				<li><img src="Images/road_2_mediation.gif"></li>
    				<li><img src="Images/business_challenges.gif"></li>
    				<li><img src="Images/industry_changing.gif"></li>
    			</ul>

    Also i would like to eventually add jquery for the slider above, if anyone knows how i can do that that owuld be very helpful, thanks a bunch

  2. esmi
    Theme Diva & Forum Moderator
    Posted 11 months ago #

    For starters, don't edit the Twenty Ten theme. Create a child theme for your changes. Then ensure that you use full (absolute) urls for all of your images in your markup.

Reply

You must log in to post.

About this Topic