How to Customize the WooCommerce Cart Page on a WordPress Site

Post pobrano z: How to Customize the WooCommerce Cart Page on a WordPress Site

A standard e-commerce site has a few common pages. There are product pages, shop pages that list products, and let’s not forget pages for the user account, checkout flow and cart.

WooCommerce makes it a trivial task to set these up on a WordPress site because it provides templates for them and create the pages for you right out of the box. This is what makes it easy to get your store up and running in a few minutes just by setting up some products and your payment processing details. WooCommerce is very helpful that way.

But this isn’t a post extolling the virtues of WooCommerce. Instead, let’s look at how we can customize parts of it. Specifically, I want to look at the cart. WooCommerce is super extensible in the sense that it provides a ton of filters and actions that can be hooked into, plus a way to override the templates in a WordPress theme. The problem is, those take at least some intermediate-level dev chops which may not be feasible for some folks. And, at least in my experience, the cart page tends to be the most difficult to grok and customize.

Let’s look at how to change the WooCommerce cart page by implementing a different layout. This is how a standard default cart page looks:

We’ll go for something like this instead:

Here’s what’s different:

  • We’re adopting a two-column layout instead of the single full-width layout of the default template. This allows us to bring the “Cart totals” element up top so it is more visible on larger screens.
  • We’re adding some reassurance for customers by including benefits below the list of products in the cart. This reminds the customer the value they’re getting with their purchase, like free shipping, easy exchanges, customer support and security.
  • We’re including a list of frequently asked questions beneath the list of products in an accordion format. This helps the customer get answers to questions about their purchase without have to leave and contact support.

This tutorial assumes that you have access to your theme files. If you don’t feel comfortable logging in to your hosting server and going to the file manager, I would suggest you install the plugin WP File Manager. With just the free version, you can accomplish everything explained here.

First, let’s roll our own template

One of the many benefits of WooCommerce is that it gives us pre-designed and coded templates to work with. The problem is that those template files are located in the plugin folder. And if the plugin updates in the future (which it most certainly will), any changes we make to the template will get lost. Since directly editing plugin files is a big ol’ no-no in WordPress, WooCommerce lets us modify the files by making copies of them that go in the theme folder.

It’s a good idea to use a child theme when making these sorts of changes, especially if you are using a third-party theme. That way, any changes made to the theme folder aren’t lost when theme updates are released.

To do this, we first have to locate the template we want to customize. That means going into the site’s root directory (or wherever you keep your site files if working locally, which is a great idea) and open up the /wp-content where WordPress is installed. There are several folders in there, one of which is /plugins. Open that one up and then hop over to the /woocommerce folder. That’s the main directory for all-things-WooCommerce. We want the cart.php file, which is located at:

/wp-content/plugins/woocommerce/templates/cart/cart.php

Let’s open up that file in a code editor. One of the first things you’ll notice is a series of comments on top of the file:

/**
 * Cart Page
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/cart/cart.php. // highlight
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates
 * @version 3.8.0
 */

The highlighted line is exactly what we’re looking for — instructions on how to override the file! How kind of the WooCommerce team to note that up front for us.

Let’s make a copy of that file and create the file path they suggest in the theme:

/wp-content/themes/[your-theme]/woocommerce/cart/cart.php

Drop the copied file there and we’re good to start working on it.

Next, let’s add our own markup

The first two things we can tackle are the benefits and frequently asked questions we identified earlier. We want to add those to the template.

Where does our markup go? Well, to make the layout look the way we laid it out at the beginning of this post, we can start below the cart’s closing table </table> , like this:

</table>

<!-- Custom code here -->

<?php do_action( 'woocommerce_after_cart_table' ); ?>

We won’t cover the specific HTML that makes these elements. The important thing is knowing where that markup goes.

Once we’ve done that, we should end up with something like this:

Now we have all the elements we want on the page. All that’s left is to style things up so we have the two-column layout.

Alright, now we can override the CSS

We could’ve add more markup to the template to create two separate columns. But the existing markup is already organized nicely in a way that we can accomplish what we want with CSS… thanks to flexbox!

The first step involves making the .woocommerce  element a flex container. It’s the element that contains all our other elements, so it makes for a good parent. To make sure we’re only modifying it in the cart and not other pages (because other templates do indeed use this class), we should scope the styles to the cart page class, which WooCommerce also readily makes available.

.woocommerce-cart .woocommerce {
  display: flex;
}

These styles can go directly in your theme’s style.css file. That’s what WooCommerce suggests. Remember, though, that there are plenty of ways to customize styles in WordPress, some safer and more maintainable than others.

We have two child elements in the .woocommerce element, perfect for our two-column layout: .woocommerce-cart-form and .cart-collaterals. This is the CSS we need to split things up winds up looking something like this:


/* The table containing the list of products and our custom elements */
.woocommerce-cart .woocommerce-cart-form {
  flex: 1 0 70%; /* 100% at small screens; 70% on larger screens */
  margin-right: 30px;
}

/* The element that contains the cart totals */
.woocommerce-cart .cart-collaterals {
  flex: 1 0 30%; /* 100% at small screens; 30% on larger screens */
  margin-left: 30px;
}

/* Some minor tweak to make sure the cart totals fill the space */
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
  padding: 0 20px 70px;
}

That gives us a pretty clean layout:

It looks more like Amazon’s cart page and other popular e-commerce stores, which is not at all a bad thing.

Best practice: Make the most important elements stand out

One of the problems I have with WooCommerce’s default designs is that all the buttons are designed the same way. They’re all the same size and same background color.

Look at all that blue!

There is no visual hierarchy on the action users should take and, as such, it’s tough to distinguish, say, how to update the cart from proceeding to checkout. The next thing we ought to do is make that distinction clearer by changing the background colors of the buttons. For that, we write the following CSS:

/* The "Apply Coupon" button */
.button[name="apply_coupon"] {
  background-color: transparent;
  color: #13aff0;
}
/* Fill the "Apply Coupon" button background color and underline it on hover */
.button[name="apply_coupon"]:hover {
  background-color: transparent;
  text-decoration: underline;
}


/* The "Update Cart" button */
.button[name="update_cart"] {
  background-color: #e2e2e2;
  color: #13aff0;
}
/* Brighten up the button on hover */
.button[name="update_cart"]:hover {
  filter: brightness(115%);
}

This way, we create the following hierarchy: 

  1. The “Proceed to checkout” is pretty much left as-is, with the default blue background color to make it stand out as it is the most important action in the cart.
  2. The “Update cart” button gets a grey background that blends in with the white background of the page. This de-prioritizes it.
  3. The “Apply coupon” is less a button and more of a text link, making it the least important action of the bunch.

The full CSS that you have to add to make this design is here:

@media(min-width: 1100px) {
  .woocommerce-cart .woocommerce {
    display: flex;
  }
  .woocommerce-cart .woocommerce-cart-form {
    flex: 1 0 70%;
    margin-right: 30px;
  }    
  .woocommerce-cart .cart-collaterals {
    flex: 1 0 30%;
    margin-left: 30px;
  }
}


.button[name="apply_coupon"] {
  background-color: transparent;
  color: #13aff0;
}


.button[name="apply_coupon"]:hover {
  text-decoration: underline;
  background-color: transparent;
  color: #13aff0;
}


.button[name="update_cart"] {
  background-color: #e2e2e2;
  color: #13aff0;
}


.button[name="update_cart"]:hover {
  background-color: #e2e2e2;
  color: #13aff0;
  filter: brightness(115%);
}

That’s a wrap!

Not too bad, right? It’s nice that WooCommerce makes itself so extensible, but without some general guidance, it might be tough to know just how much leeway you have to customize things. In this case, we saw how we can override the plugin’s cart template in a theme directory to future-proof it from future updates, and how we can override styles in our own stylesheet. We could have also looked at using WooCommerce hooks, the WooCommerce API, or even using WooCommerce conditions to streamline customizations, but perhaps those are good for another post at another time.

