Blocksy Content Blocking Guide: Precise control of the content displayed on the page

Blocksy The theme's built-in content block feature provides flexible content insertion capabilities. Whether you want to add promotional information, member content, product recommendations, or set up a personalized header, footer, 404 page, this tool can do it.

The following describes how content blocks are created, insertion logic and common uses.

图片[1]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

What is a content block

A content block is a piece of individually editable structured content that can contain text, images,slider (computer interface element), products, buttons,form (document)and other elements, and supports associations with any part of the site.

Content Block Creation Portal

Go to the backend and click Blocksy > Content Blocks, select "Add New" in the upper right corner.

图片[2]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

In the pop-up window, select the "Hook" type, name it, and go to Gutenberg editor to edit what you want to insert.

图片[3]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

Insert page position

After editing, open any frontend page and click "Show" in the top management toolbar. Hooks", the system will display all the locations on that page where hooks can be inserted.

图片[4]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局
图片[5]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

Click on the pencil icon to the right of a particular hook to quickly generate and locate that hook. You can also copy the name of that hook and bind it manually later.

图片[6]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

Setting the insertion position and order

right-hand sidea side-bar (in software)Find the Hook Position setting in and select the insertion point (e.g. below the description on the product page). You can also set the priority to control the order of multiple content blocks before and after the same position.

图片[7]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

Priority is numeric, with 1 being at the top and larger numbers at the bottom of the display.

Setting display conditions

Content blocks can be selected to be displayed only on certain pages, for example:

  • Blog Post Page
  • Specific article types (e.g., products)
  • Content under a category or tag
图片[8]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

It is also possible to exclude specific pages.

Setting Visitor Conditions

Support for controlling whether different visitors can see content, for example:

  • All visitors
  • logged in user
  • Assign roles (e.g., client, author)
图片[9]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

This is very useful when setting up members-only modules.

Setting the device adaptation display

You can set whether a block of content is displayed on a desktop, tablet or mobile device to make the page clearer on different devices.

图片[10]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

Setting the expiration time

Content blocks can be set to display for a set period of time and automatically hide after expiration. Suitable for time-limited activities or temporary notifications.

图片[11]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

Dynamic insertion function

In addition to the fixed position hooks, theBlocksy Automatic insertion based on page structure is also supported:

  • Can be set at the Nth Gutenberg Insert content after block
  • or insert module before the Nth heading

Ideal for inserting subscription boxes, advertisements, recommended courses, etc. into long articles.

Publish and view results

After editing, click "Publish" to refresh the front page, you can see the content block appear in the specified position according to the settings.

图片[12]-Blocksy 内容块完整教程:实现灵活内容插入与个性化布局

summarize

Blocksy The content block feature is perfect for flexible layout of page content. The combination of hooks, conditional controls, device adaptation and dynamic structure insertion can help you easily achieve diverse content layout goals.

Recent Updates


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
客服微信
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: [email protected]
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
本文作者:托尼屎大颗
THE END
If you like it, support it.
kudos6232 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments