Stephen Burge's Blog, page 16
May 27, 2019
How to Make Beautiful Tables in WordPress
Tables are often the best way to display complicated information but they can be difficult to make attractive.
Tables can be used to display information that needs to be compared in order for it to make sense. But sometimes they can be difficult to read and even harder to put into documents. Updating them can also be difficult if information needs to be reorganized or updated.
TablePress is an easy-to-use plugin for WordPress. It lets you create and manage beautiful tables without having to code anything. You can embed tables into posts, pages, or text widgets using a shortcode.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
Tables can be used to display information that needs to be compared in order for it to make sense. But sometimes they can be difficult to read and even harder to put into documents. Updating them can also be difficult if information needs to be reorganized or updated.
TablePress is an easy-to-use plugin for WordPress. It lets you create and manage beautiful tables without having to code anything. You can embed tables into posts, pages, or text widgets using a shortcode.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 27, 2019 21:05
How to Display a Cookie Compliance Banner in a Drupal 8 Site
Since 2018, European site-builders have a legal obligation to meet a specific requirement. Their sites must display a banner to inform people about the use of cookies.
This European requirement is mandatory in order to comply with the GDPR (General Data Protection Regulation).
In other words, you must ask user permission if you want to store cookies on the browser of a European (EU) citizen.
The EU Cookie Compliance D8 module provides an easy way to manage this type of functionality. In this tutorial, you will learn about the installation and basic configuration of this module.
Let’s start!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
This European requirement is mandatory in order to comply with the GDPR (General Data Protection Regulation).
In other words, you must ask user permission if you want to store cookies on the browser of a European (EU) citizen.
The EU Cookie Compliance D8 module provides an easy way to manage this type of functionality. In this tutorial, you will learn about the installation and basic configuration of this module.
Let’s start!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 27, 2019 17:02
May 24, 2019
CSS Flexbox #9. The align-content Property
In the third tutorial of this series, you learned that the align-items flexbox property specifies how flex-items are distributed along the cross axis of the flex-container. The align-content property specifies how the lines inside the container will be distributed, once you have applied the flex-wrap property.
The align-content property accepts 6 possible values:
stretch (default)
center
flex-start
flex-end
space-between
space-around
Let’s demonstrate this with an example!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
The align-content property accepts 6 possible values:
stretch (default)
center
flex-start
flex-end
space-between
space-around
Let’s demonstrate this with an example!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 24, 2019 09:44
CSS Flexbox #8. The flex-wrap Property
Until now, you have seen that flex-items stay on the same line, regardless of the content inside them and the space available.
With the flex-wrap property, it is possible to make flex-items wrap over to the next line.
Let’s demonstrate this property with an example.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
With the flex-wrap property, it is possible to make flex-items wrap over to the next line.
Let’s demonstrate this property with an example.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 24, 2019 07:53
May 21, 2019
New Class: Your Introduction to WordPress Plugins
This week we continue to update our training for the new Gutenberg editor.
"Your Introduction to WordPress Plugins" is a guide to WordPress plugins now that Gutenberg is here.
These videos will show you how to find, evaluate and install the best plugins for your WordPress site. You'll see plugins for SEO, planning content, eCommerce and more.
You can test out all the plugins thanks to the new OSTraining sandbox sites.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
"Your Introduction to WordPress Plugins" is a guide to WordPress plugins now that Gutenberg is here.
These videos will show you how to find, evaluate and install the best plugins for your WordPress site. You'll see plugins for SEO, planning content, eCommerce and more.
You can test out all the plugins thanks to the new OSTraining sandbox sites.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 21, 2019 09:32
May 16, 2019
How to Schedule a Revision to Go Live in WordPress
One OSTraining user asked us this week if it was possible to schedule a revision to go live in the future. This would be very helpful if you need to automatically update a Post on a future date.
This is possible in WordPress thanks to a plugin called "Revisionary". Revisionary is the plugin for managing WordPress revisions and this is one of it's most useful features.
Install Revisionary from WordPress.org.
Go to Settings > Revisionary.
On this screen, make sure that the “Scheduled Revisions” box is checked.
Now that's done, you're ready to create a scheduled revision. Please note that you can only do this with content that is marked as “Published” status.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
This is possible in WordPress thanks to a plugin called "Revisionary". Revisionary is the plugin for managing WordPress revisions and this is one of it's most useful features.
Install Revisionary from WordPress.org.
Go to Settings > Revisionary.
On this screen, make sure that the “Scheduled Revisions” box is checked.
Now that's done, you're ready to create a scheduled revision. Please note that you can only do this with content that is marked as “Published” status.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 16, 2019 13:37
May 14, 2019
How to Hide Unwanted Gutenberg Blocks in WordPress
WordPress 5.2 is out now and it brings several useful new features, both large and small.
One of the nice small improvements is the ability to disable unwanted blocks. By default, WordPress arrives with dozens of blocks and every time you install a plugin, there's a chance that the plugin will add many more.
If your site ends up with hundreds of blocks, your writing interface will be slow and confusing. Here's a preview of all the block areas, even in a default WordPress site:
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
One of the nice small improvements is the ability to disable unwanted blocks. By default, WordPress arrives with dozens of blocks and every time you install a plugin, there's a chance that the plugin will add many more.
If your site ends up with hundreds of blocks, your writing interface will be slow and confusing. Here's a preview of all the block areas, even in a default WordPress site:
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 14, 2019 08:49
May 7, 2019
Two Easy Ways to Improve the WordPress Search Results
WordPress has its own built-in search facility. This works fairly well, but it doesn’t let you make any changes to its standard settings.
If you want a search facility that searches only specific sections of your website or if you want to exclude some pages from the search you will need a plugin.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
If you want a search facility that searches only specific sections of your website or if you want to exclude some pages from the search you will need a plugin.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 07, 2019 20:02
WordPress Search Facility
WordPress has its own built-in search facility. This works fairly well, but it doesn’t let you make any changes to its standard settings.
If you want a search facility that searches only specific sections of your website or if you want to exclude some pages from the search you will need a plugin.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
If you want a search facility that searches only specific sections of your website or if you want to exclude some pages from the search you will need a plugin.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 07, 2019 20:02
How to Set Permissions for Fields in Drupal 8
The Field Permissions module in Drupal 8 allows you to set permissions (enter, edit or view) on a Drupal field, based on the role the user belongs to.
In order to demonstrate how this module works, we are going to create a content type called "Essay" for the website of a school.
There will be 2 roles:
Freshman
Sophomore.
The Freshmen permission will not be allowed to choose the subject of the essay, whereas the Sophomores will have the possibility to choose between literature and history. However, there will be no possibility to change the subject once a student has made a choice.
Let’s start!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
In order to demonstrate how this module works, we are going to create a content type called "Essay" for the website of a school.
There will be 2 roles:
Freshman
Sophomore.
The Freshmen permission will not be allowed to choose the subject of the essay, whereas the Sophomores will have the possibility to choose between literature and history. However, there will be no possibility to change the subject once a student has made a choice.
Let’s start!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on May 07, 2019 10:12