沒做偽靜態之前,圖片調用5 {8 Z+ l$ K/ o. v8 M. l4 ]
5 _& {5 r3 |9 d6 m( c* d
<img src="wp-content/themes/moban1/images/logo.png" alt="Logo">; d3 Y1 _7 A9 a+ X- J3 B
, u3 p# f: m% w6 z! K6 P
圖片的路徑為xx.com/wp-content/themes/moban1/images/logo.png
- P! w! V. \( `- f- \) R, r
0 C7 Z" l/ y( z% C/ L但是偽靜態後內頁圖片的調用路徑xx.com/2014-comparision-chart/wp-content/themes/moban1/images/logo.png 所以就圖片無法顯示了
7 [4 b8 ?& K5 N G. R; W6 l# T E
4 m4 h9 s- T* Q; O想問問這個這麼解決呢?不知道怎麼在路徑上加上postname的變量?
" |6 O9 w" @3 l0 Y+ ^+ B1 @" {: c! T3 l6 ^- E$ c
還請大大幫忙,感謝先!' W' c6 R- N- v* i- I
3 N% G( A: v6 H8 I* v! ~ ^
3 q( A4 M7 n Z4 r4 x8 y |