# WordPress

**URL:** https://forum.pinegrow.com/c/pinegrow-wp/wordpress/18.md?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

---

## [Add custom code to WordPress head](https://forum.pinegrow.com/t/add-custom-code-to-wordpress-head/6358)

<div class="topic-metadata">

**Author:** [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)\
**Replies:** 8\
**Last updated:** [March 11, 2022, 10:28am UTC](https://forum.pinegrow.com/t/add-custom-code-to-wordpress-head/6358 "2022-03-11T10:28:39Z")

</div>

Hi, I want to define some variables I can use in a page template in Wordpress. It works when I add them to the very top of my page template php-code (under the “/\* Template Name: pagetemplate Template Post Type: page …

---

## [Pinegrow WP Form - file input support](https://forum.pinegrow.com/t/pinegrow-wp-form-file-input-support/6223)

<div class="topic-metadata">

**Author:** [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Replies:** 7\
**Last updated:** [February 10, 2022, 1:54pm UTC](https://forum.pinegrow.com/t/pinegrow-wp-form-file-input-support/6223 "2022-02-10T13:54:36Z")

</div>

Hello, I often use Pinegrow WP’s Form feature, which I really like because of how quick it is to add dynamic form functionality to bespoke HTML markup. However, this time I’d need to add a file input ( \<input type="fil…

---

## [How to register a custom post type using Pinegrow in a plugin](https://forum.pinegrow.com/t/how-to-register-a-custom-post-type-using-pinegrow-in-a-plugin/6174)

<div class="topic-metadata">

**Author:** [@Roel](https://forum.pinegrow.com/u/Roel)\
**Replies:** 4\
**Last updated:** [January 27, 2022, 3:29pm UTC](https://forum.pinegrow.com/t/how-to-register-a-custom-post-type-using-pinegrow-in-a-plugin/6174 "2022-01-27T15:29:50Z")

</div>

Hey there, I was wondering how one registers a custom post type using the new Wordpress plugin feature (exporting the project as a plugin rather than a theme) as I tried doing it the way I would do it in a theme (by jus…

---

## [Missing exported scss files](https://forum.pinegrow.com/t/missing-exported-scss-files/6147)

<div class="topic-metadata">

**Author:** [@dowixxx](https://forum.pinegrow.com/u/dowixxx)\
**Replies:** 10\
**Last updated:** [January 17, 2022, 11:23am UTC](https://forum.pinegrow.com/t/missing-exported-scss-files/6147 "2022-01-17T11:23:01Z")

</div>

Hello, can you please tell me why \_footer.scss and \_globals.scss are not exported from my native working folder into wordrpess theme folder? But when i make changes to these files (\_footer.scs and \_globals.scss) it is e…

---

## [Advanced custom fields flexibility](https://forum.pinegrow.com/t/advanced-custom-fields-flexibility/6145)

<div class="topic-metadata">

**Author:** [@dowixxx](https://forum.pinegrow.com/u/dowixxx)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 8:33pm UTC](https://forum.pinegrow.com/t/advanced-custom-fields-flexibility/6145 "2022-01-12T20:33:16Z")

</div>

Hello! Inside a single.php template file i have a “price box” which also includes some features(green checkboxes): I am using advanced custom fields inside Posts to add these features. THE PROBLEM is that in every …

---

## [How to reference/create parent block's dynamic ID G-Blocks](https://forum.pinegrow.com/t/how-to-reference-create-parent-blocks-dynamic-id-g-blocks/6104)

<div class="topic-metadata">

**Author:** [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Replies:** 0\
**Last updated:** [December 28, 2021, 9:36pm UTC](https://forum.pinegrow.com/t/how-to-reference-create-parent-blocks-dynamic-id-g-blocks/6104 "2021-12-28T21:36:09Z")

</div>

I’d like to create a BS accordion block. The inner blocks would require a reference to the outermost parent wrapper and also to the ID within it’s own sibling div. The outermost parent wrapper would have to have a unique…

---

## [Errors on G-Block Creation](https://forum.pinegrow.com/t/errors-on-g-block-creation/6102)

<div class="topic-metadata">

**Author:** [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Replies:** 5\
**Last updated:** [December 28, 2021, 5:53pm UTC](https://forum.pinegrow.com/t/errors-on-g-block-creation/6102 "2021-12-28T17:53:18Z")

</div>

I have the following code set in PG but on export, I get two errors: The CSS of the block (on the live site) is not properly outputting the padding top. Here is what shows up instead: class=“wp-block-tb-new-tb-list g-l…

---

## [Pinegrow and advanced ACF usage](https://forum.pinegrow.com/t/pinegrow-and-advanced-acf-usage/6010)

<div class="topic-metadata">

**Author:** [@Tazintosh](https://forum.pinegrow.com/u/Tazintosh)\
**Replies:** 5\
**Last updated:** [December 20, 2021, 12:46pm UTC](https://forum.pinegrow.com/t/pinegrow-and-advanced-acf-usage/6010 "2021-12-20T12:46:17Z")

</div>

Hi everyone, I’m actually testing Pinegrow to see if I could provide another kind of service to my clients. I’m generally developing 100% custom Wordpress themes (unique per client, no framework, all by hand). Using a…

---

## [Add Style to PG Gutenberg Block?](https://forum.pinegrow.com/t/add-style-to-pg-gutenberg-block/6013)

<div class="topic-metadata">

**Author:** [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 5:38pm UTC](https://forum.pinegrow.com/t/add-style-to-pg-gutenberg-block/6013 "2021-12-09T17:38:28Z")

</div>

Hi, I’m able to add styles to core blocks but when I try the exact same code for PG blocks I can’t get the styles to show up: wp.blocks.registerBlockStyle('core/image', { name: 'image-border-radius-lg', label…

---

## [Gutenberg Blocks with links that have target="\_blank" need rel="noopener"](https://forum.pinegrow.com/t/gutenberg-blocks-with-links-that-have-target-blank-need-rel-noopener/5972)

<div class="topic-metadata">

**Author:** [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Replies:** 2\
**Last updated:** [December 3, 2021, 9:34pm UTC](https://forum.pinegrow.com/t/gutenberg-blocks-with-links-that-have-target-blank-need-rel-noopener/5972 "2021-12-03T21:34:17Z")

</div>

If you add an toggle option for target="\_blank" or have that in your \<a\> tag then you need to add rel=“noopener” in your \<a\> tag. If you don’t WP will add it automatically and then your block will get an error the next t…

---

## [Clear Gutenberg Block From PG Memory](https://forum.pinegrow.com/t/clear-gutenberg-block-from-pg-memory/5970)

<div class="topic-metadata">

**Author:** [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Replies:** 4\
**Last updated:** [December 1, 2021, 10:18pm UTC](https://forum.pinegrow.com/t/clear-gutenberg-block-from-pg-memory/5970 "2021-12-01T22:18:58Z")

</div>

Hi, I have an error that is coming up with one of my Gutenberg Blocks. I want to completely start from scratch but I can’t get the block’s info to go completely away. When I delete the block info and then assign the bloc…

---

## [Can you customize the new gutenberg blocks editor?](https://forum.pinegrow.com/t/can-you-customize-the-new-gutenberg-blocks-editor/5929)

<div class="topic-metadata">

**Author:** [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Replies:** 5\
**Last updated:** [November 23, 2021, 8:14pm UTC](https://forum.pinegrow.com/t/can-you-customize-the-new-gutenberg-blocks-editor/5929 "2021-11-23T20:14:00Z")

</div>

Are we able to add additional control types to the new Gutenberg Block Creator? Specifically, a slider block (for adjusting padding/margins) or a number type that allows for using arrows to increase/decrease numbers. Als…

---

## [Sharing a website on social displays code](https://forum.pinegrow.com/t/sharing-a-website-on-social-displays-code/5816)

<div class="topic-metadata">

**Author:** [@vmelchor](https://forum.pinegrow.com/u/vmelchor)\
**Replies:** 3\
**Last updated:** [November 1, 2021, 8:00pm UTC](https://forum.pinegrow.com/t/sharing-a-website-on-social-displays-code/5816 "2021-11-01T20:00:32Z")

</div>

Hi there, could use some help here. I am not sure whether this is a Wordpress or Pinegrow issue but whenever a client’s website gets shared on social, instead of displaying the description from the OG description meta ta…

---

## [Custom Slider to be reused within the pages](https://forum.pinegrow.com/t/custom-slider-to-be-reused-within-the-pages/5750)

<div class="topic-metadata">

**Author:** [@superfabiuz](https://forum.pinegrow.com/u/superfabiuz)\
**Replies:** 5\
**Last updated:** [October 12, 2021, 6:58am UTC](https://forum.pinegrow.com/t/custom-slider-to-be-reused-within-the-pages/5750 "2021-10-12T06:58:36Z")

</div>

Hello everyone! I need to create a Wordpress theme, there will be a page that will contain kind of movies within different sliders divided by category. Below is an example of the structure with 2 kind of movie I ha…

---

## [Customizer video tag](https://forum.pinegrow.com/t/customizer-video-tag/5742)

<div class="topic-metadata">

**Author:** [@superfabiuz](https://forum.pinegrow.com/u/superfabiuz)\
**Replies:** 3\
**Last updated:** [October 8, 2021, 8:28am UTC](https://forum.pinegrow.com/t/customizer-video-tag/5742 "2021-10-08T08:28:11Z")

</div>

Hello everyone! I can’t figure out how to customize the “poster” property and the “src” property of video tag for theme export. I need to change: poster="assets/images/thumbnail-miami.jpg" and src="https://www.fasas…

---

## [Is there a bug with Customizer Control?](https://forum.pinegrow.com/t/is-there-a-bug-with-customizer-control/4877)

<div class="topic-metadata">

**Author:** [@PixxelHunter](https://forum.pinegrow.com/u/PixxelHunter)\
**Replies:** 3\
**Last updated:** [September 24, 2021, 3:33pm UTC](https://forum.pinegrow.com/t/is-there-a-bug-with-customizer-control/4877 "2021-09-24T15:33:37Z")

</div>

Hello, I have a problem with the “Add Costumizer Control”. I would like to have a video selected, which will then be displayed. For this I used the “Add Costumizer Contro”. (See picture 1 in the attachment). However, th…

---

## [Theme Convert Blocks Styles for admin view](https://forum.pinegrow.com/t/theme-convert-blocks-styles-for-admin-view/5566)

<div class="topic-metadata">

**Author:** [@ryanb](https://forum.pinegrow.com/u/ryanb)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 12:45pm UTC](https://forum.pinegrow.com/t/theme-convert-blocks-styles-for-admin-view/5566 "2021-08-23T12:45:42Z")

</div>

When you create a block for Gutenberg. The styling is correct on the front end but the back in in Gutenberg builder the styling is not showing properly.

---

## [WP editor css .. how to update](https://forum.pinegrow.com/t/wp-editor-css-how-to-update/5468)

<div class="topic-metadata">

**Author:** [@BinaryPusher](https://forum.pinegrow.com/u/BinaryPusher)\
**Replies:** 10\
**Last updated:** [July 14, 2021, 12:45pm UTC](https://forum.pinegrow.com/t/wp-editor-css-how-to-update/5468 "2021-07-14T12:45:35Z")

</div>

Hi guys, I’m using the PGWPBootstrap4StartTheme. I need to pull my styling into WP’s custom-editor-style.css but I can’t see how to do that. When I go to hit WordPress \> Export the theme, pinegrow generously overwrite…

---

## [Wordpress comments form](https://forum.pinegrow.com/t/wordpress-comments-form/5429)

<div class="topic-metadata">

**Author:** [@aliveli](https://forum.pinegrow.com/u/aliveli)\
**Replies:** 4\
**Last updated:** [July 8, 2021, 8:21pm UTC](https://forum.pinegrow.com/t/wordpress-comments-form/5429 "2021-07-08T20:21:35Z")

</div>

hi friends. I am trying to convert html template to wordpress theme but I have a problem. I have a comments form in html, I want to convert it for my theme but I cant. When I add “List comments”, wordpress’s basic com…

---

## [How is it best to loop 2 types of divs in wordpress?](https://forum.pinegrow.com/t/how-is-it-best-to-loop-2-types-of-divs-in-wordpress/5264)

<div class="topic-metadata">

**Author:** [@grimur](https://forum.pinegrow.com/u/grimur)\
**Replies:** 2\
**Last updated:** [May 15, 2021, 12:12am UTC](https://forum.pinegrow.com/t/how-is-it-best-to-loop-2-types-of-divs-in-wordpress/5264 "2021-05-15T00:12:33Z")

</div>

Hi, I was wondering how to loop through 2 different divs/columns/rows Lets say I have the following rows: Is there an easy way to accomplish this? This is just an example. I’m looking to how to loop through more th…

---

## [SNIPPET for custom ACF FORM](https://forum.pinegrow.com/t/snippet-for-custom-acf-form/5263)

<div class="topic-metadata">

**Author:** [@wpguru](https://forum.pinegrow.com/u/wpguru)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 7:14pm UTC](https://forum.pinegrow.com/t/snippet-for-custom-acf-form/5263 "2021-05-10T19:14:43Z")

</div>

Hello, is there a way to create a form add listing using ACF and pinegrow ? with logical conditional rules

---

## [Widget system in Wordpress](https://forum.pinegrow.com/t/widget-system-in-wordpress/5217)

<div class="topic-metadata">

**Author:** [@grimur](https://forum.pinegrow.com/u/grimur)\
**Replies:** 8\
**Last updated:** [April 23, 2021, 9:34am UTC](https://forum.pinegrow.com/t/widget-system-in-wordpress/5217 "2021-04-23T09:34:01Z")

</div>

Hi, Is there a way to make use of the new widget blocks area, when I go to widgets section in Wordpress admin I get a sidebar and inactive widgets but when adding something I don’t get the option to save it so it displa…

---

## [Customiser Select & Load Page not working](https://forum.pinegrow.com/t/customiser-select-load-page-not-working/3964)

<div class="topic-metadata">

**Author:** [@Gauravk](https://forum.pinegrow.com/u/Gauravk)\
**Replies:** 1\
**Last updated:** [April 14, 2021, 10:33pm UTC](https://forum.pinegrow.com/t/customiser-select-load-page-not-working/3964 "2021-04-14T22:33:39Z")

</div>

I set up a customiser section and field as per the instructions. (see images) img2 img3 However, when I select and load a page using the customiser in my theme (localhost), the content does not appear. Nothing changes…

---

## [Unable to import PG WP site into Local](https://forum.pinegrow.com/t/unable-to-import-pg-wp-site-into-local/5155)

<div class="topic-metadata">

**Author:** [@dhebard](https://forum.pinegrow.com/u/dhebard)\
**Replies:** 3\
**Last updated:** [March 25, 2021, 1:39pm UTC](https://forum.pinegrow.com/t/unable-to-import-pg-wp-site-into-local/5155 "2021-03-25T13:39:34Z")

</div>

When trying to import the PG WP site into Local I am receiving an error: EPERM: Operation not permitted, symlink’ plugins\\query-monitor\\wp-content\\db.php’ → C:\\Users\\hebar|local\\Temp\\local-by-flywheel-TTNixjlknf\\app\\pub…

---

## [WP create new theme folder](https://forum.pinegrow.com/t/wp-create-new-theme-folder/4988)

<div class="topic-metadata">

**Author:** [@mhigaki](https://forum.pinegrow.com/u/mhigaki)\
**Replies:** 0\
**Last updated:** [February 20, 2021, 12:38am UTC](https://forum.pinegrow.com/t/wp-create-new-theme-folder/4988 "2021-02-20T00:38:11Z")

</div>

Goodnight! I’m using Ubuntu 20.04 and I came across an issue in the latest versions of Pinegrow 5.97 ~ 5.99.1; when I create the destination folder for the theme, I no longer see the icon to create the folder. In the…

---

## [Woocommerce Shop-Page shows no content after a while](https://forum.pinegrow.com/t/woocommerce-shop-page-shows-no-content-after-a-while/4903)

<div class="topic-metadata">

**Author:** [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)\
**Replies:** 15\
**Last updated:** [February 19, 2021, 12:29pm UTC](https://forum.pinegrow.com/t/woocommerce-shop-page-shows-no-content-after-a-while/4903 "2021-02-19T12:29:56Z")

</div>

Hello, I made a woo commerce shop with PG WP and I’m quite happy so far, but I have a strange bug. After a while (nearly daily) the shop-page is empty (shows only the h1 but no h2 or products). It works immediately afte…

---

## [Wordpress image not showing](https://forum.pinegrow.com/t/wordpress-image-not-showing/4929)

<div class="topic-metadata">

**Author:** [@aliveli](https://forum.pinegrow.com/u/aliveli)\
**Replies:** 2\
**Last updated:** [February 8, 2021, 11:17pm UTC](https://forum.pinegrow.com/t/wordpress-image-not-showing/4929 "2021-02-08T23:17:07Z")

</div>

Hi friends. I test my wp theme on local, but cant show images. I added html page an image. I added customizer field to this image but cant show it on wordpress theme… where is my fault? \*\* here is wp theme editor …

---

## [Direct upload on hosts](https://forum.pinegrow.com/t/direct-upload-on-hosts/4847)

<div class="topic-metadata">

**Author:** [@sepehramiri70](https://forum.pinegrow.com/u/sepehramiri70)\
**Replies:** 1\
**Last updated:** [January 18, 2021, 11:43am UTC](https://forum.pinegrow.com/t/direct-upload-on-hosts/4847 "2021-01-18T11:43:01Z")

</div>

Hello and have a good time. I have a WordPress site and I want to make changes to my site Is the file upload directly on the host In your tutorials, I saw that it is possible to upload the site as a url. Can they be …

---

## [@font-face fonts dont show up in wordpress after exporting a website to a wp theme](https://forum.pinegrow.com/t/font-face-fonts-dont-show-up-in-wordpress-after-exporting-a-website-to-a-wp-theme/4683)

<div class="topic-metadata">

**Author:** [@adambadam](https://forum.pinegrow.com/u/adambadam)\
**Replies:** 0\
**Last updated:** [November 17, 2020, 2:23pm UTC](https://forum.pinegrow.com/t/font-face-fonts-dont-show-up-in-wordpress-after-exporting-a-website-to-a-wp-theme/4683 "2020-11-17T14:23:05Z")

</div>

when I export a website as a wordpress theme, the custom fonts set on the site disappear. I’m not sure how to trace it back to where it gets lost, the theme editor shows the @font-face css, the font file is in the theme …

---

## [WP Customizer radio buttons](https://forum.pinegrow.com/t/wp-customizer-radio-buttons/4623)

<div class="topic-metadata">

**Author:** [@24degrees](https://forum.pinegrow.com/u/24degrees)\
**Replies:** 4\
**Last updated:** [October 26, 2020, 3:53pm UTC](https://forum.pinegrow.com/t/wp-customizer-radio-buttons/4623 "2020-10-26T15:53:37Z")

</div>

Hi all, at the moment, there’s no way you can add radiobuttons to the customizer screen in Pinegrow. A checkbox is difficult since it returns a value of 0 or 1 which sometimes is not adequate for use. Is it possible to …

[Previous page](https://forum.pinegrow.com/c/pinegrow-wp/wordpress/18.md?page=2)

[Next page](https://forum.pinegrow.com/c/pinegrow-wp/wordpress/18.md?page=4)
