WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND (post_status IN ( ‘publish’ )) ORDER BY post_date DESC LIMIT 5′ at line 1] SELECT ID, post_title, post_content FROM wp_posts WHERE AND (post_status IN ( ‘publish’ )) ORDER BY post_date DESC LIMIT 5
這是什麼 plug in 啊?
@tanjun – Landing sites
好高段啊!
增加與使用者的互動性
蠻像科技電影的場景(一走進店裡就根據你的購物習慣開始推薦)
@ goston 好東西! 謝謝~
@goston
剛剛看到你的blog就動手裝在我的站上,但是發現一個問題。
搜尋出來的結果會一直重複在首頁,首頁有幾篇文章就出現幾次,不知道你說的bug是不是這樣。
@xzonisy
不是耶…
不過, 建議你把它加在單篇文章…
我已經把他加入單篇文章了,不過既然都已經在單篇文章,那他跟 RELATED POST 有啥不一樣?
我覺得好像是類似的東西
@xzonisy
他是利用使用者在搜尋引擎下的查詢條件搜尋你站上的文章… 若不是從搜尋引擎進入的, 就看不到那個區塊了…
當然, 如果你站上本來就有相關文章功能, 那麼或許會覺得好像差不多…
我如果從Google Reader點你的文章進來的話,會有下列的錯誤訊息:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND (post_status IN ( ‘publish’ )) ORDER BY post_date DESC LIMIT 5′ at line 1]
SELECT ID, post_title, post_content FROM wp_posts WHERE AND (post_status IN ( ‘publish’ )) ORDER BY post_date DESC LIMIT 5
@MilchFlasche
沒意外的話, 我剛剛已經修正了…