déc., 2018 : WordPress 5.0 Comes with Gutenberg Update


todhost.com logo📅 - WordPress 5.0 is here with a major update - Gutenberg, The Gutenberg update is the biggest single update in WordPress history. The WordPress Gutenberg blocks which will be beginning with WordPress 5.0, completely changes the way posts and edits are done in WordPress. In this post, we explain how the new blocks work with the new Gutenberg WordPress Editor.

Before we go any further, you should check out our WordPress Gutenberg Ultimate Guide. That post and ebook covers information that this how-to will assume you already know. The Classic Editor plugin will only be officially supported until December 31, 2021, so you can only delay the inevitable for so long.

What are WordPress Gutenberg Blocks?

Gutenberg blocks allow you to insert a specific type of content into your post and then edit them independently of the other blocks. Using just a click and a drag of a mouse, you can completely reorganize the structure a post or page. Blocks allow you to create rich posts without needing to know any code.

The WordPress Gutenberg Common Blocks

1. Lists

Add a list to your page or post using the List block.

Block Options:

Convert to an unordered list.
Convert to an ordered list.
Outdent list item.
Indent list item.

On a numbered list you can indent and convert a list item to create a mixed list.

2. Paragraph

Use the Paragraph block to add a new paragraph.
Block Options:

Align Left
Align Center
Align Right
Bold
Italic
Link
Strikethrough
Text Settings
Background Color
Text Color

The Gutenberg Editor allows you to easily and quickly make basic text modifications. You can change the font size but using the preconfigured small, normal, medium, large and huge.

You can also set the font size using the pixels.

The Color Settings allow you to make important text standout without leaving the editor or adding your own CSS.

3. Heading

Use the Heading block to add a heading to your post.

Select Heading Size
Text Formatting
Heading Size
Align Text

4. File

Using a FIle block, you can create a link to view the file or create a button to download the file.

Transform Block Type
Align Left
Align Center
Align Right
Wide Width
Full Width
Edit File
Text Link Settings
Download Button Settings

5. Quote

The Quote block allows you to easily add a quote and citation to your page or post.

Quote Alignment
Text Formatting
Quote Styles

The Quote block settings allow you to choose the style and align the block to your liking.

6. Gallery

Create a gallery from a group of images.

Gallery Alignment
Edit Gallery
Set the Number of Columns
Crop Images Toggle

The Gallery block allows you to drag and drop pictures onto your page or post and the Gutenberg editor will auto create a Gallery for you.

The Edit Gallery option lets add captions or new images and rearrange the order of the images.

The Crop Images toggle will attempt to crop the images to make thumbnails the same size, which can have a less than desirable result. When using the Gallery block, you will want to add images that share a similar dimension.

7. Image

Add an image to your post.

Align Image
Edit Image
Alternative Text
Select Image Size
Choose Custom Image Size
Link Settings

Now you can add an image without entering your Medial Libray, drag and drop the image straight into your post.

You can click the Edit Image option if you need to change the image being displayed. You can also set the Alt Text for the image without leaving the editor.

When adding an image, you can choose one of the three auto-formatted sizes, Thumbnail, Medium or Full.

You can also use the Image Dimension settings to set a custom Width and Height for the image.

8. Cover Image

The Cover Image allows you to set the image that will be used for your blog post.

Align Image
Align Text
Change Image Used for Cover block
Toggle Fixed Background On and Off
Overlay Color
Background Opacity

Depending on the theme you are using, a cover image will be displayed along with your post, making it more inviting to potential readers.

You can use the Overlay settings to select the overlay color and choose the overlay’s opacity.

9. Audio

Insert an audio clip into your post.

Align Audio Block
Edit Audio Block
Toggle Autoplay and Loop On and Off
Preload Options

The Preload option allows you to control what is preloaded for people visiting the site.

10. Video

Add a video to your post.

Align Video
Change Video
Toggle Autoplay, Loop, Mute, and Playback Controls On and Off
Choose The Preload Options
Add a Poster Image for the Video

WordPress Gutenberg Formatting Blocks

1. Custom HTML

Are you not finding exactly what you need in a WordPress Gutenberg Block? Use the Custom HTML block to add your HTML to the site.

View the HTML block
Preview your HTML

2. Pull Quote

Add a Pull Quote to draw attention to an excerpt from the post.

Align Pull Quote
Format Text
Choose Pull Quote Style
Select Pull Quote Color
Select Text Color

3. Classic Editor

Use the classic WYSIWYG editor.

4. Table

Add a table to your page or post.

Align Table
Modify Table
Format Text
Choose Table Style
Toggle Fixed Width Cells On and Off
Choose Number of Rows and Columns and Create Table
Created Table

