…In the previous part of the series, we set up basic HTTP authentication on the server by installing the plugin available on GitHub by the WP REST API team. The basic authentication method allows us to send authenticated requests by sending login credentials in the request header. While being quick…
…Working with PHP for the past 10 years or so has taken me through quite a ride. Starting with rookie mistakes like not being able to find a semicolon to trying to build my own framework for building sites (do not do this), I finally arrived at something great when…
…HTML markup that eventually outputs the page contents and renders the elements a visitor sees on the page of your website. If a template doesn’t have such a corresponding file, a page associated with it cannot be rendered in the front-end standing on its own. That doesn’t mean that you…
…* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} This tutorial shows how easy it is to use the Python programming language to work with JSON data. Before I begin the topic, let's define briefly what we mean by JSON. Let's see how JSON's main website defines it: JSON (JavaScript Object…
…HTML5 Geolocation, you know how to use HTML5 browser-based geolocation for determining where a user is. However, I wanted the user to have more control.I wanted the user to use a sub-domain like the one that's worked for years with CraigsList to guide them to their city.But WordPress's dominion over…
…in sight.ConclusionI hope this has been a useful introduction to Promises, and has given you good reason to start using them in your JavaScript projects. If you want to learn more about Promises in greater detail, check out Jake Archibald's excellent HTML5 Rocks article on this very subject. html
…html directories and I like placing the wp-config.php file inside the user root directory. Not sure if it's a snake-oil recipe or not, but at least it feels more secure. Some folks over at Stack Exchange had a good debate on this topic. By the way, let's get back to…
…HTML5. If you've not heard much about it or just want to understand its relevance, you've come to the right place. HTML5 is the latest standard for browsers to display and interact with web pages. Approved in 2014, it was the first update to HTML in 14 years. In this…
…HTML code of our configuration form. So that's it as far as the back-end setup is concerned.File SetupLet's start with the controller setup.Create a Controller FileCreate a file admin/controller/shipping/custom.php and paste the following contents in that file.<?php class ControllerShippingCustom extends Controller { private $error = array(); public function index() {…
…HTML elements and six advanced fields with format and syntax validation.You can completely style Form Generator with drag and drop tools and an easy to use visual form builder.But don't let the "easy to use" tools deter you from its functionality.Options include, but are certainly not limited to:SMTP sendingaccess 600+…