Trouble displaying post content with this plugin
-
Hello,
I am currently trying to get this plugin to function, and I can successfully access the posts on the WP site I’m trying to pull from, using a REST browser plugin. I am confused about how I get the posts to actually show up on another site though. I’ve used a shortcode, and it only ends up displaying a 1px box with a link that says Source: https://www.URL.com/wp-json/wp/v2/posts, but no content. If I go to that link, I can see all the code for posts.
My ultimate goal is to load blog posts from two external sites among the blog posts of one site (ex: site B and C blog posts display interspersed among site A’s blog posts on Site A). I am assuming this will involve modifying the get_posts code in my theme, and replacing it with code that pulls posts from site A, B, and C, which all have the Rest API enabled, and use the existing masonry grid post display code to display it. Just really confused about how to get there. If you have any advice on any of these questions, they’d be most appreciated.
- The topic ‘Trouble displaying post content with this plugin’ is closed to new replies.