This question already has an answer here:
- Include Wordpress Core into own Scripts 3 answers
Is it possible to load only some contents outside the wordpress installation directory? I'm working on a website and I want to embed some blog contents on a static index.php
made using bootstrap4. This page is not part of the wordpress installation, so I want to understand if this is possible and how.
Try this:
Note: change the 'path-to-wordpress' to actual wp directory path.