When you add a Table block, you will need to choose the desired number of columns and rows before creating the table.

You will still be able to add and remove columns and rows after the table is created.

5. Verse

Add a verse from a poem or song to your site.

Align Verse Block
Format Text

6. Code

Add a code block to a post or page.

Here is what the code snippet will look like to your visitors.

7. Preformatted

Add Preformatted text to your site.

Here is the Preformatted block on the front end of your site.

WordPress Gutenberg Layout Elements Blocks

1. Spacer

Add some white space between blocks.

Slide the spacer block up and down to get the desired amount of white space between blocks.

2. Column

Organize content using the Column block.

Align Columns Block
Format Text
Adjust Font Size and Enable Drop Cap
Adjust the Text and Background Color

3. More

Create a teaser on your Home or Blog page for a post.

Choose if you want the Tease text to show in the actual post.

This is what you will see on the blog page

And here is what you will see on the post’s page when the Hide Teaser option is toggled on.

4. Button

Add a call to action with a Button block.

Align Button
Format Text
Select Button Style
Choose Text and Background Color

You can add a URL to the button to create a link.

5. Media Text

Toggle Between Wide Width and Full Width
Show Media on Right or Left of Text
Change Image or Video
Toggle Stacking for Mobile and Add Alt Text to Image
Change Background Color

Use the slider to change the amount of real estate that the media or text use. Select the text box to adjust font-size and color.

6. Page Break

Separate a post into pages.

7. Separator

Create a break between ideas or sections with a horizontal separator.

The WordPress Gutenberg Widget Blocks

1. Latest Posts

You can add a widget with links to recent posts using the Latest Post block.

Align Widget
Display Posts Using Lists or Grids
Choose How to Order Posts
Select Post Category to Display
Number of Post to Display
Toggle Post Date On and Off

2. Shortcode

Add an existing plugin’s shortcode using the Shortcode block.

3. Archives.

Add a widget with a link to your site’s archives.

Align Widget
Toggle Dropdown and Post Counts On and Off

4. Categories

Add a widget linking to Post categories.

Align Widget
Display Settings

5. Comments

Display a widget with the most recent comments with the Comments block.

Align Widget
Display Settings

todhost.com Lit: 1071 | Catégorie: General | La source: WHTop : www.WHTop.com
Source d'URL: https://www.todhost.com/announcements/66/WordPress-50-Comes-with-Gutenberg-Update.html

Entreprise: Tod Host

Voulez-vous ajouter des nouvelles sur le site Web ou un communiqué de presse? Faites-le, c'est gratuit! Utilisation ajouter des nouvelles sur l'hébergement web!

Autres nouvelles


mind.hosting logo📅 - MIND HOSTING SPONSOR DE AFRICA BOOTCAMP 2020 - Nous sommes heureux d'être sponsors de l'Africa Bootcamp 2020 qui se déroulera du 12 au 14 Février 2020.
Manouba Technopark - Tunisia et Leaders Africains Conscients sont les organisateurs de cet événement et notre vision est d’apporter l’énergie nécessaire à un élan collectif positif en soutenant, encadrant, formant, valorisant et donnant de l’espoir à la jeunesse qui fera le monde de demain, tout en leur offrant l’opportunité de devenir les futurs « fer de lance » d’un monde meilleur, avec l’apport de compétences nouvelles, d’une volonté d’innover, d'une passion pour la réalisation des objectifs axés sur le leadership multisectoriel au pays Africains.
lien : ...
novahoster.tn logo📅 - Histoire de l'hébergement web en Tunisie - Au début des années 2000, ce sont les fournisseurs de service internet qui avaient le monopole sur l’hébergement web en Tunisie, depuis 2009 NovaHoster est devenu le leader de l'hébergement web en Tunisie avec plus de 2000 clients actifs, novahoster offre des packs d'hébergement de grande capacité des nom de domaine, des serveurs dédiés, serveur VPS et même les certificats ...
oxahost.tn logo📅 - Le référencement naturel, la clé pour être 1er sur Google - La 1ère place sur Google, c’est l’ambition de tous les sites présents sur la toile ! Ceci veut dire plus de visibilité et de notoriété afin de générer plus de trafic et par conséquence plus de conversions (ventes, devis, contacts, affichage, etc.).
Pour y parvenir, il faut suivre la bonne stratégie et avoir le minimum de connaissances en matière de référencement naturel afin de répondre parfaitement aux exigences du plus grand moteur de recherche, Google.
Cet article vous aidera à peaufiner votre présence sur le web et à optimiser votre site afin de lui donner les meilleures chances pour surclasser ses concurrents.


Lire la ...