# Pinegrow WP

**URL:** https://forum.pinegrow.com/c/pinegrow-wp/5.md?no_subcategories=false&page=3

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

**Page:** 4

---

## [Arrows in navigation after exporting the theme](https://forum.pinegrow.com/t/arrows-in-navigation-after-exporting-the-theme/8299)

<div class="topic-metadata">

**Author:** [@Mr.Smith](https://forum.pinegrow.com/u/Mr.Smith)\
**Replies:** 3\
**Last updated:** [August 30, 2023, 7:04am UTC](https://forum.pinegrow.com/t/arrows-in-navigation-after-exporting-the-theme/8299 "2023-08-30T07:04:57Z")

</div>

Hi there, I´ve created my navigation without the arrows on sub-menus, removing the css-class. After exporting the theme, the arrows are back. Why? What´s to do? Regards Uwe

---

## [Cpt - Order posts by - meta\_value](https://forum.pinegrow.com/t/cpt-order-posts-by-meta-value/8288)

<div class="topic-metadata">

**Author:** [@Roxy](https://forum.pinegrow.com/u/Roxy)\
**Replies:** 2\
**Last updated:** [August 10, 2023, 4:09pm UTC](https://forum.pinegrow.com/t/cpt-order-posts-by-meta-value/8288 "2023-08-10T16:09:08Z")

</div>

Hi. Does somebody knows how to order posts by meta\_value… Thanks.

---

## [Action 'Register Post Type': Non-public CPT can not be seen in Admin-Menu](https://forum.pinegrow.com/t/action-register-post-type-non-public-cpt-can-not-be-seen-in-admin-menu/8290)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 2\
**Last updated:** [August 10, 2023, 4:07pm UTC](https://forum.pinegrow.com/t/action-register-post-type-non-public-cpt-can-not-be-seen-in-admin-menu/8290 "2023-08-10T16:07:31Z")

</div>

Hi there, wanted to create an CPT for testimonials. There is no single page for each testimonial needed so i need to not make it public, but queryable and visible in dashboard. Problem: As soon as i remove the ‘Public’…

---

## [Possible issue with the "Import WordPress HTML" feature](https://forum.pinegrow.com/t/possible-issue-with-the-import-wordpress-html-feature/8254)

<div class="topic-metadata">

**Author:** [@Beardmancer](https://forum.pinegrow.com/u/Beardmancer)\
**Replies:** 4\
**Last updated:** [July 21, 2023, 9:56pm UTC](https://forum.pinegrow.com/t/possible-issue-with-the-import-wordpress-html-feature/8254 "2023-07-21T21:56:00Z")

</div>

I was building a Wordpress theme last fall and had to step away from it for quite awhile. I recently switched on the Local.app server and re-opened the Pinegrow project, only to find that all my images are broken and the…

---

## [Issue during the reinstallation of the WordPress plugin \[Answer provided\]](https://forum.pinegrow.com/t/issue-during-the-reinstallation-of-the-wordpress-plugin-answer-provided/8246)

<div class="topic-metadata">

**Author:** [@Jonno](https://forum.pinegrow.com/u/Jonno)\
**Replies:** 1\
**Last updated:** [July 15, 2023, 7:30am UTC](https://forum.pinegrow.com/t/issue-during-the-reinstallation-of-the-wordpress-plugin-answer-provided/8246 "2023-07-15T07:30:49Z")

</div>

Does anyone know how to reactivate a WordPress License? I had to reinstall WordPress so it deleted my Pinegrow plugin. I’ve reinstalled but it won’t let me reactivate my license because it says it is already active. It w…

---

## [Let me praise Pinegrow a bit](https://forum.pinegrow.com/t/let-me-praise-pinegrow-a-bit/8032)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 14\
**Last updated:** [July 8, 2023, 1:16am UTC](https://forum.pinegrow.com/t/let-me-praise-pinegrow-a-bit/8032 "2023-07-08T01:16:27Z")

</div>

Note: I am a big fan of Bricks and ACSS (and other Plugins). I don’t want to devalue any of these projects here. Nor do I want to upset anyone who uses these tools. After all, I use them myself. I am just in the middle …

---

## [Wordpress Interactivity API](https://forum.pinegrow.com/t/wordpress-interactivity-api/8195)

<div class="topic-metadata">

**Author:** [@AdrianVrtel](https://forum.pinegrow.com/u/AdrianVrtel)\
**Replies:** 0\
**Last updated:** [July 1, 2023, 6:25pm UTC](https://forum.pinegrow.com/t/wordpress-interactivity-api/8195 "2023-07-01T18:25:17Z")

</div>

Hi, will this be integrated into the Pinegrow WP add-on? Would be really cool to have some kind of visual state management. Maybe node based. :thinking: (Like in visual programming not like node.js)

---

## [How can you completely remove an element in a block?](https://forum.pinegrow.com/t/how-can-you-completely-remove-an-element-in-a-block/8185)

<div class="topic-metadata">

**Author:** [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Replies:** 1\
**Last updated:** [June 29, 2023, 1:44pm UTC](https://forum.pinegrow.com/t/how-can-you-completely-remove-an-element-in-a-block/8185 "2023-06-29T13:44:18Z")

</div>

I’ve tried multiple times over the years to remove an element via a toggle switch but I get unexpected results. What is the proper way to have an entire element removed inside of a block when the toggle on the element i…

---

## [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 …

---

## [Wordpress export comments out css rules](https://forum.pinegrow.com/t/wordpress-export-comments-out-css-rules/8167)

<div class="topic-metadata">

**Author:** [@kissgyula](https://forum.pinegrow.com/u/kissgyula)\
**Replies:** 5\
**Last updated:** [June 25, 2023, 6:05am UTC](https://forum.pinegrow.com/t/wordpress-export-comments-out-css-rules/8167 "2023-06-25T06:05:13Z")

</div>

When I export the wordpress theme, not just a save but a full export, the contents of the style.css file will be commented out. It’s very annoying and for hours I didn’t understand why the template was falling apart. Wha…

---

## [How to modify selected element data](https://forum.pinegrow.com/t/how-to-modify-selected-element-data/8156)

<div class="topic-metadata">

**Author:** [@suabahasa](https://forum.pinegrow.com/u/suabahasa)\
**Replies:** 4\
**Last updated:** [June 19, 2023, 2:21pm UTC](https://forum.pinegrow.com/t/how-to-modify-selected-element-data/8156 "2023-06-19T14:21:43Z")

</div>

How to modify selected element data from the browser console? I want to change the font-family name of the selected element via the browser console. I couldn’t find documentation about API or anything for dev. I reall…

---

## [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…

---

## [Can I import a html page I created in pinegrow into my wordpress website?](https://forum.pinegrow.com/t/can-i-import-a-html-page-i-created-in-pinegrow-into-my-wordpress-website/8120)

<div class="topic-metadata">

**Author:** [@BaudinaC](https://forum.pinegrow.com/u/BaudinaC)\
**Replies:** 1\
**Last updated:** [June 4, 2023, 5:52am UTC](https://forum.pinegrow.com/t/can-i-import-a-html-page-i-created-in-pinegrow-into-my-wordpress-website/8120 "2023-06-04T05:52:26Z")

</div>

I created a one page html in pinegrow, but can’t find out how to import it into my existing WP website. Also tried to create it through the pinegrow plugin, but it starts with creating a project with an index.html. Where…

---

## [Pinegrow WP master page to update HTML templates' markup before and after Site content](https://forum.pinegrow.com/t/pinegrow-wp-master-page-to-update-html-templates-markup-before-and-after-site-content/8046)

<div class="topic-metadata">

**Author:** [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Replies:** 16\
**Last updated:** [May 31, 2023, 6:16pm UTC](https://forum.pinegrow.com/t/pinegrow-wp-master-page-to-update-html-templates-markup-before-and-after-site-content/8046 "2023-05-31T18:16:01Z")

</div>

Hello, Pinegrow WP master pages work the way that everything before the Site content action exports as the header, and everything after Site content action exports as the footer. This is all right, and works well. Thi…

---

## [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 …

---

## [Page not found when I page on "Loop type: custom query" \[Fixed\]](https://forum.pinegrow.com/t/page-not-found-when-i-page-on-loop-type-custom-query-fixed/8064)

<div class="topic-metadata">

**Author:** [@gmzago](https://forum.pinegrow.com/u/gmzago)\
**Replies:** 2\
**Last updated:** [May 26, 2023, 7:08pm UTC](https://forum.pinegrow.com/t/page-not-found-when-i-page-on-loop-type-custom-query-fixed/8064 "2023-05-26T19:08:40Z")

</div>

I’m trying to do pagination in my loop: Show post \> custom query \> “procedimentos” Look: to be continued: https://prnt.sc/7XjFQqkIvNmt My pagination setup looks like this: https://prnt.sc/hjXo2uyQgyre On the pa…

---

## [\[solved\] ACF Block not listed for use on Page](https://forum.pinegrow.com/t/solved-acf-block-not-listed-for-use-on-page/8061)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 10:44am UTC](https://forum.pinegrow.com/t/solved-acf-block-not-listed-for-use-on-page/8061 "2023-05-25T10:44:37Z")

</div>

Hi there, trying to create an ACF Block with a single Taxonomy field. I’ve created a simple Block as ACF Block with just an H2 in it. In WordPress i can select the Block for adding ACF fields to it (while creating a f…

---

## [Custom fields with PODS](https://forum.pinegrow.com/t/custom-fields-with-pods/8051)

<div class="topic-metadata">

**Author:** [@tytusie](https://forum.pinegrow.com/u/tytusie)\
**Replies:** 2\
**Last updated:** [May 23, 2023, 6:13pm UTC](https://forum.pinegrow.com/t/custom-fields-with-pods/8051 "2023-05-23T18:13:59Z")

</div>

Hi all, does anyone have experience with custom fields managed by Pods? I’ve read a few things here and there about Pods \[pods.io\], and it seems like a good alternative to ACF. So, I was wondering if it works well with P…

---

## [Tabs block in gutenberg](https://forum.pinegrow.com/t/tabs-block-in-gutenberg/7848)

<div class="topic-metadata">

**Author:** [@Den](https://forum.pinegrow.com/u/Den)\
**Replies:** 2\
**Last updated:** [May 17, 2023, 3:34pm UTC](https://forum.pinegrow.com/t/tabs-block-in-gutenberg/7848 "2023-05-17T15:34:45Z")

</div>

Hi, please tell me how can I implement such a block with tabs? Thanks

---

## [Display ACF field from an ACF options page? \[Answer provided\]](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975)

<div class="topic-metadata">

**Author:** [@Cunning\_Stunts](https://forum.pinegrow.com/u/Cunning_Stunts)\
**Replies:** 9\
**Last updated:** [May 14, 2023, 4:04pm UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975 "2023-05-14T16:04:28Z")

</div>

Is this possible natively, or will I have to use the php code action or something? The reason I’m trying to do this is to display a form (created with a plugin) using a shortcode (I’ve added some code to functions.php t…

---

## [Dynamic count variable for inner Blocks possible?](https://forum.pinegrow.com/t/dynamic-count-variable-for-inner-blocks-possible/8027)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 2\
**Last updated:** [May 14, 2023, 1:46am UTC](https://forum.pinegrow.com/t/dynamic-count-variable-for-inner-blocks-possible/8027 "2023-05-14T01:46:39Z")

</div>

I’ve created a JS Blocks FAQ Accordion that should be accessible. Problem is, that i can not find a way to count up the needed ids and aria Attributes (e.g. aria-labelled-by). Is there a chance to get this working wi…

---

## [Using color variables in CSS: Color not shown in Gutenberg Blocks](https://forum.pinegrow.com/t/using-color-variables-in-css-color-not-shown-in-gutenberg-blocks/8023)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 2\
**Last updated:** [May 12, 2023, 6:14am UTC](https://forum.pinegrow.com/t/using-color-variables-in-css-color-not-shown-in-gutenberg-blocks/8023 "2023-05-12T06:14:37Z")

</div>

In this case i use --green\_4 as a var() for background-color of a CSS Class. While --wp--preset--color--green-4 is generated for the use in Gutenberg, the “unprocessed” Variable --green\_4 does not exist in the co…

---

## [Deal with PHP or Javascript code in Wordpress](https://forum.pinegrow.com/t/deal-with-php-or-javascript-code-in-wordpress/8005)

<div class="topic-metadata">

**Author:** [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)\
**Replies:** 3\
**Last updated:** [May 12, 2023, 6:06am UTC](https://forum.pinegrow.com/t/deal-with-php-or-javascript-code-in-wordpress/8005 "2023-05-12T06:06:13Z")

</div>

Hi, Usually when I create a subpage with a form or something that needs to run php or javascript code, I like to write this code directly in the html structure () or above the html (\<?php). In Wordpress, it turns out th…

---

## [Attribute Smart Actions disappears completely if trying to change it to regular WP Actions](https://forum.pinegrow.com/t/attribute-smart-actions-disappears-completely-if-trying-to-change-it-to-regular-wp-actions/8017)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 3\
**Last updated:** [May 12, 2023, 2:41am UTC](https://forum.pinegrow.com/t/attribute-smart-actions-disappears-completely-if-trying-to-change-it-to-regular-wp-actions/8017 "2023-05-12T02:41:45Z")

</div>

This is not what i would expect: Short Video: CleanShot 2023-05-10 at 10.37.08 · CleanShot Cloud Is this a Bug?

---

## [PHP Error in exported PHP Block?](https://forum.pinegrow.com/t/php-error-in-exported-php-block/8020)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 4\
**Last updated:** [May 12, 2023, 2:24am UTC](https://forum.pinegrow.com/t/php-error-in-exported-php-block/8020 "2023-05-12T02:24:36Z")

</div>

Facing an issue while exporting a newly created block. WordPress shows me this: syntax error, unexpected identifier "context", expecting ")" What’s causing this? It happens if there is an “Block Inner Content” Sma…

---

## [Control type "Toggle" - error in Gutenberg Block when toggled off again](https://forum.pinegrow.com/t/control-type-toggle-error-in-gutenberg-block-when-toggled-off-again/8015)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 1\
**Last updated:** [May 10, 2023, 6:28am UTC](https://forum.pinegrow.com/t/control-type-toggle-error-in-gutenberg-block-when-toggled-off-again/8015 "2023-05-10T06:28:33Z")

</div>

When toggle on and back off the following error occurs in GB: Error loading block: Invalid parameter(s): attributes Toggle Contol: Config in Pinegrow:

---

## [Best method to make parts of CSS class names dynamic with php?](https://forum.pinegrow.com/t/best-method-to-make-parts-of-css-class-names-dynamic-with-php/8006)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 5\
**Last updated:** [May 10, 2023, 6:19am UTC](https://forum.pinegrow.com/t/best-method-to-make-parts-of-css-class-names-dynamic-with-php/8006 "2023-05-10T06:19:34Z")

</div>

Because inside of double quotes is not possible i do it this way: \<button id=\<php\> echo "trtmntacc-header-" . get\_row\_index(); \</php\> aria-expanded="false" aria-controls=\<php\> echo "trtmntacc-panel-" . get\_row\_index…

---

## [Setting srcset block attribute on a source element fails](https://forum.pinegrow.com/t/setting-srcset-block-attribute-on-a-source-element-fails/7632)

<div class="topic-metadata">

**Author:** [@adamslowe](https://forum.pinegrow.com/u/adamslowe)\
**Replies:** 4\
**Last updated:** [May 10, 2023, 5:26am UTC](https://forum.pinegrow.com/t/setting-srcset-block-attribute-on-a-source-element-fails/7632 "2023-05-10T05:26:59Z")

</div>

I’m trying to create a block for a site logo that lets me specify an SVG with PNG/JPG fallback, and I’m running into some issues. As soon as I tell it that I want to set my srcset attribute, it writes the following PHP c…

---

## [Pinegrow WP best practice to add multi-line custom PHP in templates](https://forum.pinegrow.com/t/pinegrow-wp-best-practice-to-add-multi-line-custom-php-in-templates/8013)

<div class="topic-metadata">

**Author:** [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Replies:** 4\
**Last updated:** [May 9, 2023, 9:13am UTC](https://forum.pinegrow.com/t/pinegrow-wp-best-practice-to-add-multi-line-custom-php-in-templates/8013 "2023-05-09T09:13:07Z")

</div>

Hello, Pinegrow WP works well even on complex custom theme development projects, and lets you add custom PHP (PHP that’s not available as built-in actions) to templates multiple ways. For example, this guide suggests to…

---

## [Smart Action "Show Posts" for Archive: Wrong per-page post count \[fixed\]](https://forum.pinegrow.com/t/smart-action-show-posts-for-archive-wrong-per-page-post-count-fixed/7975)

<div class="topic-metadata">

**Author:** [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Replies:** 10\
**Last updated:** [May 5, 2023, 10:58am UTC](https://forum.pinegrow.com/t/smart-action-show-posts-for-archive-wrong-per-page-post-count-fixed/7975 "2023-05-05T10:58:26Z")

</div>

Creating an index.php for archives. The loop shows one more post per page than set in WordPress settings. Demo as screen recording (available for 30 days)

[Previous page](https://forum.pinegrow.com/c/pinegrow-wp/5.md?no_subcategories=false&page=2)

[Next page](https://forum.pinegrow.com/c/pinegrow-wp/5.md?no_subcategories=false&page=4)
