# How to edit single post template (block based) from WP Dashboard?

**URL:** <https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732>\
**Category:** Pinegrow WP\
**Created:** [July 30, 2022, 8:48am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732 "2022-07-30T08:48:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [July 30, 2022, 8:48am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/1 "2022-07-30T08:48:18Z")

</div>

Hi,

I have a blocks.html file in my Pinegrow WP project which stores all my blocks which are being used on Homepage, Individual Pages. Now I started working on the single post template file. I am confused how can I edit the single post template file from wp-admin and add blocks for the layout just like I added the blocks on Homepage in Gutenberg editor. I have seen in a FSE site that I can add modify the single post template from wp-admin. Can the same be done with Pinegrow just like we do for the pages?

Thanks!

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [July 30, 2022, 2:11pm UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/2 "2022-07-30T14:11:47Z")

</div>

What will be the implications if I use a FSE theme with Pinegrow plugin? Will I still be able to completely style all blocks and woocommerce elements through the plugin?

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [July 30, 2022, 3:12pm UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/3 "2022-07-30T15:12:15Z")

</div>

It seems I cannot override woocommerce layouts from a pinegrow plugin.

Any insights you can offer on this? @matjaz

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [July 31, 2022, 6:38am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/4 "2022-07-31T06:38:44Z")

</div>

> [@Pinegrow\_Learner](#):
>
> Can the same be done with Pinegrow just like we do for the pages?

Not sure I understand. In general, any blocks created with PG and exported as a plugin can be used as post content, sidebar content and in FSE.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [July 31, 2022, 6:40am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/5 "2022-07-31T06:40:46Z")

</div>

Yes. On difference is that with plugin it is not possible to include a theme-wide stylesheet into the Block editor with Editor Stylesheet options in PG Theme / Plugin settings. Any stylesheets need to be added on the Block action.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [July 31, 2022, 6:43am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/6 "2022-07-31T06:43:18Z")

</div>

> [@Pinegrow\_Learner](#):
>
> It seems I cannot override woocommerce layouts from a pinegrow plugin.

Try setting the Templete Variant as described here:

> **[Template variants - alternative sale flash design | Pinegrow Web Editor](https://docs.pinegrow.com/docs/woocommerce/creating-custom-woocommerce-themes-course/template-variants-alternative-sale-flash-design/)**
>
> How to define and use multiple variants for WooCommerce templates?

This causes the PG code to process the template and search for it in the plugin as well. By default, WC only looks for templates in the theme folder.

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [July 31, 2022, 7:52am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/7 "2022-07-31T07:52:47Z")

</div>

Thanks for this tutorial. It still didn’t override the layout when I am using Pinegrow as a plugin. If I use it as a theme then it’s able to override.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [August 1, 2022, 5:18am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/8 "2022-08-01T05:18:09Z")

</div>

@Pinegrow_Learner thanks for the update. I’ll look into it.

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [August 21, 2022, 1:49pm UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/9 "2022-08-21T13:49:08Z")

</div>

@matjaz Were you able to take a look? This is one thing which is holding me to complete the tutorial which I am making for Pinegrow.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [August 23, 2022, 4:50pm UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/10 "2022-08-23T16:50:26Z")

</div>

@Pinegrow_Learner this will be out in the next release:

Creating plugins with WooCommerce blocks that implement custom freestyle layouts.

For example, you will be able to create a block that will show one or more products with custom layout and styling for WC elements such as title, price, image etc. Such block will use layout defined in the plugin, not the one defined in the theme.

But, you will not be able to override general WC templates from the plugin. That would lead to a poor architecture, because in WC-land, only themes are supposed to override those templates.

What kind of tutorial are you making?

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [August 25, 2022, 5:43am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/11 "2022-08-25T05:43:10Z")

</div>

Thanks @matjaz

I think that will be enough. I’ll place the block via FSE and that will cover all the needs.

I am making a full site build tutorial.

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [August 25, 2022, 9:34am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/12 "2022-08-25T09:34:57Z")

</div>

Just tested 6.8 @matjaz You did an amazing job! I have tested a custom pinegrow woo block and it works amazing in the fse. I think Pinegrow surpasses every other wp builder with this development. Do you have any public roadmap for Pinegrow? Very curious to know what’s cooking for the future. Bricks builder have a nice roadmap with the ability to share feedback on the same. Take a look here. [Roadmap – Bricks (bricksbuilder.io)](https://bricksbuilder.io/roadmap/)

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [August 25, 2022, 9:45am UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/13 "2022-08-25T09:45:47Z")

</div>

[Since 2014](https://pinegrow.com/release_notes/), we are constantly working on improving Pinegrow based on input from our community and sometimes we make important announcements about future features, but we have chosen not to detail our internal roadmap.

This allows us to manage our agenda according to our own expectations, our priorities, our emergencies and possible technical situations that could disrupt/slow down/stop the good progress 🙂

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [August 25, 2022, 4:17pm UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/14 "2022-08-25T16:17:32Z")

</div>

> [@Pinegrow\_Learner](#):
>
> I have tested a custom pinegrow woo block and it works amazing in the fse.

Thanks @Pinegrow_Learner! Can you share what you did?

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [August 25, 2022, 4:35pm UTC](https://forum.pinegrow.com/t/how-to-edit-single-post-template-block-based-from-wp-dashboard/6732/15 "2022-08-25T16:35:43Z")

</div>

I just did a sample test for now. A product loop which I placed in my fse theme in woo catalog template and single product page blocks which I placed in single product page template in FSE. I’ll be back to writing the tutorial. I’ll share once I am done. So many possibilities in my mind right now to try with Pinegrow.
