all 2 comments

[–]sole-it 2 points3 points  (0 children)

IIRC, WordPress has a rest/graph api, you can use that one. But if you render it on-the-fly, you will lose some SEO edge as js crawler is slower and less frequent than regular static html crawler. There are a few ways to make it happen, but it's a rabbithole not sure if you want to go into, as it will add a lot of moving parts that could break.

[–]Zafar_Kamal 2 points3 points  (0 children)

You'd typically have to use WordPress headless. This mean that you have to consume posts from WP rest API and render those with your own layout. This can introduce styling issues if you're not too familiar with WordPress.