Title: Save Changes changes patterns / parts
Last modified: September 17, 2025

---

# Save Changes changes patterns / parts

 *  [philbee](https://wordpress.org/support/users/philbee/)
 * (@philbee)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/save-changes-changes-patterns-parts/)
 * I guess this is sort of the opposite of what’s [described here](https://wordpress.org/support/topic/create-block-theme-export-creates-unwanted-php-files/):
   when I Clone TwentyTwentyFive using Create Block Theme, add a new template with
   only pre-defined header and footer template parts in it, and save the changes
   to the theme, the code from footer.php is written into footer.html.
   TwentyTwentyFive:
   ~/parts/footer.html which is only a link to a pattern~/patterns/footer.php contains
   the actual codeClone of TwentyTwentyFive~/parts/footer.html now contains all 
   the rendered PHP code~/patterns/footer.php contains the unrendered PHP codeIs
   this for security reasons (no writing of PHP code in ~/wp-content/)?

The topic ‘Save Changes changes patterns / parts’ is closed to new replies.

 * ![](https://ps.w.org/create-block-theme/assets/icon-256x256.png?rev=2777957)
 * [Create Block Theme](https://wordpress.org/plugins/create-block-theme/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/create-block-theme/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/create-block-theme/)
 * [Active Topics](https://wordpress.org/support/plugin/create-block-theme/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/create-block-theme/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/create-block-theme/reviews/)

## Tags

 * [parts](https://wordpress.org/support/topic-tag/parts/)

 * 0 replies
 * 1 participant
 * Last reply from: [philbee](https://wordpress.org/support/users/philbee/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/save-changes-changes-patterns-parts/)
 * Status: not resolved