هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Custom Blocks Templates

الوصف

Create and set Gutenberg blocks templates for your posts, pages and custom post types.

  1. Go to Blocks Templates->Create Template in your admin panel.
  2. Start creating your template, adding any blocks you’d like with the Gutenberg editor.
  3. Assign your newly created template to any post type (post, page or custom).
  4. The template will be set as the default content of new posts of that type.

CBT also includes some blocks 😉

  • Private Block: A block that helps you protect your content and control its visibility. You can protect anything inside this “block container” with a password, allow only logged-in members to see the contents, filter by user role and display only in single or archive pages.
  • Accordion: An accordion-like drop down with a header and InnerBlocks, so you can create multiple accordions inside.
  • CSV Tables: Allows you to import a CSV file and show its contents in a table with search and order functionality.
  • Card: A simple bordered box with a header and custom content (Inner Blocks).
  • Social share: Choose your favorite social media platforms and allow visitors to share your content easily. Supports: Buffer, Diaspora, Douban, Evernote, Facebook, Flipboard, Hacker News, Hatena, Kakao Story, LINE, LinkedIn, Menéame, Mixi, Pinterest, Pocket, Qzone, Reddit, Renren, Telegram, Tumblr, Twitter, VK, Weibo, WhatsApp and Xing

And new controls for any blocks with rich text!

  • Font Awesome Icons: Search Font Awesome 5 icons and include it in your posts as inline elements.
  • Dynamic Text: Display the author name, post title, published date, categories and/or tags anywhere on your posts.

لقطات الشاشة

  • There is a menu on the admin area called “Custom Blocks Templates”. You will be able to create and edit your Templates from this page.
  • Creating a Template is similar than the process of a post creation.
  • You can add as any blocks as you want.
  • Then, you can assign Templates to any Post Type on your site.
  • And you can start creating content with the structure from the Template

المكوّنات

تقدّم هذه الإضافة 5 مكوّنات.

  • Custom Blocks Templates
  • Custom Blocks Templates
  • Custom Blocks Templates
  • Custom Blocks Templates
  • Custom Blocks Templates

التنصيب

This section describes how to install the plugin and get it working.

  1. Upload custom-blocks-templates folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

الأسئلة المتكررّة

How are blocks templates useful?

If your posts have some common structure, having a template will save you a lot of time. An author block, social share buttons, a column layout, a review box, related posts, some logos… You can put as many blocks as you like and set that as your default template for any post type.

المراجعات

14 سبتمبر، 2022
I think it’s a great plugin, very easy UI and works without problems. Looking forward to an update for WP 6.0.
4 مارس، 2021 1 reply
All my posts have the same blocks added to it. With this you can set the blocks in a template and use it as a default new post. This saves a lot of time and work. I hope this plugin gets updates when needed.
إقرأ جميع المراجعات 3

المساهمون والمطوّرون

“Custom Blocks Templates” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Custom Blocks Templates“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.3.1

  • Fix: Templates locked/orderable/editable

1.3

  • New format: Font awesome icons
  • CBT blocks list: Easy insertion from Inspector Panel
  • New attribute: Card background color
  • Add example previews to CBT blocks
  • Fix: Accordion block (Set a unique id to avoid conflicts with same-name headings)
  • Fix: Private Blocks (Add support for all user roles)
  • Fix: Dynamic Text (PHP error with empty content)

1.2

  • New block: Social share (with 25 social networks to choose from)
  • New format: Dynamic text (author, date, title, categories and tags)
  • Visual improvements in admin area
  • Block list tree in edit Inspector panel
  • Fix: Accordion block (position relative)

1.1.1

  • Fix: Card and Accordion blocks RichText controls
  • Private Block visual improvements

1.1

  • Import/Export templates in JSON
  • Preview Templates
  • Fix: Database prefix

1.0

  • Initial release.