SPECIAL OFFER: Only $59 for access to everything in OSTraining for 1 year! You save $85! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

| WooCommerce

WooCommerce Explained is the best-selling book on WooCommerce.

In this exclusive tutorial, taken from WooCommerce Explained, we're going to show you how to create variations for your WooCommerce products.

Variations allow users to choose different options for a product. This means you can sell a T-Shirt in different sizes and colors.

However, variations can be complex to set up. Before you read this blog, I highly recommend you read "How to create WooCommerce attributes". Creating attributes is an essential first step before creating variations. The instructions in that post also follow on from that tutorial.

Read more ...

| Web Design

As you already learned in the second tutorial of this series, a flex-container has two following axes:

  • main axis
  • cross axis

The justify-content property specifies how the flex-items are distributed along the main axis, whereas the align-items property specifies how the flex-items are distributed along the cross axis of the flex-container.

Read more ...

| WooCommerce

WooCommerce Explained is the best-selling book on WooCommerce. In this exclusive tutorial, taken from WooCommerce Explained, we're going to show you how to create attributes for your WooCommerce products.

Attributes are a key feature of most WooCommerce stores, but they are easily misunderstood. They're also often confused with WooCommerce variations.

So before we begin to show you how attributes work, let me take a couple of paragraphs to define them.

Read more ...

| WordPress

If you're writing a lot of content on your WordPress site, you will need an easy way to plan your posts.

An Editorial Calendar provides a single screen where you can see all the content you're going to publish. Ideally, the Editorial Calendar will help keep you organized in a busy schedule. 

Think of an Editorial Calendar as a timetable for your content.

If you're a WordPress user, there are several Editorial Calendars that integrate directly into WordPress. These calendars will show your planned WordPress posts and allow you to schedule new content.

Read more ...

| WordPress

Does it matter how many words you write in each blog post?

Yes, for many people, it does.

Some writers set themselves a target number of words per day, as a good habit. Whether your target is 500, 1000, 2000 or even more words, a lot of writers love the discipline of hitting a daily target.

Some other writers are aiming for a specific word count simply for marketing purposes. It's generally thought that Google gives a higher rank to longer posts, so long as they're interesting. So many SEO experts recommend you write posts between 2000 and 2500 words.

Read more ...

If you spend any time in the WordPress world, you've probably come across Zac Gordon. Zac is an enthusiastic and charming teacher who focuses on Javascript in WordPress. He borrowed the phrase "Learn Javascript Deeply" from Matt Mullenweg and he made it into his personal slogan.

For the last several years, Zac has produced video classes, online conferences, live talks, and podcasts that focus on teaching you how to use Javascript in WordPress.

I'm delighted to say we're working with Zac on a book, "React Explained". React is the library the WordPress team have chose for the new Gutenberg editor. They are not alone - both Drupal and Magento have also chosen React.

Zac is live-tweeting his writing progress at @zgordon on Twitter. You can also hear Zac talk about React on the OSTraining podcast.

In this extract from the book, Zac gives you a high-level overview of React and some key concepts.

Read more ...

| WordPress

By default, WordPress is very, very careful about who can delete files in your site's Media Library.

Only users in the "Administrator" role are able to delete images and files in your Media Library. Anyone who is in the Subscriber, Contributor, Author and Editor roles is not allowed to delete images.

However, on some sites you may want to allow other users to clean your Media Library. Perhaps you have private files, or just have a cluttered Media Library with too many files.

The solution to deleting files is to install the Capability Manager Enhanced plugin.

Read more ...

| Podcasts

In this episode, we welcome Ben Pines, the Chief Marketing Officer at Elementor.

Elementor is a page builder which is technically in the same space as Gutenberg, but does approximately 1,001 extra things.

Ben is doing pretty well at his job, because Elementor is probably the fastest growing WordPress plugin around. In the last two and a half years, Elementor has grown from zero installs to close to two million, and Ben has led many of the efforts to get the word out about Elementor and its growth.

Read more ...

| WordPress

Websites are never too far from problems. If you run a WordPress website, you will need to spot and fix problems.

WordPress works on PHP. When PHP runs into issues, it reports them to you. This may be helpful to you as the website owner, but these same errors may also be seen by your site visitors.

Read more ...

| Drupal

Websites will run into problems. Whether you're using Drupal or any other software, there will be problems at some point.

Drupal runs on PHP and when PHP has problems, it reports them to you. 

However, often these errors will appear on your site and will be visible to visitors, as in the image below:

Read more ...

| WordPress

Having your website hacked can be very stressful but here are some guidelines on how to fix a hacked site with help from the Wordfence plugin.

Often the first sign that your site has been hacked is an email from your hosting company or Google. Hacks are often ‘invisible’ to most users as they insert hidden links into the content of the site.

Read more ...

A few years ago, setting up an SSL certificate was a slow and costly painful process.

At one point, we were paying over $500 per year for a top-of-the-line SSL certificate on this site. Plus, many platforms had poor support for SSLs.

All that has changed. You can get free SSL certificates now, and web software almost always has great support for your SSLs.

The tricky part of using an SSL certificate is now making sure you aren't loading images or files over http. This will cause your SSL certificate to show an error. Here's the code we used in our .htaccess to push all our site's assets to https.

Read more ...

| Podcasts

In this episode, we welcome Amanda and Karlyanna from the DrupalCon team.

DrupalCon is probably the biggest open-source event that happens in North America every year. And for about the last 10 years, it's been pretty much the same event with pretty much about the same number of attendees.

It's been about 3,000 people every year, moving around to different cities. This time, the DrupalCon team are taking a different approach. It's in Seattle in April, but they're changing up the format adding all sorts of new twists and interesting changes to it. So I sat down with the team to talk about what's new with DrupalCon this year. (Spoiler alert: one addition this year will be puppies and bunnies)

Read more ...

github pagesAll developers know Github as service that enables code sharing and also helps you improve your code by using version control.

However, did you know that Github also offers Github Pages, a completely free hosting service?

In this tutorial, I'll show you how to host a simple HTML website for free using Github.

Read more ...

"Local Web Development With DDEV Explained" shows you how to do local development in a way that matches modern development workflows.

When the book launched, it originally focused on Drupal 8. Today, with version 2.0, of the book, we've updated the book and included two new chapters on working with WordPress.

In this book, Mike Anello recommends replacing WAMP, MAMP and similar tools with DDev-Local, a Docker-based system.

DDEV-Local is an open-source local development environment for PHP-based projects. It provides a robust and flexible setup for platforms such as Drupal, WordPress, and TYPO3.

Read more ...

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!