Opis
Seaglass Tools adds a small, fixed set of fields that the Seaglass theme can show – no field builder, nothing to configure.
Values are displayed with Block Bindings (source seaglass/field), so there are no shortcodes. The theme keeps working without the plugin: empty fields simply do not show.
Currently included:
- Product category and tag: description below the product list (may use H2/H3 headings).
- Product category: header image and an icon for category tiles and subcategory buttons – one of the theme’s icons or an emoji (shown in the theme colour by Seaglass).
- Products: digital details – author, narrator, format, length, language, file size – and a free sample link, edited in the “Digital details” tab of the product data box. Seaglass shows them in the facts box under the price (an audio sample gets a player, other samples a button).
- Products: FAQ – question/answer pairs edited in the same “Digital details” tab. Seaglass shows them as expandable boxes under the product description; the plugin then adds FAQPage structured data (JSON-LD) with exactly the questions shown on the page. Turn the schema off with
add_filter( 'seaglass_tools_faq_schema', '__return_false' );. Another theme can show the FAQ itself (seaglass_tools_get_faq( $product_id )) and firedo_action( 'seaglass_product_faq_rendered', $items, $product_id )to get the schema. - Posts and pages: a lead under the title, edited in the “Seaglass” panel of the block editor.
- Chat post format: paragraphs written as „Name: text” become chat bubbles.
- Native audio and video players for the [audio] and [video] shortcodes (no MediaElement.js). Disable with
add_filter( 'seaglass_tools_native_media', '__return_false' );.
Instalacja
- Install the plugin from Plugins > Add New (search for „Seaglass Tools”) and activate it.
- The fields appear on the product category edit screen, in the „Digital details” tab of the product data box and in the „Seaglass” panel of the block editor.
- Product fields need WooCommerce. The theme Seaglass shows the fields; with another theme you can read them with
seaglass_tools_get().
Najczęściej zadawane pytania
-
Do I need the Seaglass theme?
-
The fields are made for Seaglass and the theme shows them automatically. With another block theme you can still show them with Block Bindings (source
seaglass/field). -
What happens when I deactivate the plugin?
-
The saved values stay in the database. Seaglass hides the places that use them, nothing breaks.
Recenzje
Wtyczka nie ma jeszcze żadnej recenzji.
Kontrybutorzy i deweloperzy
„Seaglass Tools” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniWtyczka „Seaglass Tools” została przetłumaczona na 1 język. Podziękuj tłumaczom za ich wkład.
Przetłumacz wtyczkę “Seaglass Tools” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
0.7.2
- Category screen styles and scripts are enqueued (no inline style tag or event attributes).
- Product fields are saved only with the plugin’s own nonce and the edit_post capability.
- FAQ structured data printed with wp_print_inline_script_tag().
- Translations are no longer bundled; they come from translate.wordpress.org.
0.7.1
- Admin styles for the „Digital details” tab are loaded with wp_add_inline_style instead of printing a style tag.
- Plugin URI removed from the header (same as the author’s site). Bundled Polish translation as .po/.mo.
- Format migration pages through products instead of excluding already processed IDs.
0.7.0
- Format is now the global WooCommerce attribute „Format” (created automatically), so shoppers can filter by it with the „Product Filters” block. In the „Digital details” tab the format is a list of checkboxes; old values (text field and custom „Format” attribute) are moved automatically.
0.6.0
- Product FAQ: question/answer pairs in the „Digital details” tab (add, reorder, remove; up to 20) and FAQPage structured data for the questions the theme shows.
0.5.0
- Digital product details and free sample link: new „Digital details” tab on the product screen (with suggested formats and languages).
0.4.1
- Icon field: on a subcategory the description says where its icon appears (button on the parent category page).
0.4.0
- Icon field: pick one of the theme’s icons (filter
seaglass_tools_icon_choices) or type an emoji.
0.3.0
- Category header image (media library picker) and category icon (emoji). New field types: image, text with a character limit.
0.2.0
- Lead field for posts and pages, “Seaglass” panel in the block editor, bindings source shown in the editor.
0.1.0
- Plugin skeleton: field registry, Block Bindings source, category bottom description, chat format and native media players moved from the Seaglass theme.
