2014-10-01 57 views
0

今天早上在工作中發生了一些有趣的事情。我們沒有Wordpress網站的備份,用戶更新了主題。我們正在使用Atahualpa 3.7.12並升級到3.7.14。更新後不久,圖像丟失並開始顯示一些默認值。指定圖像的相對位置

我的圖片有這種形式

http://<website>/wp-content/uploads/2013/06/Tractor.png 
http://<website>/wp-content/uploads/2012/05/home-header.png 

,但是當我看到在調試器中我看到它指向

http://<website>/wp-content/themes/atahualpa/images/2013/06/Tractor.png 

我與WordPress的沒有經驗,並試圖恢復圖像。我在看

Atahualpa Theme Options -> Image Location -> Relative location of images which has the Default. 

我把它改成如下:

Relative location of images? wp-content (which is the only other option in the dropdown) 
Images Directory to uploads but the image is still not showing up. 

是否有人可以幫忙嗎?

回答

0

要嘗試的一件事是重新固定永久鏈接。轉到設置>>永久鏈接並點擊保存。有時保留這些幫助。這裏沒有保證的解決方案,但值得一試。

或者,在使用Atahulpa主題選項中的設置進行播放後,您應該將您的網站轉到缺少主題的網頁之一。使用谷歌瀏覽器,右鍵單擊圖像,然後點擊檢查元素。這將顯示正試圖指向的路徑的HTML。然後,您可以查看主題選項中的設置是否讓您獲得任何地方。

+0

感謝Chrome調試器提示。這幫助我更進一步。 – Aqua267 2014-10-13 15:43:20