In the meantime, have fun customizing the e-commerce experience on your WordPress site and feel free to spend a little time in the WooCommerce docs — there are lots of goodies in there, including pre-made snippets for all sorts of things.

The post How to Customize the WooCommerce Cart Page on a WordPress Site appeared first on CSS-Tricks.

How to Customize the WooCommerce Cart Page on a WordPress Site

Post pobrano z: How to Customize the WooCommerce Cart Page on a WordPress Site

A standard e-commerce site has a few common pages. There are product pages, shop pages that list products, and let’s not forget pages for the user account, checkout flow and cart.

WooCommerce makes it a trivial task to set these up on a WordPress site because it provides templates for them and create the pages for you right out of the box. This is what makes it easy to get your store up and running in a few minutes just by setting up some products and your payment processing details. WooCommerce is very helpful that way.

But this isn’t a post extolling the virtues of WooCommerce. Instead, let’s look at how we can customize parts of it. Specifically, I want to look at the cart. WooCommerce is super extensible in the sense that it provides a ton of filters and actions that can be hooked into, plus a way to override the templates in a WordPress theme. The problem is, those take at least some intermediate-level dev chops which may not be feasible for some folks. And, at least in my experience, the cart page tends to be the most difficult to grok and customize.

Let’s look at how to change the WooCommerce cart page by implementing a different layout. This is how a standard default cart page looks:

We’ll go for something like this instead:

Here’s what’s different:

  • We’re adopting a two-column layout instead of the single full-width layout of the default template. This allows us to bring the “Cart totals” element up top so it is more visible on larger screens.
  • We’re adding some reassurance for customers by including benefits below the list of products in the cart. This reminds the customer the value they’re getting with their purchase, like free shipping, easy exchanges, customer support and security.
  • We’re including a list of frequently asked questions beneath the list of products in an accordion format. This helps the customer get answers to questions about their purchase without have to leave and contact support.

This tutorial assumes that you have access to your theme files. If you don’t feel comfortable logging in to your hosting server and going to the file manager, I would suggest you install the plugin WP File Manager. With just the free version, you can accomplish everything explained here.

First, let’s roll our own template

One of the many benefits of WooCommerce is that it gives us pre-designed and coded templates to work with. The problem is that those template files are located in the plugin folder. And if the plugin updates in the future (which it most certainly will), any changes we make to the template will get lost. Since directly editing plugin files is a big ol’ no-no in WordPress, WooCommerce lets us modify the files by making copies of them that go in the theme folder.

It’s a good idea to use a child theme when making these sorts of changes, especially if you are using a third-party theme. That way, any changes made to the theme folder aren’t lost when theme updates are released.

To do this, we first have to locate the template we want to customize. That means going into the site’s root directory (or wherever you keep your site files if working locally, which is a great idea) and open up the /wp-content where WordPress is installed. There are several folders in there, one of which is /plugins. Open that one up and then hop over to the /woocommerce folder. That’s the main directory for all-things-WooCommerce. We want the cart.php file, which is located at:

/wp-content/plugins/woocommerce/templates/cart/cart.php

Let’s open up that file in a code editor. One of the first things you’ll notice is a series of comments on top of the file:

/**
 * Cart Page
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/cart/cart.php. // highlight
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates
 * @version 3.8.0
 */

The highlighted line is exactly what we’re looking for — instructions on how to override the file! How kind of the WooCommerce team to note that up front for us.

Let’s make a copy of that file and create the file path they suggest in the theme:

/wp-content/themes/[your-theme]/woocommerce/cart/cart.php

Drop the copied file there and we’re good to start working on it.

Next, let’s add our own markup

The first two things we can tackle are the benefits and frequently asked questions we identified earlier. We want to add those to the template.

Where does our markup go? Well, to make the layout look the way we laid it out at the beginning of this post, we can start below the cart’s closing table </table> , like this:

</table>

<!-- Custom code here -->

<?php do_action( 'woocommerce_after_cart_table' ); ?>

We won’t cover the specific HTML that makes these elements. The important thing is knowing where that markup goes.

Once we’ve done that, we should end up with something like this:

Now we have all the elements we want on the page. All that’s left is to style things up so we have the two-column layout.

Alright, now we can override the CSS

We could’ve add more markup to the template to create two separate columns. But the existing markup is already organized nicely in a way that we can accomplish what we want with CSS… thanks to flexbox!

The first step involves making the .woocommerce  element a flex container. It’s the element that contains all our other elements, so it makes for a good parent. To make sure we’re only modifying it in the cart and not other pages (because other templates do indeed use this class), we should scope the styles to the cart page class, which WooCommerce also readily makes available.

.woocommerce-cart .woocommerce {
  display: flex;
}

These styles can go directly in your theme’s style.css file. That’s what WooCommerce suggests. Remember, though, that there are plenty of ways to customize styles in WordPress, some safer and more maintainable than others.

We have two child elements in the .woocommerce element, perfect for our two-column layout: .woocommerce-cart-form and .cart-collaterals. This is the CSS we need to split things up winds up looking something like this:


/* The table containing the list of products and our custom elements */
.woocommerce-cart .woocommerce-cart-form {
  flex: 1 0 70%; /* 100% at small screens; 70% on larger screens */
  margin-right: 30px;
}

/* The element that contains the cart totals */
.woocommerce-cart .cart-collaterals {
  flex: 1 0 30%; /* 100% at small screens; 30% on larger screens */
  margin-left: 30px;
}

/* Some minor tweak to make sure the cart totals fill the space */
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
  padding: 0 20px 70px;
}

That gives us a pretty clean layout:

It looks more like Amazon’s cart page and other popular e-commerce stores, which is not at all a bad thing.

Best practice: Make the most important elements stand out

One of the problems I have with WooCommerce’s default designs is that all the buttons are designed the same way. They’re all the same size and same background color.

Look at all that blue!

There is no visual hierarchy on the action users should take and, as such, it’s tough to distinguish, say, how to update the cart from proceeding to checkout. The next thing we ought to do is make that distinction clearer by changing the background colors of the buttons. For that, we write the following CSS:

/* The "Apply Coupon" button */
.button[name="apply_coupon"] {
  background-color: transparent;
  color: #13aff0;
}
/* Fill the "Apply Coupon" button background color and underline it on hover */
.button[name="apply_coupon"]:hover {
  background-color: transparent;
  text-decoration: underline;
}


/* The "Update Cart" button */
.button[name="update_cart"] {
  background-color: #e2e2e2;
  color: #13aff0;
}
/* Brighten up the button on hover */
.button[name="update_cart"]:hover {
  filter: brightness(115%);
}

This way, we create the following hierarchy: 

  1. The “Proceed to checkout” is pretty much left as-is, with the default blue background color to make it stand out as it is the most important action in the cart.
  2. The “Update cart” button gets a grey background that blends in with the white background of the page. This de-prioritizes it.
  3. The “Apply coupon” is less a button and more of a text link, making it the least important action of the bunch.

The full CSS that you have to add to make this design is here:

@media(min-width: 1100px) {
  .woocommerce-cart .woocommerce {
    display: flex;
  }
  .woocommerce-cart .woocommerce-cart-form {
    flex: 1 0 70%;
    margin-right: 30px;
  }    
  .woocommerce-cart .cart-collaterals {
    flex: 1 0 30%;
    margin-left: 30px;
  }
}


.button[name="apply_coupon"] {
  background-color: transparent;
  color: #13aff0;
}


.button[name="apply_coupon"]:hover {
  text-decoration: underline;
  background-color: transparent;
  color: #13aff0;
}


.button[name="update_cart"] {
  background-color: #e2e2e2;
  color: #13aff0;
}


.button[name="update_cart"]:hover {
  background-color: #e2e2e2;
  color: #13aff0;
  filter: brightness(115%);
}

That’s a wrap!

