Jump to content



Photo

Website not updating, showing old content

html update cache wordpress

  • Please log in to reply
2 replies to this topic

#1 kman1985

kman1985

    Neowinian

  • Joined: 30-April 02

Posted 20 February 2013 - 19:36

So i have a wordpress site on my wamp web server. But it won't update. I even deleted the whole div and it still shows up. I thought it might be browser cache so I used a different browser, and it still shows old content. I reset the wamp server, reset my pc and still it shows the old content. If someone could help me out, it would be great. Thanks

Old Code:
   	 <div id="side-download">
			<a href="#"><img src="/mfjc/images/download.png" width="77" height="23" alt="Download"></a>
			<br /><p>Download the latest Bulletin</p>
		</div>


Updated to:
   	 <div id="side-download">
			<a href="#"><img src="<?php bloginfo('template_directory'); ?>/images/download.png" width="77" height="23" alt="Download"></a>
			<br /><p>Download the latest Bulletin</p>
		</div>



#2 billyea

billyea

    Your Two Cents

  • Joined: 15-July 06
  • Location: Noitacol

Posted 20 February 2013 - 19:40

Could you get it to print what bloginfo('template_directory'); is?

#3 OP kman1985

kman1985

    Neowinian

  • Joined: 30-April 02

Posted 21 February 2013 - 18:56

Stupid mistake was editing wrong sidebar PHP file