Transmit Droplets

Ethan Marcotte documented his workflow for storing GIFs in a web directory. Sometimes just SFTPing files into a folder is as fancy a workflow as you need, and in fact, modern workflows don’t have anything on it!

I’ve also used Transmit’s fancy features for this kind of thing. I prefer saving the connection as a Droplet, which is basically a little application you can drop a file onto and have it upload to exactly where you want it…say a GIF …

The post Transmit Droplets appeared first on CSS-Tricks.

Read more

Torque Toons: Guten Intolerant

Will you use the new “try Gutenberg” feature when WordPress 4.9.7 comes out? Don’t forget to check out our other editorial toons!
The post Torque Toons: Guten Intolerant appeared first on Torque.
Read more

Advanced OOP For WordPress Part 5: Using The WordPress Test Suite For Integration Testing

In my last article, in this series on advanced object-oriented programming (OOP) for PHP WordPress development, I showed how to setup the WordPress test suite for integration tests. Previously, I had written about unit tests, which I showed how to run in an isolated environment. These tests were not dependent on WordPress at all, so …
The post Advanced OOP For WordPress Part 5: Using The WordPress Test Suite For Integration Testing appeared first on Torque.
Read more

What does the ‘h’ stand for in Vue’s render method?

If you’ve been working with Vue for a while, you may have come across this way of rendering your app — this is the default in the latest version of the CLI, in main.js:

new Vue({
render: h => h(App)
}).$mount('#app')

Or, if you’re using a render function, possibly to take advantage of JSX:

Vue.component('jsx-example', {
render (h) {
return

bar

}
})

You may be wondering, what does that h do? What does it stand for? The …

The post What does the ‘h’ stand for in Vue’s render method? appeared first on CSS-Tricks.

Read more

10 Tips for Writing Great Microcopy

The tiniest bits of text on your website can have the biggest impact. Microcopy includes all of the instructions, labels, navigation, tooltips, error messages and call-to-action language that helps users actually use a design. Microcopy can aid navigation, and be the final element a user reads before clicking a button. (It’s easy to understand why […]
Read more

Doc Pop’s News Drop: Hijacked Jetpack Plugins via WordPress.com

Doc’s WordPress News Drop is a weekly report on the most pressing WordPress news. When the news drops, I will pick it up and deliver it right to you. This week we talk about hijacked WordPress.com accounts, WordPress’s 15th birthday, and more WordCamp Europe news. WordPress Milestones WordPress Jetpack infection (Wordfence.com) WordCamp Europe 2018 Love …
The post Doc Pop’s News Drop: Hijacked Jetpack Plugins via WordPress.com appeared first on Torque.
Read more

How to Boost Conversions on Your Site Right Now

It doesn’t matter how much traffic your website brings, if no one is converting, you’re not generating sales. That’s why it’s important to take conversions seriously and continuously tweak your campaigns to optimize for the actions you want your users to take. Whether it’s giving you their email address or completing a sale, every website …
The post How to Boost Conversions on Your Site Right Now appeared first on Torque.
Read more

Managing State in React With Unstated

As your application becomes more complex, the management of state can become tedious. A component’s state is meant to be self-contained, which makes sharing state across multiple components a headache. Redux is usually the go-to library to manage state in React, however, depending on how complex your application is, you might not need Redux.

Unstated is an alternative that provides you with the functionality to manage state across multiple components with a Container class and Provider and Subscribe components. …

The post Managing State in React With Unstated appeared first on CSS-Tricks.

Read more