Not too bad, right? It’s nice that WooCommerce makes itself so extensible, but without some general guidance, it might be tough to know just how much leeway you have to customize things. In this case, we saw how we can override the plugin’s cart template in a theme directory to future-proof it from future updates, and how we can override styles in our own stylesheet. We could have also looked at using WooCommerce hooks, the WooCommerce API, or even using WooCommerce conditions to streamline customizations, but perhaps those are good for another post at another time.

In the meantime, have fun customizing the e-commerce experience on your WordPress site and feel free to spend a little time in the WooCommerce docs — there are lots of goodies in there, including pre-made snippets for all sorts of things.

The post How to Customize the WooCommerce Cart Page on a WordPress Site appeared first on CSS-Tricks.

Where to Learn WordPress Theme Development

Post pobrano z: Where to Learn WordPress Theme Development

Over a decade ago, I did a little three-part video series on Designing for WordPress. Then I did other series with the same spirit, like videocasting the whole v10 redesign, a friend’s website, and even writing a book. Those are getting a little long in the tooth though. You might still learn from watching them if you’re getting into WordPress theme development, but there will be moments that feel very aged (old UI’s and old versions of software). All the code still works though, because WordPress is great at backward compatibility. I still hear from people who found those videos very helpful for them.

But since time has pressed on, and I was recently asked what resources I would suggest now, I figured I’d have a look around and see what looks good to me.

Do you like how I plopped the WordPress logo over some stock art I bought that features both a computer and a chalkboard, by which to evoke a feeling of „learning”? So good. I know.

Who are we talking to?

There’s a spectrum of WordPress developers, from people who don’t know any code at all or barely touch it, to hardcore programming nerds building custom everything.

  1. Pick out a theme that looks good, use it.
  2. 🤷‍♂️
  3. 🤷‍♂️
  4. 🤷‍♂️
  5. 🤷‍♂️
  6. Hardcore programmer nerd.

I can’t speak to anybody on either edge of that spectrum. There is this whole world of people in the middle. They can code, but they aren’t computer science people. They are get the job done people. Maybe it’s something like this:

  1. Pick out a theme that will work, use it.
  2. Start with a theme, customize it a bit using built-in tools.
  3. Start with a theme, hack it up with code to do what you need it to do.
  4. Start from scratch, build out what you need.
  5. Start from scratch, build a highly customized site.
  6. Hardcore programmer nerd.

I’ve always been somewhere around #4, and I think that’s a nice sweet spot. I try to let off-the-shelf WordPress and big popular plugins do the heavy lifting, but I’ll bring-my-own front-end (HTML, CSS, and JavaScript) and customize what I have to. I’m making templates. I’m writing queries. I’m building blocks. I’m modularizing where I can.

I feel powerful in that zone. I can build a lot of sites that way, almost by myself. So where are the resources today that help you learn this kind of WordPress theme development? Lemme see what I can find.

Wing it, old school

There is something to be said for learning by doing. Trial by fire. I’ve learned a lot under these circumstances in my life.

The trick here is to get WordPress installed on a live server and then play with the settings, plugins, customizer, and edit the theme files themselves to make the site do things. You’ll find HTML in those theme files — hack it up! You’ll see PHP code spitting out content. Can you tell what and how to manipulate it? You’ll find a CSS file in the theme — edit that sucker!

Editing a WordPress theme and seeing what happens

The official documentation can help you somewhat here:

To some degree, I’m a fan of doing it live (on a production website) because it lends a sense of realness to what you are doing when you are a beginner. The stakes are high there, giving you a sense of the power you have. When I make these changes, they are for anyone in the world with an internet connection to see.

I did this in my formative years by buying a domain name and hosting, installing WordPress on that hosting, logging into it with SFTP credentials, and literally working on the live files. I used Coda, which is still a popular app, and is being actively developed into a new version of itself as I write.

This is Nova, a MacOS code editor from Panic that has SFTP built-in.

Hopefully, the stakes are real but low. Like you’re working on a pet project or your personal site. At some point, hacking on production sites becomes too dangerous of an idea. One line of misplaced PHP syntax can take down the entire site.

If you’re working on something like a client site, you’ll need to upgrade that workflow.

Modern winging it

The modern, healthy, standard way for working on websites is:

  1. Work on them locally.
  2. Use version control (Git), where new work is done in branches of the master branch.
  3. Deployment to the production website is done when code is pushed to the master branch, like your development branch is merged in.

I’ve done a recent video on this whole workflow as I do it today. My toolset is:

  • Work locally with Local by Flywheel.
  • My web hosting is also Flywheel, but that isn’t required. It could be anything that gives you SFTP access and runs what WordPress needs: Apache, PHP, and MySQL. Disclosure, Flywheel is a sponsor here, but because I like them and their service :).
  • Code is hosted on a private repo on GitHub.
  • Deployment to the Flywheel hosting is done by Buddy. Buddy watches for pushes to the master branch and moves the files over SFTP to the production site.
Local by Flywheel

Now that you have a local setup, you can go nuts. Do whatever you want. You can’t break anything on the live site, so you’re freer to make experimental changes and just see what happens.

When working locally, it’s likely you’ll be editing files with a code editor. I’d say the most popular choice these days is the free VS Code, but there is also Atom and Sublime, and fancier editors like PhpStorm.

The freedom of hacking on files is especially apparent once you’ve pushed your code up to a Git repo. Once you’ve done that, you have the freedom of reverting files back to the state of the last push.

I use the Git software Tower, and that lets me can see what files have changed since I last committed code. If I’ve made a mistake, caused a problem, or done something I don’t like — even if I don’t remember exactly what I changed — I can discard those changes back to their last state. That’s a nice level of freedom.

When I do commit code, to master or by merging a branch into master, that’s when Buddy kicks in and deploys the changes to the production site.

CSS-Tricks itself is a WordPress site, which has continuously evolved over 13 years.

But like, where do you start?

We’re talking about WordPress theme development here, so you start with a theme. Themes are literally folders of files in your WordPress installation.

root
  - /wp-content/
    - /themes/
       - /theme-name/

WordPress comes with some themes right out of the box. As I write, the Twenty Twenty theme ships with WordPress, and it’s a nice one! You could absolutely start your theme hackin’ on that.

Themes tend to have some opinions about how they organize themselves and do things, and Twenty Twenty is no different. I’d say, perhaps controversially, that there is no one true way to organize your theme, so long as it’s valid code and does things the „WordPress” way. This is just something you’ll have to get a feel for as you make themes.

Starter themes

Starter themes were a very popular way to start building a theme from scratch in my day. I don’t have a good sense if that’s still true, but the big idea was a theme with all the basic theme templates you’ll need (single blog post pages, a homepage, a 404 page, search results page, etc.) with very little markup and no styling at all. That way you have an empty canvas from which to build out all your HTML, CSS, and JavaScript yourself to your liking. Sorta like you’re building any other site from scratch with these core technologies, only with some PHP in there spitting out content.

There was a theme called Starkers that was popular, but it’s dead now. I made one called BLANK myself but haven’t touched that in a long time. In looking around a bit, I found some newer themes with this same spirit. Here’s the best three I found:

I can’t personally vouch for them, but they’ve all been updated somewhat recently and look like pretty good starting points to me. I’d give them a shot in the case that I was starting from absolute scratch on a project. I’d be tempted to download one and then spruce it up exactly how I like it and save that as my own starter in case I needed to do it again.

It feels worth mentioning that a lot of web development isn’t starting from scratch, but rather working on existing projects. In that case, the process is still getting a local environment set up; you just aren’t starting from scratch, but with the existing theme. I’d suggest duplicating the theme and changing the name while you hack on it, so even if you deploy it, it doesn’t affect the live theme. Others might suggest using the starter as a „parent” theme, then branching off into a „child” theme.

To get your local development environment all synced up with exactly what the production website is like, I think the best tool is WP DB Migrate Pro, which can yank down the production database to your local site and all the media files (paid product and a paid add-on, worth every penny).

