安裝了fishpig wordpress magento集成並打開示例頁面(http://www.example.com/blog/sample-page/
),除了博客主頁(http://www.example.com/blog/
)之外,它成功運行。fishpig wordpress magento integration getPostCollection返回false
我檢查了app/design/frontend/base/default/template/wordpress/post/associated.phtml中的代碼,發現代碼$this->getPostCollection()
返回false。
您是否已經解決了magento config下的錯誤,與url,path,htacces或wordpress主題有關? –