# \#blocks

**URL:** https://forum.pinegrow.com/tag/blocks/26.md

[Latest](https://forum.pinegrow.com/latest.md) · [Categories](https://forum.pinegrow.com/categories.md) · [Tags](https://forum.pinegrow.com/tags.md)

---

## [Applying Block Attributes to multiple HTML elements](https://forum.pinegrow.com/t/applying-block-attributes-to-multiple-html-elements/11332)

<div class="topic-metadata">

**Author:** [@MarkCarr](https://forum.pinegrow.com/u/MarkCarr)\
**Replies:** 8\
**Last updated:** [January 20, 2026, 9:21pm UTC](https://forum.pinegrow.com/t/applying-block-attributes-to-multiple-html-elements/11332 "2026-01-20T21:21:23Z")

</div>

Hi everyone, I am new to Pinegrow, but familiar with HTML and CSS. My primary interest is building WordPress Blocks using Pinegrow’s WordPress Plugin. Any suggestions or guidance would be very much appreciated. I am eag…

---

## [The date as a criterion in the conditional block](https://forum.pinegrow.com/t/the-date-as-a-criterion-in-the-conditional-block/11235)

<div class="topic-metadata">

**Author:** [@JuniorZabunga](https://forum.pinegrow.com/u/JuniorZabunga)\
**Replies:** 2\
**Last updated:** [November 19, 2025, 5:28pm UTC](https://forum.pinegrow.com/t/the-date-as-a-criterion-in-the-conditional-block/11235 "2025-11-19T17:28:19Z")

</div>

Hi everyone, I would like to know if it’s possible to directly embed the PHP or JavaScript script (current date) in the conditional section. Please refer to the image for more information. Thank you very much. @Emmanuel @…

---

## [Formatting Issues in Block JS Files After Export](https://forum.pinegrow.com/t/formatting-issues-in-block-js-files-after-export/11153)

<div class="topic-metadata">

**Author:** [@RedRocks](https://forum.pinegrow.com/u/RedRocks)\
**Replies:** 0\
**Last updated:** [October 7, 2025, 9:28pm UTC](https://forum.pinegrow.com/t/formatting-issues-in-block-js-files-after-export/11153 "2025-10-07T21:28:58Z")

</div>

I have seen posts about this from the past, but it is becoming a pain point for me. Sometimes when exporting blocks, the JS file is not properly formatted. This can break blocks and require recovery, and makes them appe…

---

## [WordPress Block that Displays Post Field in Editor and Frontend](https://forum.pinegrow.com/t/wordpress-block-that-displays-post-field-in-editor-and-frontend/10307)

<div class="topic-metadata">

**Author:** [@hoipolloimike](https://forum.pinegrow.com/u/hoipolloimike)\
**Replies:** 2\
**Last updated:** [February 17, 2025, 9:44pm UTC](https://forum.pinegrow.com/t/wordpress-block-that-displays-post-field-in-editor-and-frontend/10307 "2025-02-17T21:44:07Z")

</div>

Hello! I’m building a site for a client, and I need to create a WP block that renders a post field containing a raw email address as a clickable link. It would be used within loops and custom query blocks. I’ve been abl…

---

## [Any plans for Block.json?](https://forum.pinegrow.com/t/any-plans-for-block-json/8936)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 3:00pm UTC](https://forum.pinegrow.com/t/any-plans-for-block-json/8936 "2024-05-29T15:00:59Z")

</div>

Stumbled over this Introducing the ACF PRO Block Versioning Developer Preview · Issue #654 · AdvancedCustomFields/acf · GitHub and wonder how Pinegrow needs to make use of Block.json.

---

## [Conditionals on Block Attributes](https://forum.pinegrow.com/t/conditionals-on-block-attributes/8800)

<div class="topic-metadata">

**Author:** [@Guido](https://forum.pinegrow.com/u/Guido)\
**Replies:** 8\
**Last updated:** [April 17, 2024, 2:04pm UTC](https://forum.pinegrow.com/t/conditionals-on-block-attributes/8800 "2024-04-17T14:04:42Z")

</div>

Hi! Would it be possible to add conditional logic to the block attributes? So for example i have 2 block attributes. Block Attribute 1 and Block Attribute 2. I want to show Block Attribute 2 if Block Attribute 1 is no…

---

## [ASEVA website uses Pinegrow (Belgian government agency)](https://forum.pinegrow.com/t/aseva-website-uses-pinegrow-belgian-government-agency/8821)

<div class="topic-metadata">

**Author:** [@Roel](https://forum.pinegrow.com/u/Roel)\
**Replies:** 3\
**Last updated:** [April 3, 2024, 4:53pm UTC](https://forum.pinegrow.com/t/aseva-website-uses-pinegrow-belgian-government-agency/8821 "2024-04-03T16:53:06Z")

</div>

Since the website has officially launched today I can finally post here! ASEVA (Belgian government agency for managing energy reserves) now has a website that was built on WordPress with a theme created using the Pinegr…

---

## [Exported blocks not visible in WordPress (solved)](https://forum.pinegrow.com/t/exported-blocks-not-visible-in-wordpress-solved/6750)

<div class="topic-metadata">

**Author:** [@iHuman](https://forum.pinegrow.com/u/iHuman)\
**Replies:** 43\
**Last updated:** [March 25, 2024, 1:33am UTC](https://forum.pinegrow.com/t/exported-blocks-not-visible-in-wordpress-solved/6750 "2024-03-25T01:33:21Z")

</div>

I’m new to Pinegrow. Overall…I find it amazing. Having said that I also find it a bit buggy. Most of the work I’m doing is with Wordpress and Tailwind CSS. To learn Pinegrow, I did the recent Flex tutorial…which is wonde…

---

## [First Block Help](https://forum.pinegrow.com/t/first-block-help/8771)

<div class="topic-metadata">

**Author:** [@ShannaKae](https://forum.pinegrow.com/u/ShannaKae)\
**Replies:** 10\
**Last updated:** [March 21, 2024, 10:12pm UTC](https://forum.pinegrow.com/t/first-block-help/8771 "2024-03-21T22:12:27Z")

</div>

Hey guys New Here! Making my first block on the plugin (via source HTML from my Cwicly site). When I publish it and add it tot he page it is not formatted but it looks correct in Pinegrow Editor. I am using the HTML V…

---

## [How to ensure css and js assets are not loaded multiple times?](https://forum.pinegrow.com/t/how-to-ensure-css-and-js-assets-are-not-loaded-multiple-times/8785)

<div class="topic-metadata">

**Author:** [@iamkeef](https://forum.pinegrow.com/u/iamkeef)\
**Replies:** 8\
**Last updated:** [March 16, 2024, 3:54pm UTC](https://forum.pinegrow.com/t/how-to-ensure-css-and-js-assets-are-not-loaded-multiple-times/8785 "2024-03-16T15:54:57Z")

</div>

Hi there, I am a brand new Pinegrow user who signed up this week (coming from Cwicly), I have been learning Pinegrow by reading as much as possible and also watching lots of videos online (big shout out to Adam Lowe, am…

---

## [Problems when closing Project and opening another one without exiting Pinegrow](https://forum.pinegrow.com/t/problems-when-closing-project-and-opening-another-one-without-exiting-pinegrow/8702)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 2\
**Last updated:** [February 27, 2024, 9:25am UTC](https://forum.pinegrow.com/t/problems-when-closing-project-and-opening-another-one-without-exiting-pinegrow/8702 "2024-02-27T09:25:11Z")

</div>

When closing a WP Theme project and opening another one without exiting Pinegrow the theme export of the secondly opened project can be corrupt. In my case: I openeded a classic theme project and made some minor change…

---

## [Error while exporting Wordpress Theme (fixed)](https://forum.pinegrow.com/t/error-while-exporting-wordpress-theme-fixed/8655)

<div class="topic-metadata">

**Author:** [@aussieaudio](https://forum.pinegrow.com/u/aussieaudio)\
**Replies:** 5\
**Last updated:** [February 8, 2024, 3:22pm UTC](https://forum.pinegrow.com/t/error-while-exporting-wordpress-theme-fixed/8655 "2024-02-08T15:22:56Z")

</div>

Ever since the update, I get the following error whenever I export my project. When I go to my project, the blocks on this page are no longer available. Any Ideas? (Update) Removing the Wordpress Block Smart Action …

---

## [\[fixed\] My project always loses styling when exported to WordPress](https://forum.pinegrow.com/t/fixed-my-project-always-loses-styling-when-exported-to-wordpress/8515)

<div class="topic-metadata">

**Author:** [@musashixd](https://forum.pinegrow.com/u/musashixd)\
**Replies:** 4\
**Last updated:** [December 4, 2023, 12:55pm UTC](https://forum.pinegrow.com/t/fixed-my-project-always-loses-styling-when-exported-to-wordpress/8515 "2023-12-04T12:55:28Z")

</div>

Currently, I’m working on a project for a client and I’ve noticed that every time I need to export the site, parts or even entire sections of the styling get lost. As a result, I always end up needing to use Ctrl+Z and t…

---

## [Limit Loop Items per Customer Specification](https://forum.pinegrow.com/t/limit-loop-items-per-customer-specification/8451)

<div class="topic-metadata">

**Author:** [@iamrobbie](https://forum.pinegrow.com/u/iamrobbie)\
**Replies:** 4\
**Last updated:** [October 27, 2023, 12:12pm UTC](https://forum.pinegrow.com/t/limit-loop-items-per-customer-specification/8451 "2023-10-27T12:12:51Z")

</div>

Hello, I have created a Gutenberg Block for a WordPress website that contains a loop of repeated elements for all active WooCommerce Product Categories (using the PG WooCommerce \`Show Categories’ Smart Action). I would…

---

## [WordPress blocks not working on WP version 6.4 (RC)](https://forum.pinegrow.com/t/wordpress-blocks-not-working-on-wp-version-6-4-rc/8453)

<div class="topic-metadata">

**Author:** [@marc\_io](https://forum.pinegrow.com/u/marc_io)\
**Replies:** 5\
**Last updated:** [October 24, 2023, 6:31pm UTC](https://forum.pinegrow.com/t/wordpress-blocks-not-working-on-wp-version-6-4-rc/8453 "2023-10-24T18:31:39Z")

</div>

Hi, I’ve done some quick testing with a vanilla block plugin generated by Pinegrow in the latest WordPress release candidate (version 6.4). I wanted to check if it would work, but for my surprise, it simply doesn’t show …

---

## [ACF Blocks broken for me. Simple fix required?](https://forum.pinegrow.com/t/acf-blocks-broken-for-me-simple-fix-required/8380)

<div class="topic-metadata">

**Author:** [@Bryn](https://forum.pinegrow.com/u/Bryn)\
**Replies:** 5\
**Last updated:** [September 29, 2023, 9:46pm UTC](https://forum.pinegrow.com/t/acf-blocks-broken-for-me-simple-fix-required/8380 "2023-09-29T21:46:20Z")

</div>

This is the generated code I see for an ACF test block: /\* Creating Editor Blocks with ACF PRO \*/ function test\_blocks\_acf\_blocks\_init() { // Check if ACF PRO function exists. if( function\_exists('acf\_register…

---

## [Tiered Select Controls?](https://forum.pinegrow.com/t/tiered-select-controls/8353)

<div class="topic-metadata">

**Author:** [@Sebastian](https://forum.pinegrow.com/u/Sebastian)\
**Replies:** 3\
**Last updated:** [September 11, 2023, 6:45pm UTC](https://forum.pinegrow.com/t/tiered-select-controls/8353 "2023-09-11T18:45:29Z")

</div>

Hi all, how can I make a tiered select control for a block? I have a LOT of options that I dont want to load from a single control. But there are ‘tiers’ so to speak (or parent groups if you will) that each of the optio…

---

## [WP Plugin Settings does not update version?](https://forum.pinegrow.com/t/wp-plugin-settings-does-not-update-version/8227)

<div class="topic-metadata">

**Author:** [@smgitner](https://forum.pinegrow.com/u/smgitner)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 5:44pm UTC](https://forum.pinegrow.com/t/wp-plugin-settings-does-not-update-version/8227 "2023-07-10T17:44:30Z")

</div>

Could you make an update where the wp plugin settings could be updated when you put the settings in the worm to set up the plugin export? For example, the version does not change it stays at 1.0.0. Making all of the othe…

---

## [Fixing WordPress block translations](https://forum.pinegrow.com/t/fixing-wordpress-block-translations/8049)

<div class="topic-metadata">

**Author:** [@marc\_io](https://forum.pinegrow.com/u/marc_io)\
**Replies:** 4\
**Last updated:** [June 29, 2023, 11:40am UTC](https://forum.pinegrow.com/t/fixing-wordpress-block-translations/8049 "2023-06-29T11:40:07Z")

</div>

Hi guys, I’m currently working on a project that requires a custom block, which needs to be translated into multiple languages, both in the editor and the front-end, and I was messing around in Pinegrow to learn how to …

---

## [Highlight the current page in the menu items on a WordPress site](https://forum.pinegrow.com/t/highlight-the-current-page-in-the-menu-items-on-a-wordpress-site/8151)

<div class="topic-metadata">

**Author:** [@red-rosefields](https://forum.pinegrow.com/u/red-rosefields)\
**Replies:** 3\
**Last updated:** [June 14, 2023, 2:00pm UTC](https://forum.pinegrow.com/t/highlight-the-current-page-in-the-menu-items-on-a-wordpress-site/8151 "2023-06-14T14:00:18Z")

</div>

Hello all, I have built a Wordpress site with a few pages. I am using Blocks for everything. From the menu to the footer. Everything are blocks. I still have not figured out, in the menu, how to highlight the current p…

---

## [Wp blocks plugin backend style not working](https://forum.pinegrow.com/t/wp-blocks-plugin-backend-style-not-working/8024)

<div class="topic-metadata">

**Author:** [@matteobanana](https://forum.pinegrow.com/u/matteobanana)\
**Replies:** 7\
**Last updated:** [May 27, 2023, 4:21am UTC](https://forum.pinegrow.com/t/wp-blocks-plugin-backend-style-not-working/8024 "2023-05-27T04:21:05Z")

</div>

Hi everybody I’m creating a plugin to improve the default blocks library with some custom navigation elements. To ensure the blocks editablility I follow the suggestion on the tutorials: I created a custom backend css …

---

## [WordPress blocks: can't define the image size manually in “function” smart action](https://forum.pinegrow.com/t/wordpress-blocks-cant-define-the-image-size-manually-in-function-smart-action/8044)

<div class="topic-metadata">

**Author:** [@marc\_io](https://forum.pinegrow.com/u/marc_io)\
**Replies:** 1\
**Last updated:** [May 19, 2023, 11:45pm UTC](https://forum.pinegrow.com/t/wordpress-blocks-cant-define-the-image-size-manually-in-function-smart-action/8044 "2023-05-19T23:45:10Z")

</div>

Hi, I’m creating a WP plugin with a custom dynamic block and I need to customize the srcset attribute in the image I’m using. To do that, I can simply add a “function” smart action and change the attribute directly by u…

---

## [Limit Characters in a input field for gutenberg block](https://forum.pinegrow.com/t/limit-characters-in-a-input-field-for-gutenberg-block/7948)

<div class="topic-metadata">

**Author:** [@smgitner](https://forum.pinegrow.com/u/smgitner)\
**Replies:** 0\
**Last updated:** [April 21, 2023, 4:43am UTC](https://forum.pinegrow.com/t/limit-characters-in-a-input-field-for-gutenberg-block/7948 "2023-04-21T04:43:01Z")

</div>

It would be great if there were a way to limit the number of characters in a Gutenberg block’s input field/text area. this way, clients can retain the intended design for headlines etc.

---

## [Registered theme image size via \`add\_image\_size\` doesn't show up in image editor](https://forum.pinegrow.com/t/registered-theme-image-size-via-add-image-size-doesnt-show-up-in-image-editor/7789)

<div class="topic-metadata">

**Author:** [@evance](https://forum.pinegrow.com/u/evance)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 4:15pm UTC](https://forum.pinegrow.com/t/registered-theme-image-size-via-add-image-size-doesnt-show-up-in-image-editor/7789 "2023-03-02T16:15:26Z")

</div>

Hi there, I was wondering why a custom image size, that I added via add\_image\_size('profile-card', 400, 300, true); wouldn’t show up in the image size selection within the block attributes…? Am I missing something? I…

---

## [Any way to customize core blocks and change teh theme.json easily in pinegrow](https://forum.pinegrow.com/t/any-way-to-customize-core-blocks-and-change-teh-theme-json-easily-in-pinegrow/7762)

<div class="topic-metadata">

**Author:** [@smgitner](https://forum.pinegrow.com/u/smgitner)\
**Replies:** 3\
**Last updated:** [February 28, 2023, 2:24pm UTC](https://forum.pinegrow.com/t/any-way-to-customize-core-blocks-and-change-teh-theme-json-easily-in-pinegrow/7762 "2023-02-28T14:24:43Z")

</div>

I find PG’s custom block capabilities pretty awesome, but sometimes I’d like to use the core blocks built into WordPress. But to customize those i find it difficult to go through the theme.json file. Is tehre any way to …

---

## [Organize block attribute fields in sections or tabs in the editor area](https://forum.pinegrow.com/t/organize-block-attribute-fields-in-sections-or-tabs-in-the-editor-area/7693)

<div class="topic-metadata">

**Author:** [@markspektor](https://forum.pinegrow.com/u/markspektor)\
**Replies:** 1\
**Last updated:** [January 26, 2023, 9:13pm UTC](https://forum.pinegrow.com/t/organize-block-attribute-fields-in-sections-or-tabs-in-the-editor-area/7693 "2023-01-26T21:13:05Z")

</div>

Hi Is there a way to organize the block attribute fields in either sections or tabs similar to other premium blocks? (the fields in the sidebar area of the editor - Monosnap) I find when I make a block that has lots of…

---

## [Interactions and Blocks conflict](https://forum.pinegrow.com/t/interactions-and-blocks-conflict/7676)

<div class="topic-metadata">

**Author:** [@deirdre\_nic](https://forum.pinegrow.com/u/deirdre_nic)\
**Replies:** 13\
**Last updated:** [January 25, 2023, 8:57am UTC](https://forum.pinegrow.com/t/interactions-and-blocks-conflict/7676 "2023-01-25T08:57:44Z")

</div>

Hi I have yet another conundrum, I am exporting blocks with interactions and have run into an issue. I have several ‘FadeUp’ interactions that work without issue but its the ‘Hide at Start’ which refuses to work within …

---

## [SelectControl of Gutenberg Blocks does not render properly in block tab](https://forum.pinegrow.com/t/selectcontrol-of-gutenberg-blocks-does-not-render-properly-in-block-tab/7686)

<div class="topic-metadata">

**Author:** [@itsmeleo](https://forum.pinegrow.com/u/itsmeleo)\
**Replies:** 3\
**Last updated:** [January 24, 2023, 9:21am UTC](https://forum.pinegrow.com/t/selectcontrol-of-gutenberg-blocks-does-not-render-properly-in-block-tab/7686 "2023-01-24T09:21:23Z")

</div>

I’m trying to create a SELECT control for block type and it works perfectly fine but renders very awkwardly on the page’s sidebar under the block tab. here is the screenshot I hope this will also be fixed in the nex…

---

## [Bug with Gutenberg block generated by Pinegrow](https://forum.pinegrow.com/t/bug-with-gutenberg-block-generated-by-pinegrow/7656)

<div class="topic-metadata">

**Author:** [@itsmeleo](https://forum.pinegrow.com/u/itsmeleo)\
**Replies:** 8\
**Last updated:** [January 22, 2023, 5:19pm UTC](https://forum.pinegrow.com/t/bug-with-gutenberg-block-generated-by-pinegrow/7656 "2023-01-22T17:19:45Z")

</div>

I’m working on creating a contact form using Gutenberg block in Pinegrow, the form Is working perfectly fine, the problem arises when I try to add attributes to make changes, at that time pinegrow registers the block att…

---

## [Problem with cascade with wp theming and Gutenberg](https://forum.pinegrow.com/t/problem-with-cascade-with-wp-theming-and-gutenberg/7509)

<div class="topic-metadata">

**Author:** [@smgitner](https://forum.pinegrow.com/u/smgitner)\
**Replies:** 2\
**Last updated:** [December 25, 2022, 12:09am UTC](https://forum.pinegrow.com/t/problem-with-cascade-with-wp-theming-and-gutenberg/7509 "2022-12-25T00:09:43Z")

</div>

I have been having a problem where my block styles are getting overridden by Wordpress. The theme was made in pine grow. The blocks were exported as a plug-in in pg. Any ideas?

[Next page](https://forum.pinegrow.com/tag/blocks/26.md?match_all_tags=true&page=1&tags%5B%5D=blocks)