Fancier Starter Themes

Rather than starting from absolute scratch, there are themes that come with sensible defaults and even modern build processes for you start with. The idea is that building a site with essentially raw HTML, CSS, and JavaScript, while entirely doable, just doesn’t have enough modern conveniences to be comfortable.

Here are some.

  • Morten Rand-Hendriksen has a project called WP Rig that has all sorts of developer tools built into it. A Gulp-based build process spins up a BrowserSync server for auto updating. JavaScript gets processed in Babel. CSS gets processed in PostCSS, and code is linted. He teaches WordPress with it.
  • Roots makes a theme called Sage that comes with a templating engine, your CSS framework of choice, and fancy build process stuff.
  • Ignition has a build process and all sorts of helpers.
  • Timber comes with a templating engine and a bunch of code helpers.

I think all these are pretty cool, but are also probably not for just-starting-out beginner developers.

Books

This is tough because of how many there are. In a quick Google search, I found one site selling fifteen WordPress books as a bundle for $9.99. How would you even know where to start? How good can they be for that rock bottom price? I dunno.

I wrote a book with Jeff Starr ages ago called Digging Into WordPress. After all these years, Jeff still keeps the book up to date, so I’d say that’s a decent choice! Jeff has other books like The Tao of WordPress and WordPress Themes In Depth.

A lot of other books specifically about WordPress theme development are just fairly old. 2008-2015 stuff. Again, not that there isn’t anything to be learned there, especially as WordPress doesn’t change that rapidly, but still, I’d want to read a book more recent that half a decade old. Seems like a big opportunity for a target audience as large as WordPress users and developers. Or if there is already stuff that I’m just not finding, lemme know in the comments.

Perhaps learning is shifting so much toward online that people don’t write books as much…

Online learning courses

Our official learning partner Frontend Masters has one course on WordPress focused on JavaScript and WordPress, so that might not be quite perfect for learning the basics of theme development. Still, fascinating stuff.

Here’s some others that looked good to me while looking around:

Zac’s course looks like the most updated and perhaps the best option there.

A totally different direction for theme Development

One way to build a site with WordPress is not to use WordPress themes at all! Instead, you can use the WordPress API to suck data out of WordPress and build a site however the heck you please.

This idea of decoupling the CMS and the front end you build is pretty neat. It’s often referred to as using a „headless” CMS. It’s not for everyone. (One big reason is that, in a way, it doubles your technical debt.). But it can bring a freedom to both the CMS and the front end to evolve independently.

The post Where to Learn WordPress Theme Development appeared first on CSS-Tricks.

Where to Learn WordPress Theme Development

Post pobrano z: Where to Learn WordPress Theme Development

Over a decade ago, I did a little three-part video series on Designing for WordPress. Then I did other series with the same spirit, like videocasting the whole v10 redesign, a friend’s website, and even writing a book. Those are getting a little long in the tooth though. You might still learn from watching them if you’re getting into WordPress theme development, but there will be moments that feel very aged (old UI’s and old versions of software). All the code still works though, because WordPress is great at backward compatibility. I still hear from people who found those videos very helpful for them.

But since time has pressed on, and I was recently asked what resources I would suggest now, I figured I’d have a look around and see what looks good to me.

Do you like how I plopped the WordPress logo over some stock art I bought that features both a computer and a chalkboard, by which to evoke a feeling of „learning”? So good. I know.

Who are we talking to?

There’s a spectrum of WordPress developers, from people who don’t know any code at all or barely touch it, to hardcore programming nerds building custom everything.

  1. Pick out a theme that looks good, use it.
  2. 🤷‍♂️
  3. 🤷‍♂️
  4. 🤷‍♂️
  5. 🤷‍♂️
  6. Hardcore programmer nerd.

I can’t speak to anybody on either edge of that spectrum. There is this whole world of people in the middle. They can code, but they aren’t computer science people. They are get the job done people. Maybe it’s something like this:

  1. Pick out a theme that will work, use it.
  2. Start with a theme, customize it a bit using built-in tools.
  3. Start with a theme, hack it up with code to do what you need it to do.
  4. Start from scratch, build out what you need.
  5. Start from scratch, build a highly customized site.
  6. Hardcore programmer nerd.

I’ve always been somewhere around #4, and I think that’s a nice sweet spot. I try to let off-the-shelf WordPress and big popular plugins do the heavy lifting, but I’ll bring-my-own front-end (HTML, CSS, and JavaScript) and customize what I have to. I’m making templates. I’m writing queries. I’m building blocks. I’m modularizing where I can.

I feel powerful in that zone. I can build a lot of sites that way, almost by myself. So where are the resources today that help you learn this kind of WordPress theme development? Lemme see what I can find.

Wing it, old school

There is something to be said for learning by doing. Trial by fire. I’ve learned a lot under these circumstances in my life.

The trick here is to get WordPress installed on a live server and then play with the settings, plugins, customizer, and edit the theme files themselves to make the site do things. You’ll find HTML in those theme files — hack it up! You’ll see PHP code spitting out content. Can you tell what and how to manipulate it? You’ll find a CSS file in the theme — edit that sucker!

Editing a WordPress theme and seeing what happens

The official documentation can help you somewhat here:

To some degree, I’m a fan of doing it live (on a production website) because it lends a sense of realness to what you are doing when you are a beginner. The stakes are high there, giving you a sense of the power you have. When I make these changes, they are for anyone in the world with an internet connection to see.

I did this in my formative years by buying a domain name and hosting, installing WordPress on that hosting, logging into it with SFTP credentials, and literally working on the live files. I used Coda, which is still a popular app, and is being actively developed into a new version of itself as I write.

This is Nova, a MacOS code editor from Panic that has SFTP built-in.

Hopefully, the stakes are real but low. Like you’re working on a pet project or your personal site. At some point, hacking on production sites becomes too dangerous of an idea. One line of misplaced PHP syntax can take down the entire site.

If you’re working on something like a client site, you’ll need to upgrade that workflow.

Modern winging it

The modern, healthy, standard way for working on websites is:

  1. Work on them locally.
  2. Use version control (Git), where new work is done in branches of the master branch.
  3. Deployment to the production website is done when code is pushed to the master branch, like your development branch is merged in.

I’ve done a recent video on this whole workflow as I do it today. My toolset is:

  • Work locally with Local by Flywheel.
  • My web hosting is also Flywheel, but that isn’t required. It could be anything that gives you SFTP access and runs what WordPress needs: Apache, PHP, and MySQL. Disclosure, Flywheel is a sponsor here, but because I like them and their service :).
  • Code is hosted on a private repo on GitHub.
  • Deployment to the Flywheel hosting is done by Buddy. Buddy watches for pushes to the master branch and moves the files over SFTP to the production site.
Local by Flywheel

Now that you have a local setup, you can go nuts. Do whatever you want. You can’t break anything on the live site, so you’re freer to make experimental changes and just see what happens.

When working locally, it’s likely you’ll be editing files with a code editor. I’d say the most popular choice these days is the free VS Code, but there is also Atom and Sublime, and fancier editors like PhpStorm.

The freedom of hacking on files is especially apparent once you’ve pushed your code up to a Git repo. Once you’ve done that, you have the freedom of reverting files back to the state of the last push.

I use the Git software Tower, and that lets me can see what files have changed since I last committed code. If I’ve made a mistake, caused a problem, or done something I don’t like — even if I don’t remember exactly what I changed — I can discard those changes back to their last state. That’s a nice level of freedom.

When I do commit code, to master or by merging a branch into master, that’s when Buddy kicks in and deploys the changes to the production site.

CSS-Tricks itself is a WordPress site, which has continuously evolved over 13 years.

But like, where do you start?

We’re talking about WordPress theme development here, so you start with a theme. Themes are literally folders of files in your WordPress installation.

root
  - /wp-content/
    - /themes/
       - /theme-name/

