Articles de blog

GutenKit Blog Posts is a special block when it comes to intuitively displaying your blog post on your WordPress website. It is available with all the styling options to let you customize the title, blog excerpts, meta-text, appearance of the featured image, button, etc.

In this documentation, we will go over how the GutenKit blog posts block works.

How to Use GutenKit Blog Posts Block #

We’ll start by installing the Gutenkit plugin on your WordPress website. Then, do the following steps:

Step 1: Add GutenKit Blog Posts Block #

Head to your WordPress dashboard and start from an existing page or add a new page. Enable the block editor and click the “+" Icône en haut de l'écran de l'éditeur de blocs. 

Then, search for GutenKit Blog Post and when it appears, just click the icon or drag & drop it.

Step 2: Set A Blog Layout #

Gutenkit Blog Post Block

Dans l'onglet Paramètres avancés, vous pouvez configurer la disposition du bloc Accordéon, l'arrière-plan, les styles de bordure et contrôler sa visibilité.

Sous le Onglet Contenu, you will see the Mise en page option. From here, you’ll choose the preferred layout type and whether to show the title, text, image, etc.

Note that this setting option will look different depending on your chosen layout. 

Let’s see:

1st Layout:

  • Afficher l'image sélectionnée: Enable this toggle button to show the featured image with the blog post.
  • Image Position: Show the featured image on the right and the content on the left or vice versa

2nd Layout:

  • Select Columns: Define the column number of the grid post layout.
  • Grid Gaps: Use the slider to determine the space in the grid layout.
  • Show Read More Button: This toggle button to let you control of displaying the Read More button.

3rd Layout:

  • Afficher l'image sélectionnée: Choose to show the featured image or not.
  • Image Position: Show the image to the top or left.

All Layout:

  • Sélectionnez la taille de l'image: Select the size of the image from the dropdown. (Thumbnail, Medium, Large, Full)
  • Thumbnail & Content Spacing: Use this bar to define the gap between image and content.
  • Montrer le titre: Enable this toggle button to show the title of each blog.
    • Titre de la récolte par mots: Define the maximum number of words you want to show for your blog title.
  • Show Content: Use this toggle button to show or hide a preview or short snippet of each post’s content, also known as the excerpt.
    • Crop Content By Words: Customize the post excerpt length by adding a number in this box.

Step 3: Configure Query Parameters #

The following options will allow you to configure the blog posts displayed according to different queries.

  • Number Of Posts: Choose the number of posts you want to show on par pages.
  • Select Posts By: Show your most recent posts, a specific category of posts, or select posts one by one.
    • Select Posts: Select preferred posts one by one to display.
    • Sélectionnez les catégories: Choose a specific post category type.
  • Compenser: Use this setting to skip over posts (e.g. “2” to skip over 2 posts).
  • Commandé par: Show blog post according to Date, Author, or Title.
  • Commande: Choose between ascending or descending order type.

Step 4: Add Blog Post Meta #

The next two settings are applicable if you choose the third layout only.

  • Show Floating Date: Activating this option will display the blog’s published date floatingly. There are two distinct design options available.
  • Show Floating Category: Display the category of the blog post with floating animation.
  • Afficher les métadonnées: Enabling this toggle button will show all meta text/data of your blog post like date, category, author, etc.
    •  Meta Data Position: Choose where to show all meta text/data of your blog post. You can place them before or after the title, or after the (excerpt) content.
    • Select Meta Data: From the dropdown of this box, you will select the meta text/data you want to show. You can choose an avatar for the author and separately select icons for category, date, and comment.
  • Show Author Avatar: Enable this toggle button to show the author avatar instead of the author icon.
  • Author Icon: Add author icons from the library or upload one from your SVG file.
  • Icône de date: Like the previous option, choose an icon from the date.

Step 5: Add Read More Button #

  • Étiquette: Enter your custom text for the Read More button.
  • Ajouter une icône: Click this toggle button to show the icon with the button.
  • Icône: Choose an icon from the library or add one from your device.
  • Position de l'icône: Define the icon position between before or after the button text.
  • Alignement: Select the button’s horizontal position (Left, Center, Right).

Step 6: Style Blog Post Layout #

Now, we will look at all the customization options for displaying your blog posts. For this, go to the Onglet Style.

Emballage : #

  • Arrière-plan: Add a background type between solid color, gradient, or image for the area within the wrapper area. (Image background doesn’t support in hover state)
  • Boîte ombre: Use these controls to apply a shadow effect around the wrapper.
  • Frontière: From here, you can use the slider to define the border width, add a color from the color picker, and select a border style.
  • Rayon de frontière: Enter a custom value to adjust the roundness of the border.
  • Rembourrage: Include a value to define the space between the content and wrapper.
  • Marge: Determine the space outer of the wrapper area with other elements.

Contenu:

  • Rembourrage: Use this box to create a gap outside of content (titles, images, and text) areas.
  • Couleur de l'arrière plan: Use this color picker to add color only to the content area.
  • Boîte ombre: Add a box shadow animation style around the content area on normal or hover effects. 
  • Frontière: This setting area facilitates the thickness of the border, and its color and style. 

Featured Image: #

You will only see this setting area if you enable the Display Featured Image from the Onglet Contenu

From this setting area, you add and control border and box shadow effects around the featured image. Also, set the margin and padding of the featured image with other elements.

  • Boîte ombre: Adore the featured image frame with shadow animation effects.
  • Frontière: Add a border around the featured image and control its thickness, color, and style.
  • Rayon de frontière: Define the roundness of the border of the featured image.
  • Marge: Determine the space around the featured image within the blog post item.
  • Rembourrage: Add space around 
  • Show Overlay: Apply an overlay effect on both normal and hover options.

Step 7: Style Meta  #

  • Typographie: Customize the typography of all the displayed meta text/data.
  • Alignement: Place all the meta text/data to the left, center, or right.
  • Marge du conteneur: Add inner space between the blog post meta.
  • Item Margin: Enter a value to determine the gap between all meta.
  • Item Padding: Add spaces around the meta text/data.
  • Item Spacing: Use the slider to define the gap between the meta icon and text.

The following settings are applied to both normal and hover options.

  • Couleur: Use this color picker to select a color for the post meta text/data.
  • Couleur de l'icône: Give meta text/data icon a separate color. 
  • Arrière-plan: Choisissez un type d'arrière-plan entre couleur unie et dégradé.
  • Frontière: Get all the border settings for the meta text/data.
  • Rayon de frontière: Enter a value to set the roundness of the border.
  • Boîte ombre: Apply a shadow effect to the meta text/data.
  • Ombre de texte: Beautify the text with a shadow text.

Step 8: Style Text Content #

Titre: #

Use this setting area to customize the title typography, color, text-shadow, and define the text alignment, and set the margin for both normal and hover options.

Contenu: #

From this setting area, give color to the excerpt text on normal and hover effects, style its typography, set the horizontal alignment, and show the highlight border. 

Step 9: Style Author Image #

From this setting area, define the author avatar height & width, add border & box shadow effects, and space around it.

Step 10: Style Button #

From here, add inner space to the button and customize its typography & box shadow. Also, set the color for the button and its background. 

We hope this tutorial helped you learn how to add a stunning blog posts to the block editor on your WordPress website 

Quels sont tes sentiments
Mis à jour le 5 mars 2024