Fishpig magento2 与 wordpress 集成
Fishpig magento2 Integration with wordpress
我想在 magento2 页面上显示 wordpress posts。所以我启用了 fishpig wordpress 集成扩展。
和call/added magento 页面内容中的块代码。
{{块class="FishPig\WordPress\Block\Post\ListPost"名称="wp.post.list"模板="post/list.phtml"}}
所以它给出了 setConnection() 异常错误
积分:
我已经为 word press 和 magneto 使用了不同的数据库。
如何整合fish pig代码从word press数据库获取posts?
是否需要在任何 magneto 2 文件中添加 word press 数据库?
请帮我看看怎么可能?
enter image description here
如何在单击 magento 站点上 post 的“阅读更多”按钮时显示 post 详细信息页面?
现在重定向到 wordpress 站点(post 详细信息页面)。
我的站点安装目录是 /news 。
站点 URL 是:www.example.com/news
主页 URL 是:www.example.com/latest-news
显示此错误的 Magento wordpress 配置
您的家 URL (https://www.example.com/latest-news) 无效。
此 URL (www.example.com/latest-news) 显示 post 的列表,但问题是 post 详细页面重定向到 404 页面。
您需要将扩展程序升级到最新版本,因为此错误现已修复。
我想在 magento2 页面上显示 wordpress posts。所以我启用了 fishpig wordpress 集成扩展。
和call/added magento 页面内容中的块代码。 {{块class="FishPig\WordPress\Block\Post\ListPost"名称="wp.post.list"模板="post/list.phtml"}}
所以它给出了 setConnection() 异常错误
积分: 我已经为 word press 和 magneto 使用了不同的数据库。
如何整合fish pig代码从word press数据库获取posts?
是否需要在任何 magneto 2 文件中添加 word press 数据库?
请帮我看看怎么可能?
enter image description here
如何在单击 magento 站点上 post 的“阅读更多”按钮时显示 post 详细信息页面?
现在重定向到 wordpress 站点(post 详细信息页面)。
我的站点安装目录是 /news 。
站点 URL 是:www.example.com/news
主页 URL 是:www.example.com/latest-news
显示此错误的 Magento wordpress 配置
您的家 URL (https://www.example.com/latest-news) 无效。 此 URL (www.example.com/latest-news) 显示 post 的列表,但问题是 post 详细页面重定向到 404 页面。
您需要将扩展程序升级到最新版本,因为此错误现已修复。