Category Archives: Development

If you’re here because you want to connect your php code to an external API, please check my cURL api-calls with php tutorial first. This is part 2 of how to connect to an API using cURL in php, as I received a lot of questions on how to connect if the API requires authentication (utoken) first.

(more…)

Before you continue, please note that I have a more updated, simpler and modern solution on creating your own load more post button in WordPress with ajax!

Last week I made my first WordPress ajax load more posts call to retrieve posts from a custom post type. I made the Ajax call simply because of the fact that every time I clicked ‘next’ or ‘previous’, the page would reload and jump back to the top. With ajax, my page would not reload, and therefore stays on its original position. By writing this post I hope to retrieve a better understanding on how this works myself, as I also hope of course it could help someone else who’s giving it’s first looks at ajax and wordpress.

(more…)

I was recently working on a project where I needed to integrate an external API using HTTP cURL requests. It was my first time doing this and I had a lot of problems figuring this out. I wrote this post so I can remember my cURL API calls for next time, and maybe it can help you as well. 

(more…)