# Php not getting update when changing html

**URL:** https://forum.pinegrow.com/t/php-not-getting-update-when-changing-html/3272
**Category:** Pinegrow PRO
**Created:** [August 24, 2019, 5:27pm UTC](https://forum.pinegrow.com/t/php-not-getting-update-when-changing-html/3272 "2019-08-24T17:27:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![creativedevil](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@creativedevil](https://forum.pinegrow.com/u/creativedevil)
#### Post date: [August 24, 2019, 5:27pm UTC](https://forum.pinegrow.com/t/php-not-getting-update-when-changing-html/3272/1 "2019-08-24T17:27:19Z")

</div>

ok i opened the wp theme as a project then made changes to the index.html and saving the page but what i noticed it the index.php file is not getting updated with the changes…how do i ensure that php file too it updated witht he changes

---

<div class="post-metadata">

### Author: ![Pervasive](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/pervasive/32/2251_2.png) [@Pervasive](https://forum.pinegrow.com/u/Pervasive)
#### Post date: [September 1, 2019, 1:48pm UTC](https://forum.pinegrow.com/t/php-not-getting-update-when-changing-html/3272/2 "2019-09-01T13:48:05Z")

</div>

Why would you have a html and php file that you expect to both be the same and make for yourself double work?

---

<div class="post-metadata">

### Author: ![Terry44](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/terry44/32/175_2.png) [@Terry44](https://forum.pinegrow.com/u/Terry44)
#### Post date: [September 3, 2019, 9:26am UTC](https://forum.pinegrow.com/t/php-not-getting-update-when-changing-html/3272/3 "2019-09-03T09:26:29Z")

</div>

What you are describing is not how Wordpress works.

If you want to create Wordpress themes you need the Wordpress version of Pinegrow and a decent understanding of Wordpress itself.

---

<div class="post-metadata">

### Author: ![Pervasive](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/pervasive/32/2251_2.png) [@Pervasive](https://forum.pinegrow.com/u/Pervasive)
#### Post date: [September 3, 2019, 8:06pm UTC](https://forum.pinegrow.com/t/php-not-getting-update-when-changing-html/3272/4 "2019-09-03T20:06:19Z")

</div>

@Terry44 - That is very interesting that I would need the PG/WP version to work with anything PHP.

It makes perfect sense to me that if you edit your php file the html file shouldn’t change and visa-versa.

Why would PG care… what’s different in how PG handles php files in PG Pro vs. PG/WP? I would seriously think that there isn’t any difference.

I would also like to think that I can use WP Blocks in PG Pro, as my understanding is that every WP is basically embeded markup that doesn’t affect the html in any way.

I still have a lot of learning to do as far as how PG does things, but I feel like I’m getting there; perhaps slowly, but surely.