WordPress comes with some themes right out of the box. As I write, the Twenty Twenty theme ships with WordPress, and it’s a nice one! You could absolutely start your theme hackin’ on that.

Themes tend to have some opinions about how they organize themselves and do things, and Twenty Twenty is no different. I’d say, perhaps controversially, that there is no one true way to organize your theme, so long as it’s valid code and does things the „WordPress” way. This is just something you’ll have to get a feel for as you make themes.

Starter themes

Starter themes were a very popular way to start building a theme from scratch in my day. I don’t have a good sense if that’s still true, but the big idea was a theme with all the basic theme templates you’ll need (single blog post pages, a homepage, a 404 page, search results page, etc.) with very little markup and no styling at all. That way you have an empty canvas from which to build out all your HTML, CSS, and JavaScript yourself to your liking. Sorta like you’re building any other site from scratch with these core technologies, only with some PHP in there spitting out content.

There was a theme called Starkers that was popular, but it’s dead now. I made one called BLANK myself but haven’t touched that in a long time. In looking around a bit, I found some newer themes with this same spirit. Here’s the best three I found:

I can’t personally vouch for them, but they’ve all been updated somewhat recently and look like pretty good starting points to me. I’d give them a shot in the case that I was starting from absolute scratch on a project. I’d be tempted to download one and then spruce it up exactly how I like it and save that as my own starter in case I needed to do it again.

It feels worth mentioning that a lot of web development isn’t starting from scratch, but rather working on existing projects. In that case, the process is still getting a local environment set up; you just aren’t starting from scratch, but with the existing theme. I’d suggest duplicating the theme and changing the name while you hack on it, so even if you deploy it, it doesn’t affect the live theme. Others might suggest using the starter as a „parent” theme, then branching off into a „child” theme.

To get your local development environment all synced up with exactly what the production website is like, I think the best tool is WP DB Migrate Pro, which can yank down the production database to your local site and all the media files (paid product and a paid add-on, worth every penny).

Fancier Starter Themes

Rather than starting from absolute scratch, there are themes that come with sensible defaults and even modern build processes for you start with. The idea is that building a site with essentially raw HTML, CSS, and JavaScript, while entirely doable, just doesn’t have enough modern conveniences to be comfortable.

Here are some.

  • Morten Rand-Hendriksen has a project called WP Rig that has all sorts of developer tools built into it. A Gulp-based build process spins up a BrowserSync server for auto updating. JavaScript gets processed in Babel. CSS gets processed in PostCSS, and code is linted. He teaches WordPress with it.
  • Roots makes a theme called Sage that comes with a templating engine, your CSS framework of choice, and fancy build process stuff.
  • Ignition has a build process and all sorts of helpers.
  • Timber comes with a templating engine and a bunch of code helpers.

I think all these are pretty cool, but are also probably not for just-starting-out beginner developers.

Books

This is tough because of how many there are. In a quick Google search, I found one site selling fifteen WordPress books as a bundle for $9.99. How would you even know where to start? How good can they be for that rock bottom price? I dunno.

I wrote a book with Jeff Starr ages ago called Digging Into WordPress. After all these years, Jeff still keeps the book up to date, so I’d say that’s a decent choice! Jeff has other books like The Tao of WordPress and WordPress Themes In Depth.

A lot of other books specifically about WordPress theme development are just fairly old. 2008-2015 stuff. Again, not that there isn’t anything to be learned there, especially as WordPress doesn’t change that rapidly, but still, I’d want to read a book more recent that half a decade old. Seems like a big opportunity for a target audience as large as WordPress users and developers. Or if there is already stuff that I’m just not finding, lemme know in the comments.

Perhaps learning is shifting so much toward online that people don’t write books as much…

Online learning courses

Our official learning partner Frontend Masters has one course on WordPress focused on JavaScript and WordPress, so that might not be quite perfect for learning the basics of theme development. Still, fascinating stuff.

Here’s some others that looked good to me while looking around:

Zac’s course looks like the most updated and perhaps the best option there.

A totally different direction for theme Development

One way to build a site with WordPress is not to use WordPress themes at all! Instead, you can use the WordPress API to suck data out of WordPress and build a site however the heck you please.

This idea of decoupling the CMS and the front end you build is pretty neat. It’s often referred to as using a „headless” CMS. It’s not for everyone. (One big reason is that, in a way, it doubles your technical debt.). But it can bring a freedom to both the CMS and the front end to evolve independently.

The post Where to Learn WordPress Theme Development appeared first on CSS-Tricks.

inflated food / Ça commence à être gonflant!

Post pobrano z: inflated food / Ça commence à être gonflant!

THE ORIGINAL?
ENO digestion tablets – 2011
Click on the image to enlarge
“Make every meal light”
via : Adeevee

Agency : Grey Hong-Kong (China)
LESS ORIGINAL
Crystal butter – 2017
Click the image to enlarge
“The light choice”
Source : Adsoftheworld
Agency : Animation (Egypt)
LESS ORIGINAL
Philco Air Fryer – 2020
Click the image to enlarge
“Makes every food lighter”
Source : Adsoftheworld
Agency : Propeg (Brazil)

inflated food / Ça commence à être gonflant!

Post pobrano z: inflated food / Ça commence à être gonflant!

THE ORIGINAL?
ENO digestion tablets – 2011
Click on the image to enlarge
“Make every meal light”
via : Adeevee

Agency : Grey Hong-Kong (China)
LESS ORIGINAL
Crystal butter – 2017
Click the image to enlarge
“The light choice”
Source : Adsoftheworld
Agency : Animation (Egypt)
LESS ORIGINAL
Philco Air Fryer – 2020
Click the image to enlarge
“Makes every food lighter”
Source : Adsoftheworld
Agency : Propeg (Brazil)

inflated food / Ça commence à être gonflant!

Post pobrano z: inflated food / Ça commence à être gonflant!

THE ORIGINAL?
ENO digestion tablets – 2011
Click on the image to enlarge
“Make every meal light”
via : Adeevee

Agency : Grey Hong-Kong (China)
LESS ORIGINAL
Crystal butter – 2017
Click the image to enlarge
“The light choice”
Source : Adsoftheworld
Agency : Animation (Egypt)
LESS ORIGINAL
Philco Air Fryer – 2020
Click the image to enlarge
“Makes every food lighter”
Source : Adsoftheworld
Agency : Propeg (Brazil)

inflated food / Ça commence à être gonflant!

Post pobrano z: inflated food / Ça commence à être gonflant!

THE ORIGINAL?
ENO digestion tablets – 2011
Click on the image to enlarge
“Make every meal light”
via : Adeevee

Agency : Grey Hong-Kong (China)
LESS ORIGINAL
Crystal butter – 2017
Click the image to enlarge
“The light choice”
Source : Adsoftheworld
Agency : Animation (Egypt)
LESS ORIGINAL
Philco Air Fryer – 2020
Click the image to enlarge
“Makes every food lighter”
Source : Adsoftheworld
Agency : Propeg (Brazil)

25+ Best Free Flyer Templates (InDesign, Photoshop, Illustrator, etc.)

Post pobrano z: 25+ Best Free Flyer Templates (InDesign, Photoshop, Illustrator, etc.)

Looking to publicise the opening of a new restaurant or promote your upcoming car boot sale or meditation workshop? Flyers are an eye-catching and cost-effective way to successfully target potential clients, and a foolproof way of creating great flyers is to use a flyer template.

Just one of the terrific Premium Flyer Templates available at Placeit
Just one of the terrific premium Flyer Templates available at Placeit

But not just any flyer template will do. Flyer templates vary quite widely in quality and effectiveness and can range from premium templates to free templates. Today, we’ll share with you over 25 free flyer templates online, as well as a few premium templates for those times when only the best will do.

Best Source for Premium Flyer Templates (With a Flyer Creator)

