I want to show the wordpress posts on the magento2 page . SO I have enabled the fishpig wordpress integration extension .
And call/added the block code in the magento page content. {{block class="FishPig\WordPress\Block\Post\ListPost" name="wp.post.list" template="post/list.phtml"}}
So it gives the setConnection() exception errors
Points : I have used the different databases for word press and magneto.
How to integrate fish pig code get the posts from the word press database ?
Is i need to add the word press database in the any magneto 2 file ?
Please help me how to possible that ?
How Can i show the post detail page on click READ More button of the posts on the magento site ?
Now it is redirect to wordpress site (post detail page ) .
My Site installation directory is /news .
Site URL is : www.example.com/news
Home URL is : www.example.com/latest-news
Magento wordpress configuration showing this error
Your home URL (https://www.example.com/latest-news) is invalid. This URL (www.example.com/latest-news) showing the list of posts but issue is post detail page redirect to 404 page .