AMP for WordPress 0.7 RC 1 Released

XWP, Automattic, and Google’s AMP team, has released 0.7 Release Candidate 1 of the AMP for WordPress plugin. Hinted at during AMP Conf 2018 earlier this year, 0.7 is a major release that contains significant new features. This release adds Native AMP support for all of the default widgets, embeds, (more…)
Read more

Code Review Part 2: Improving Readability and Performance of the FilterWPQuery Class

In the last article, I walked you through the problem of letting “no go” conditions flow through your code. I showed you how to refactor the code to solve the problem and make the code more readable.  In this article, you and I will continue doing a code review and refactoring of the FilterWPQuery in Josh …
The post Code Review Part 2: Improving Readability and Performance of the FilterWPQuery Class appeared first on Torque.
Read more

10 Examples of Timeless Apple Design

When we set out to create a list of ten historic Apple products that feature timeless design, it seemed a little daunting. The reality is that it was anything but. Apple has been at the forefront of design and product design innovation since the Apple I in 1976. (Yes, Apple really has been making computers […]
Read more

Understanding React `setState`

React components can, and often do, have state. State can be anything, but think of things like whether a user is logged in or not and displaying the correct username based on which account is active. Or an array of blog posts. Or if a modal is open or not and which tab within it is active.

React components with state render UI based on that state. When the state of components changes, so does the component UI. …

The post Understanding React `setState` appeared first on CSS-Tricks.

Read more

Grid to Flex

Una Kravets shows how to make layouts in CSS Grid with flexbox fallbacks for browsers that don’t support those grid properties just yet. Una writes:

CSS grid is AMAZING! However, if you need to support users of IE11 and below, or Edge 15 and below, grid won’t really work as you expect…This site is a solution for you so you can start to progressively enhance without fear!

The site is a provides examples using common layouts and component patterns, including …

The post Grid to Flex appeared first on CSS-Tricks.

Read more

Preparing your content for the Extended Reality (XR) Future

You’ve probably heard rumblings in the tech industry around the innovations in Virtual Reality, Augmented Reality, and Mixed Reality. These mediums can broadly be defined as Extended Reality or XR. My first venture into development in XR was in 2010 when I was exploring Flash development. My application was straightforward; show the webcam a Quick …
The post Preparing your content for the Extended Reality (XR) Future appeared first on Torque.
Read more

JAMstack Comments

JAMstack sites are often seen as being static. A more accurate mental model for them would be that they are sites which have the ability to be hosted statically. The difference might seem semantic, but thanks to the rise of many tools and services which simplify running a build and deploying to static hosting infrastructure, such sites can feel much fresher and dynamic than you might imagine, while still capable of being served from static hosting infrastructure, with all …

The post JAMstack Comments appeared first on CSS-Tricks.

Read more

How Your WordPress Security and Activity Log Can Help You Move Towards GDPR Compliance

Keeping an activity log of everything that happens on your WordPress websites and multisite networks is a vital security measure. As such, it’s important to understand how the new General Data Protection Regulation (GDPR) will impact the way you use your security and activity log. With the GDPR set to roll out soon, you’ll want …
The post How Your WordPress Security and Activity Log Can Help You Move Towards GDPR Compliance appeared first on Torque.
Read more