Let’s start first with premium templates like those offered by Placeit. These high-quality flyer templates are professional, versatile, and easy to use. You can buy one template at a time if your budget is tight or choose as many flyer templates as you want for one low monthly fee. This means you can try as many templates as you want without incurring any extra costs.

One low monthly fee = unlimited access to flyer templates and to thousands of premium digital assets like:

  • mockups
  • logos
  • videos
  • various designs
  • and much more

What’s more, Placeit offers a state-of-the-art flyer creator that allows you to customise your templates quickly and easily to make them your own. 

Let’s take a quick look at a few of the outstanding premium flyer templates available at Placeit. You’ll see what I mean.

1. Flyer Maker for Professional Cleaning Services

Flyer Maker for Professional Cleaning Services

If you’re starting out in house cleaning, you need a template to let people know what services you provide. Placeit’s clean, modern designs are easy to adapt to communicate your message, and if you ever get stuck, just help yourself to one of the beautiful presets found below the template, which give you many more flyer ideas.

2. Flyer Maker for Nature Cosmetics With Nature Images

Flyer Maker for Nature Cosmetics with Nature Images

Need help creating the perfect flyer for your natural cosmetic company, makeup classes, special beauty deals, and other beauty-related services? You’ll be more than happy with this flyer template, which offers a number of wonderful photo backgrounds, font styles, and colour customisation options. Try it. We think you’ll like it. 

3. Colorful Flyer Creator for Promotions and Trade Shows

Colorful Flyer Creator for Promotions and Trade Shows

If you need to create a flyer for an event or trade show, this is a great choice. The template and the presets you can find below it give you plenty of great flyer design ideas. What’s more, you can easily make the template your own by using the flyer generator to customise it. 

4. Flyer Maker Template for Jewelry and Makeup Ad

Flyer Maker Template for Jewelry and Makeup Ad

If you’re in the makeup or jewellery business and looking for the best flyers to advertise your upcoming sale, check out this flyer template and its presets. They provide you with a number of gorgeous photos of women and men modelling jewellery, but you can also upload your own photos showing your own stock and special offers. 

5. Suits Online Flyer Maker

Suits Online Flyer Maker

Looking for flyer ideas for your tailoring business? Look no further than this great template. It offers a wide array of options for customisation using the Placeit flyer generator. What’s more, under the template there are a number of presets to choose from which offer more flyer design inspiration. 

6. House Improvement Company Flyer Maker

House Improvement Company Flyer Maker

One of the best flyers for home improvement and construction businesses, this is a flyer that you can not do without if you are in either industry and looking to make your own flyer. The flyer generator offers tons of flyer design ideas for easy customisation and will have your flyer ready to download in a matter of minutes.

7. Flyer Design Template for a Recruitment Company

Flyer Design Template for a Recruitment Company

Customise this fabulous template to promote your next corporate event. This extremely versatile events flyer will get you started. Use the left side of the flyer creator to add your company’s information, and tweak the colours and graphics on the right. If you want a few more flyer design ideas to choose from, try one of the presets below the flyer creator.

8. Online Flyer Maker for Meditation Classes

Online Flyer Maker for Meditation Classes

If you looking for premium flyer design templates to help you create a flyer for your upcoming meditation class, this online flyer is a great choice. Just enter your class info, select calming colours and one of the wonderful photos on offer, and you’re all set. 

9. Online Flyer Maker for Hip Hop Dance Classes

Online Flyer Maker for Meditation Classes

This is just the flyer you need to announce your next dance class. The Placeit flyer creator will help you create the most beautiful flyer possible. As is the case with the other flyer templates featured here, you have a stunning collection of images, great fonts, and useful graphics to help you personalise your flyer.

10. Online Flyer Maker for Rock Climbing

Online Flyer Maker for Rock Climbing

What makes this template so great is that everything about it communicates action. The photo of the climber in motion, the bold text with bright colour, and the awesome textured frame effects all work together to make this a great flyer template.

11. Online Flyer Maker for Flower Shops With Floral Arrangements

Online Flyer Maker for Flower Shops with Floral Arrangements

A beautiful template for flower shops to announce openings, specials, and/or promotions. The template gives you a great foundation to start from and, using the flyer maker, you can customise the template as much or as little as you need. 

12. Coffee Cup Online Flyer Maker

Coffee Cup Online Flyer Maker

Placeit offers many flyer ideas for coffee shops and cafes, but this template is one of the best flyers in that category. Customisation is easy and fast using the flyer creator. 

13. Creative Flyer Maker for Photographers

Creative Flyer Maker for Photographers

This elegant flyer design template is for photographers. It features a patterned and coloured background to which you can add a header, secondary and/or tertiary text, a selection of beautiful drawings of cameras, and a collection of clever camera-related logos. Every feature is customisable.

14. Online Flyer Design Template for a Taco Restaurant

Online Flyer Design Template for a Taco Restaurant

Looking for flyer design inspiration for your Mexican-themed restaurant? Check out this awesome template for a taco restaurant. The template is super easy to customise using the Placeit flyer generator. If this template doesn’t quite work for you, don’t worry—check out the presets offered with this template for other terrific flyer design ideas.

15. Flyer Design Maker for Nutrition Conference

Flyer Design Maker for Nutrition Conference

Get more flyer design inspiration with this amazing template promoting nutrition conference. You can customise the template in minutes using the flyer generator and let potential clients know you’re there to help them live a better and longer life. 

Best Free InDesign Flyer Templates

Now that you have a good idea of the kind of quality template available to you, let’s look at the best free flyer templates you can find around the internet. These are useful if you need a flyer ASAP but have no budget to buy yourself a premium template. Remember, though, even the best free template is no match for the top-quality flyer templates found at Placeit. 

1. Corporate Flyer

 Corporate Flyer

This free business flyer template is part of a collection of three layouts that you can use for business purposes. It’s designed using InDesign so you’ll need to have a good knowledge of the software in order to edit the free flyer templates for your needs. 

2. Bi Fold Business Brochure Template

When you’re looking for a free printable flyer template, you may have to think outside the box. For example, this template is billed as a brochure but can definitely be used as a flyer with a bit of tweaking in Photoshop, InDesign, or Illustrator. 

3. Free Multipurpose Retro Trifold Brochure Template

Get this brochure template to showcase your company. Instantly download this easy-to-edit template that uses high-quality layout and graphic files. It is free to download in multiple formats.

4. FREE InDesign Bundle

This free flyer design template comes in a bundle of ten different designs. All files are created using InDesign, so you will need good knowledge of the program to customise the files. 

5. Annual Finance Flyer Design

If you’re looking to create a flyer for your next promotional campaign, recruitment drive, or trade fair, check out this free business flyer template. All files are offered in AI and EPS, so you’ll need Illustrator to edit and customise your downloads.

6. Free Retro Multipurpose Bifold Brochure Template

If you need a free flyer design template, there’s nothing stopping you from adapting a brochure template like this one to your purpose. The files are offered in InDesign, Illustrator, Microsoft Word, Publisher, Apple Pages, QuarkXPress, or CorelDraw. Pick your choice in order to customise the file. 

7. Free Brand A4 Flyer Mockup

Free Brand A4 Flyer Mockup

Another free flyer design template, this stylish double-sided free printable flyer template is perfect for those in the travel industry but would equally well for other industries. 

8. Flyer Design Template

Here’s another free business flyer template that can be adapted to a myriad of purposes and businesses. Edit your file using Photoshop.  

9. Weekly Special Flyer Template

Use this free flyer template online for promoting the weekly specials of your establishment. Instant download anytime, anywhere, at an affordable price. Easy to edit and fully customisable in a number of different software applications, including InDesign, Illustrator, and Microsoft Word.

10. Business Flyer Blueish Black Flyer Design

This free business flyer template is designed for office-based business. You can use it to announce events like trade fairs and conferences. Or use it for direct marketing or to create brand awareness. Use Photoshop to add photos and to change the colours and fonts to reflect your brand.

11. Flyer Template Green Curves

