Month: February 2017
-
WordPress and REST API
The newest version of WordPress came with a REST API. It will revolutionize the ways we think about themes. You don’t have to use PHP any more. With HTML, CSS and JavaScript you can get content via Json. What is REST API? The very short version is: WordPress will return Json objects from certain endpoints.…
-
REST API (last attempt before the weekend)
Code on Github. Before the weekend I just had to try to grap content from my webpage via AJAX. The code is still a bit crude, but work it does. With a little tweak here and there it will be possible to show “New Posts” or “… more from the category X” and similar stuff.…