Code & Tell

All posts

How to use the WordPress REST API to inject blog posts into a separate website

If you have a WordPress site with content published, you can programmatically access your posts using the built-in REST API. This is super useful if you want to build a “Recent Blog Posts” widget, for example. WordPress makes this easy with their REST API. All it takes is some basic JavaScript skills and some patience. […]


Warning: include(javascript.php): Failed to open stream: No such file or directory in /home/dh_xkdk7z/codeandtell.blog/wp-content/themes/code-tell-custom/footer.php on line 5

Warning: include(): Failed opening 'javascript.php' for inclusion (include_path='.:') in /home/dh_xkdk7z/codeandtell.blog/wp-content/themes/code-tell-custom/footer.php on line 5