Looking for a stylish and free flyer template online? Check this one out. The double-sided template is edited in Illustrator and can be used for a number of different marketing drives.

12. Minimal Corporate Flyer Template

This free flyer templates online makes a pretty bold statement with colour and shape and strategically placed photos and text. Edit it in Photoshop to make it your own. 

13. Free Flyer Template

 Free Flyer Template

This free business flyer template offers two different layouts in six different colours. The PSD file is well organised in layers and is fully editable in Photoshop.

14.  Sale Flyer – Microsoft Flyer Template

If you’re looking for a free event flyer template for a sales event, this might just be the flyer for you. You can let your target audience know the when, where, and what of your sales event. Also, let them know about discounts to get them excited about attending. Use this template as is or change the colours and fonts to suit your taste.

15. Fitness Flyer Design Template

This free club flyer template is designed specifically to be used by gyms, body training, or even for fitness centres. The vector file is editable in Illustrator.

16. We Have Moved New House Flyer Template PSD

This real estate flyer template is free to download. It can be adapted for house sales, moving announcements, or house-warming parties. The file is editable in PSD. 

17. Free Single US letter Flyer Mockup

A free flyer design templates featuring a US letter size flyer that come four different layouts and is presented in layered PSD files. 

18. Free Party Flyer Template

Get ready for Christmas with this free party flyer template. All the elements are well grouped and easy to edit, move, etc. The template comes in PSD format and is print ready at 300 DPI.  

19. Medical Flyer Design With Free Mockup

Medical Flyer Design With Free Mockup

A free printable flyer template for those in the medical profession, the template is organised in a layered PSD file to make it easy for you to edit. 

20. Free Electro Concert Flyer Template

This free party flyer template is specifically designed as a concert flyer consisting of a dynamic image and simple layout. The file can be edited and fully customised in Photoshop and Illustrator.

21. Flyer Sets Geometric Style White Background

This free printable flyer template can be used for any purpose, from promoting an event or sale to announcing a recruitment drive. The file is fully editable in Illustrator. 

22. Free Modern Picnic Party Flyer Template for 2020

A fun and free event flyer template designed specifically for any kind of event like a picnic, party, or barbecue. The fully editable US letter sized template is presented in a layered PSD document for your convenience. 

23. Travel Flyer Template Free Vector

This free flyer design template targets travel-related businesses. The template is editable in Illustrator, so you can add your own photos and change the text and colours to match your brand or taste. 

24. Abstract Business Flyer Template Free Vector

If you’re trying to figure out how to make a flyer for your small business, this free business flyer template is available to download and use. The template features a photo of two business people shaking hands that is partially overlayed with a yellow grid. Knowledge of Illustrator is needed to customise this file. 

25. Free Flyer Template & Examples

Free Flyer Template  Examples

Check out these free flyer templates online, which offer three different layouts for IT-related services. The files are offered in InDesign, Illustrator, Microsoft Word, Publisher, Apple Pages, QuarkXPress, or CorelDraw. 

Choose the Best Flyer Template Today 

If you’re cash-strapped and looking for free flyer templates, our list of the top free printable flyer templates is a good place to start. But if you need to create flyers and other graphic materials regularly, then Placeit may be worth the investment. There you can download one premium flyer template at a time for one low fee or unlimited premium templates and other resources for one low monthly fee.

Head on over to Placeit today to choose your favourite flyer template and start creating gorgeous flyers that’ll catch and hold the eye of your target audience.

If you want to get more information on top-quality flyer templates, check out these articles:

25+ Best Free Flyer Templates (InDesign, Photoshop, Illustrator, etc.)

Post pobrano z: 25+ Best Free Flyer Templates (InDesign, Photoshop, Illustrator, etc.)

Looking to publicise the opening of a new restaurant or promote your upcoming car boot sale or meditation workshop? Flyers are an eye-catching and cost-effective way to successfully target potential clients, and a foolproof way of creating great flyers is to use a flyer template.

Just one of the terrific Premium Flyer Templates available at Placeit
Just one of the terrific premium Flyer Templates available at Placeit

But not just any flyer template will do. Flyer templates vary quite widely in quality and effectiveness and can range from premium templates to free templates. Today, we’ll share with you over 25 free flyer templates online, as well as a few premium templates for those times when only the best will do.

Best Source for Premium Flyer Templates (With a Flyer Creator)

Let’s start first with premium templates like those offered by Placeit. These high-quality flyer templates are professional, versatile, and easy to use. You can buy one template at a time if your budget is tight or choose as many flyer templates as you want for one low monthly fee. This means you can try as many templates as you want without incurring any extra costs.

One low monthly fee = unlimited access to flyer templates and to thousands of premium digital assets like:

  • mockups
  • logos
  • videos
  • various designs
  • and much more

What’s more, Placeit offers a state-of-the-art flyer creator that allows you to customise your templates quickly and easily to make them your own. 

Let’s take a quick look at a few of the outstanding premium flyer templates available at Placeit. You’ll see what I mean.

1. Flyer Maker for Professional Cleaning Services

Flyer Maker for Professional Cleaning Services

If you’re starting out in house cleaning, you need a template to let people know what services you provide. Placeit’s clean, modern designs are easy to adapt to communicate your message, and if you ever get stuck, just help yourself to one of the beautiful presets found below the template, which give you many more flyer ideas.

2. Flyer Maker for Nature Cosmetics With Nature Images

Flyer Maker for Nature Cosmetics with Nature Images

Need help creating the perfect flyer for your natural cosmetic company, makeup classes, special beauty deals, and other beauty-related services? You’ll be more than happy with this flyer template, which offers a number of wonderful photo backgrounds, font styles, and colour customisation options. Try it. We think you’ll like it. 

3. Colorful Flyer Creator for Promotions and Trade Shows

Colorful Flyer Creator for Promotions and Trade Shows

If you need to create a flyer for an event or trade show, this is a great choice. The template and the presets you can find below it give you plenty of great flyer design ideas. What’s more, you can easily make the template your own by using the flyer generator to customise it. 

4. Flyer Maker Template for Jewelry and Makeup Ad

Flyer Maker Template for Jewelry and Makeup Ad

If you’re in the makeup or jewellery business and looking for the best flyers to advertise your upcoming sale, check out this flyer template and its presets. They provide you with a number of gorgeous photos of women and men modelling jewellery, but you can also upload your own photos showing your own stock and special offers. 

5. Suits Online Flyer Maker

Suits Online Flyer Maker

Looking for flyer ideas for your tailoring business? Look no further than this great template. It offers a wide array of options for customisation using the Placeit flyer generator. What’s more, under the template there are a number of presets to choose from which offer more flyer design inspiration. 

6. House Improvement Company Flyer Maker

House Improvement Company Flyer Maker

One of the best flyers for home improvement and construction businesses, this is a flyer that you can not do without if you are in either industry and looking to make your own flyer. The flyer generator offers tons of flyer design ideas for easy customisation and will have your flyer ready to download in a matter of minutes.

7. Flyer Design Template for a Recruitment Company

Flyer Design Template for a Recruitment Company

Customise this fabulous template to promote your next corporate event. This extremely versatile events flyer will get you started. Use the left side of the flyer creator to add your company’s information, and tweak the colours and graphics on the right. If you want a few more flyer design ideas to choose from, try one of the presets below the flyer creator.

8. Online Flyer Maker for Meditation Classes

Online Flyer Maker for Meditation Classes

If you looking for premium flyer design templates to help you create a flyer for your upcoming meditation class, this online flyer is a great choice. Just enter your class info, select calming colours and one of the wonderful photos on offer, and you’re all set. 

9. Online Flyer Maker for Hip Hop Dance Classes

Online Flyer Maker for Meditation Classes

This is just the flyer you need to announce your next dance class. The Placeit flyer creator will help you create the most beautiful flyer possible. As is the case with the other flyer templates featured here, you have a stunning collection of images, great fonts, and useful graphics to help you personalise your flyer.

