Code & Tell

All posts

How I stumbled on an unexpected use case for the Shopify AJAX API

Last week, my client messaged me about a feature he wanted for his business’ online store. He’s a craftsman and he’s set up his store to feature the products he’s made, whether they happen to be in stock currently or not. However, he didn’t like how Shopify was labeling the items with no inventory as […]

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