Moe Tucker played drums in the Velvet Underground. Pale Blue Eyes lyrics and music by Lou Reed (1969).
What is REST API?
The very short version is: WordPress will return Json objects from certain endpoints. Here’s a sample:
A URL like this will return a Json object with the 10 most recent post. Why don’t you try it in your browser:
REST API is much more that reading content. You can create, read, update and delete content on the server.
With the REST API WordPress will open the gates to a very interesting future. Perhaps themes as we know them will be obsolete in the near future. Even the Dashboard could be something in the past.
Bang the drums, and hoist the flags! WordPress with REST API is here.
Here are some ideas, you might use:
So the new verson of WordPress has arrived. With it came a new theme: Twenty Seventeen. It’s an attempt to combine the (perhaps too) popular “one-pager” with WordPress content-managing.
The theme has many interesting features. One important addition is the .svg icon theme. These days the SVG format becomes more and more important. Twenty Seventeen may be a proof of concept here.
Of course I had to try the theme. The design style is “big image” or even “big video” if you dare to use that option.
The theme has improved greatly since the beginning in october 2016. The process began on Github. Here a team from Automattic co-worked with the WordPress open source community. 68 participants or more gave input and suggested code.
When the theme was ready for the core it moved to Slack. In the end it was integrated in the wordpress-core code.
A web page is dedicated to the development process. Here you can see the mock-ups and follow the general development of the new core theme for WordPress.
The image below is one of the “hi-fi mock-ups” that was used during the development of Twenty Seventeen.
How to use .webp with a fallback to .png or similar.
Here is yet another fallback sample: http://www.janskovgard.dk/eaaa/2015/15l1/exercise8/imagetest/
So your code works as intended.
So far so good, but:
– Do you know why?
Per Thykjær Jensen (2016)