10. Online Flyer Maker for Rock Climbing

Online Flyer Maker for Rock Climbing

What makes this template so great is that everything about it communicates action. The photo of the climber in motion, the bold text with bright colour, and the awesome textured frame effects all work together to make this a great flyer template.

11. Online Flyer Maker for Flower Shops With Floral Arrangements

Online Flyer Maker for Flower Shops with Floral Arrangements

A beautiful template for flower shops to announce openings, specials, and/or promotions. The template gives you a great foundation to start from and, using the flyer maker, you can customise the template as much or as little as you need. 

12. Coffee Cup Online Flyer Maker

Coffee Cup Online Flyer Maker

Placeit offers many flyer ideas for coffee shops and cafes, but this template is one of the best flyers in that category. Customisation is easy and fast using the flyer creator. 

13. Creative Flyer Maker for Photographers

Creative Flyer Maker for Photographers

This elegant flyer design template is for photographers. It features a patterned and coloured background to which you can add a header, secondary and/or tertiary text, a selection of beautiful drawings of cameras, and a collection of clever camera-related logos. Every feature is customisable.

14. Online Flyer Design Template for a Taco Restaurant

Online Flyer Design Template for a Taco Restaurant

Looking for flyer design inspiration for your Mexican-themed restaurant? Check out this awesome template for a taco restaurant. The template is super easy to customise using the Placeit flyer generator. If this template doesn’t quite work for you, don’t worry—check out the presets offered with this template for other terrific flyer design ideas.

15. Flyer Design Maker for Nutrition Conference

Flyer Design Maker for Nutrition Conference

Get more flyer design inspiration with this amazing template promoting nutrition conference. You can customise the template in minutes using the flyer generator and let potential clients know you’re there to help them live a better and longer life. 

Best Free InDesign Flyer Templates

Now that you have a good idea of the kind of quality template available to you, let’s look at the best free flyer templates you can find around the internet. These are useful if you need a flyer ASAP but have no budget to buy yourself a premium template. Remember, though, even the best free template is no match for the top-quality flyer templates found at Placeit. 

1. Corporate Flyer

 Corporate Flyer

This free business flyer template is part of a collection of three layouts that you can use for business purposes. It’s designed using InDesign so you’ll need to have a good knowledge of the software in order to edit the free flyer templates for your needs. 

2. Bi Fold Business Brochure Template

When you’re looking for a free printable flyer template, you may have to think outside the box. For example, this template is billed as a brochure but can definitely be used as a flyer with a bit of tweaking in Photoshop, InDesign, or Illustrator. 

3. Free Multipurpose Retro Trifold Brochure Template

Get this brochure template to showcase your company. Instantly download this easy-to-edit template that uses high-quality layout and graphic files. It is free to download in multiple formats.

4. FREE InDesign Bundle

This free flyer design template comes in a bundle of ten different designs. All files are created using InDesign, so you will need good knowledge of the program to customise the files. 

5. Annual Finance Flyer Design

If you’re looking to create a flyer for your next promotional campaign, recruitment drive, or trade fair, check out this free business flyer template. All files are offered in AI and EPS, so you’ll need Illustrator to edit and customise your downloads.

6. Free Retro Multipurpose Bifold Brochure Template

If you need a free flyer design template, there’s nothing stopping you from adapting a brochure template like this one to your purpose. The files are offered in InDesign, Illustrator, Microsoft Word, Publisher, Apple Pages, QuarkXPress, or CorelDraw. Pick your choice in order to customise the file. 

7. Free Brand A4 Flyer Mockup

Free Brand A4 Flyer Mockup

Another free flyer design template, this stylish double-sided free printable flyer template is perfect for those in the travel industry but would equally well for other industries. 

8. Flyer Design Template

Here’s another free business flyer template that can be adapted to a myriad of purposes and businesses. Edit your file using Photoshop.  

9. Weekly Special Flyer Template

Use this free flyer template online for promoting the weekly specials of your establishment. Instant download anytime, anywhere, at an affordable price. Easy to edit and fully customisable in a number of different software applications, including InDesign, Illustrator, and Microsoft Word.

10. Business Flyer Blueish Black Flyer Design

This free business flyer template is designed for office-based business. You can use it to announce events like trade fairs and conferences. Or use it for direct marketing or to create brand awareness. Use Photoshop to add photos and to change the colours and fonts to reflect your brand.

11. Flyer Template Green Curves

Looking for a stylish and free flyer template online? Check this one out. The double-sided template is edited in Illustrator and can be used for a number of different marketing drives.

12. Minimal Corporate Flyer Template

This free flyer templates online makes a pretty bold statement with colour and shape and strategically placed photos and text. Edit it in Photoshop to make it your own. 

13. Free Flyer Template

 Free Flyer Template

This free business flyer template offers two different layouts in six different colours. The PSD file is well organised in layers and is fully editable in Photoshop.

14.  Sale Flyer – Microsoft Flyer Template

If you’re looking for a free event flyer template for a sales event, this might just be the flyer for you. You can let your target audience know the when, where, and what of your sales event. Also, let them know about discounts to get them excited about attending. Use this template as is or change the colours and fonts to suit your taste.

15. Fitness Flyer Design Template

This free club flyer template is designed specifically to be used by gyms, body training, or even for fitness centres. The vector file is editable in Illustrator.

16. We Have Moved New House Flyer Template PSD

This real estate flyer template is free to download. It can be adapted for house sales, moving announcements, or house-warming parties. The file is editable in PSD. 

17. Free Single US letter Flyer Mockup

A free flyer design templates featuring a US letter size flyer that come four different layouts and is presented in layered PSD files. 

18. Free Party Flyer Template

Get ready for Christmas with this free party flyer template. All the elements are well grouped and easy to edit, move, etc. The template comes in PSD format and is print ready at 300 DPI.  

19. Medical Flyer Design With Free Mockup

Medical Flyer Design With Free Mockup

A free printable flyer template for those in the medical profession, the template is organised in a layered PSD file to make it easy for you to edit. 

20. Free Electro Concert Flyer Template

This free party flyer template is specifically designed as a concert flyer consisting of a dynamic image and simple layout. The file can be edited and fully customised in Photoshop and Illustrator.

21. Flyer Sets Geometric Style White Background

This free printable flyer template can be used for any purpose, from promoting an event or sale to announcing a recruitment drive. The file is fully editable in Illustrator. 

22. Free Modern Picnic Party Flyer Template for 2020

A fun and free event flyer template designed specifically for any kind of event like a picnic, party, or barbecue. The fully editable US letter sized template is presented in a layered PSD document for your convenience. 

23. Travel Flyer Template Free Vector

This free flyer design template targets travel-related businesses. The template is editable in Illustrator, so you can add your own photos and change the text and colours to match your brand or taste. 

24. Abstract Business Flyer Template Free Vector

If you’re trying to figure out how to make a flyer for your small business, this free business flyer template is available to download and use. The template features a photo of two business people shaking hands that is partially overlayed with a yellow grid. Knowledge of Illustrator is needed to customise this file. 

25. Free Flyer Template & Examples

Free Flyer Template  Examples

Check out these free flyer templates online, which offer three different layouts for IT-related services. The files are offered in InDesign, Illustrator, Microsoft Word, Publisher, Apple Pages, QuarkXPress, or CorelDraw. 

Choose the Best Flyer Template Today 

If you’re cash-strapped and looking for free flyer templates, our list of the top free printable flyer templates is a good place to start. But if you need to create flyers and other graphic materials regularly, then Placeit may be worth the investment. There you can download one premium flyer template at a time for one low fee or unlimited premium templates and other resources for one low monthly fee.

Head on over to Placeit today to choose your favourite flyer template and start creating gorgeous flyers that’ll catch and hold the eye of your target audience.

If you want to get more information on top-quality flyer templates, check out these articles:

Agregator najlepszych postów o designie, webdesignie, cssie i Internecie