Stag Blocks

外掛說明

Stag Blocks extends Gutenberg editor for WordPress, by adding a number of handy blocks for your website.

A better way to build with WordPress

With the introduction of Gutenberg, it’s never been easier to create content with WordPress.
We created Stag Blocks to assist you in building your content with Gutenberg in WordPress. Stag Blocks offers many chunk of content blocks that helps you put together a page real quick. Here’s a quick overview on what it offers:

Blocks

  • Accordion — Display a togglable field that can be expanded and collapsed.
  • Alert — Display a notice with customizable icon, title, and description.
  • Container — Add a container block which can be used to fit multiple blocks inside it.
  • Hero — Add a full width media block to accompany a call to action.
  • Posts Grid — Display a grid or list of customizable posts.
  • Pricing Table — Add a pricing table block to showcase different plans and offers.
  • Profile — Displays a nice author profile info box with social links.
  • Stats — Display useful custom stats for just about anything.
  • Testimonial — Add a user testimonial with name, company, text, and picture.
  • Website Card — Turn a URL into a pretty card style preview.

We’re also cooking an absolutely free WordPress theme, 100% compatible with Gutenberg. Visit StagBlocks.com for more info on and download.

Follow Along

螢幕擷圖

  • Stag Blocks settings page.
  • Accordion block - Display a togglable field that can be expanded and collapsed.
  • Alert Block - Display a notice with customizable icon, title, and description.
  • Container Block - Add a container block which can be used to fit multiple blocks inside it.
  • Hero — Add a full width media block to accompany a call to action.
  • Posts Grid Block — Display a grid or list of customizable posts.
  • Pricing Table Block — Add a pricing table block to showcase different plans and offers.
  • Stats — Display useful custom stats for just about anything.
  • Testimonial — Add a user testimonial with name, company, text, and picture.
  • Website Card Block — Turn a URL into a pretty card style preview.

Blocks

This plugin provides 11 blocks.

sgb/website-card
Website Card
sgb/stats
Stats
sgb/testimonial
Testimonial
sgb/alert
Alert
sgb/countdown
Countdown
sgb/hero
Hero
sgb/accordion
Accordion
sgb/posts-grid
Posts Grid
sgb/container
Container
sgb/pricing-table
Pricing Table
sgb/profile
Profile

常見問題集

Installation
  1. Upload the Stag Blocks folder to the wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
Can I use my own themes?

Absolutely! Stag Blocks gets out of the way and is designed to work with any theme’s styles.

使用者評論

Really cool time savers!

All the blocks in here just save a lot of time. As a developer, adding simple stuff like callouts inside tutorials would be a complicated process. I can't imagine how complicated it must be for users. This plugin just hits the mark in terms of providing commonly usable blocks that just work. Loved it!
閱讀全部 1 則使用者評論

參與者及開發者

Stag Blocks 外掛為開源軟體。以下人員為這個外掛做出了重大貢獻。

參與者

將 Stag Blocks 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.6

  • Fixed an issue with Hero block not saving content
  • Fixed an issue where block search would break due to incorrect datatype
  • Hide toggle field label on settings page

1.1.5

  • Compatibility with WordPress 5.0 RC2
  • Fix fatal error where deactivate_plugins function didn’t exist
  • Fixed an issue with Post grid block category throwing an error
  • Remove post_excerpt filter from post grid block
  • Fix editor stylesheet dependency

1.1.4

  • Compatibility with WordPress 5.0 RC

1.1.3

  • Fix WP Blocks dependencies

1.1.2

  • Fix Settings page showing blank page
  • Remove 24h based blocks data sync, now syncs on each load for better consistency.

1.1.1

  • Fix dist folder missing since v1.1.0

1.1.0

  • 🎉 NEW: Profile block – Displays a nice author profile info box with social links.
  • 👌 Update all block icons
  • Fix typo on Setting page text. Props @dannycooper
  • Remove deprecated withAPIData in favor of withSelect in Posts Grid Block
  • Ensure titles don’t break in Posts Grid block

1.0.0

  • Initial release.