…de the normal HTML image tags. However, Timber offers quite a comprehensive way of handling the img (image) tag which is modular and clean.There are images attached to the post's thumbnail field. These can be easily retrieved via the Twig files by {{ post.thumbnail }}. It is just that easy!UsageLet's…
…develop, we need three things: Twitter application REST API access to the user account To put the pieces together into a working mechanism, we need an authentication framework. As a Twitter standard, the REST API identifies Twitter applications and users using OAuth.What Is OAuth?According to oauth.net, OAuth is:An open protocol…
…der-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} One of the cornerstones of building custom solutions in WordPress is having an understanding of hooks. In and of themselves, they aren't terribly difficult to understand, and we'll be covering a short primer on them in this tutorial. But if you're looking to get into…
…Developers Should Explore MailgunIf you're not yet familiar with Mailgun, it's the email automation engine trusted by over 10,000 website and application developers for sending, receiving and tracking emails. By taking advantage of Mailgun's powerful email APIs, developers can spend more time building awesome websites and less time fighting with email servers.What…
…dely used library that manipulates the Document Object Model, primarily to visualize data. In fact, you can get really creative with the way data can be visualized. At the lowest level, d3.js interacts with HTML and/or SVG elements and manipulates their attributes by binding data to the Document Object Model.…
…delegate certain responsibilities to a group of trusted users. It also allows you to set up the workflows that help you maintain a site smoothly and keep unnecessary stress away.Today, we’ll see what resources are available in OpenCart and how you could grant certain kinds of permissions on those resources…
…der-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Do you want to increase engagement and the amount of time visitors spend on your website? That's where a WordPress video player can help. You can increase engagement by adding a video player plugin to your WordPress website. Not only does this reflect well on…
…demonstrate the use of Ajax in OpenCart. It'll be a simple interface that allows you to select a product from the drop-down box and displays a nice product summary block of the selected product. The interesting part of the use-case is the way the product summary block is built—it'll be…
…dealing with a complicated infrastructure.Ansible roles are the ticket. Playbooks can include roles. Roles can depend on other roles, and Ansible best practices recommend grouping hosts in your inventory file based on their roles. Roles are the backbone of serious Ansible-managed infrastructure. As usual, I'll start with an example and…
…developer Jason Green tells you about Milo: the Daily Mail's homegrown JavaScript framework that powers its high-volume news site. He'll tell you all about the reasons the Daily Mail team decided to roll their own framework and introduce some of the features that set Milo apart from other existing frameworks.This…