Blocksy child theme update guide: does the parent theme upgrade affect customization settings?

exist WordPress websiteIn development, Blocksy theme is popular due to its speed, modularity, and compatibility with Gutenberg. When you use Blocksy, you also enable child themes for further customization. This post is centered around how upgrades to the parent theme affect customization settings, and provides an in-depth explanation of how the Blocksy ThemeThe mechanism for updating, the role of sub-themes.

Image[1]-Blocksy child theme update guide: does the parent theme upgrade affect customization settings?

I. What are parent themes and sub-themes?

1.1 Definition of Parent Theme (Parent Theme)

The parent theme is the main WordPress theme that is installed and activated, in Blocksy's case, the blocksy theme package from the official source. It contains:

Image[2]-Blocksy child theme update guide: will parent theme upgrade affect customization settings?
  • possessforward part of sth.Styles and typographic structure
  • PHP template files (e.g. header, footer, single, etc.)
  • Functional functions (e.g., custom modules, global configuration)
  • Integration logic with WordPress core interface

1.2 The Role of Child Themes

subthemeis an "extended version" of the parent theme. It does not change any code of the parent theme, but "inherits" all the functionality of the parent theme, allowing the original theme files to be used without modification:

Image [3]-Blocksy child theme update guide: does the parent theme upgrade affect customization settings?
  • Add or modify styles (CSS)
  • Overwrite template files (e.g. header.php)
  • Add custom functions,establish contact withand module extensions
  • Securely personalize your development

The biggest advantage of child themes is - changes are not overwritten when the parent theme is updated.

What settings under Blocksy child theme will not be affected by the parent theme update?

2.1 Customized CSS and Styles in Child Themes

All styles written in the child theme's stylesheet or added via the WordPress Appearance Customizer will not be overwritten by Blocksy updates.

2.2 Function code in functions.php of the child theme

In the subtopic's functions.php added in the filecodingThe code in the child theme will remain the same even if the parent theme is updated, deleted or added. Even if the parent theme is updated, removed or added functions, the code within the child theme remains unchanged.

Image [4]-Blocksy child theme update guide: does the parent theme upgrade affect customization settings?

2.3 Overridden template files in child themes

If you copy one of the template files of the parent theme to the child theme and modify it, the theme update does not affect the changes in the child theme.

2.4 Hooks, scripts, shortcodes, etc. registered through subtopics

As long as this content is registered through the child theme and does not rely on the parent theme'sreleaseslogic, it won't be purged by the parent theme upgrade.

C. Explanation of the Core Mechanism of Blocksy's Updated Retention Settings

3.1 Are the settings of the Appearance → Customizer preserved?

Yes, all colors, fonts, typography set in Appearance → Customizer,opening (chess jargon)None of the content, such as this, will be lost with a theme update. These settings are saved in the WordPress database, not in the theme files, so updates won't affect them.

3.2 Does using the Blocksy Companion plug-in affect update security?

It won't.Blocksy Companion Blocksy is an official Blocksy plugin that supports page building blocks, cookie notification bars, additional widget settings, custom code injection and other features. It is managed separately from the theme body and child themes.

Image [5]-Blocksy child theme update guide: does the parent theme upgrade affect customization settings?

3.3 In what cases can the misunderstanding of "missing settings" occur?

  • When switching themes and then switching back, the default will go back to the initial appearance preview, but the actual settings are still saved in the database
  • Use the caching plugin or CDN CachingNot refreshed, resulting in seeing the old page
  • The child theme calls some functions or modules in the parent theme, and the function is invalid after the parent theme is updated.

IV. Best practices

4.1 Writing styles and functions to child themes

Do not modify the blocksy theme's CSS or template files directly. Use a child theme to make changes, so that even if you update the parent theme, the changes will still be valid.

4.2 Regular backup of theme settings and database

Image [6]-Blocksy child theme update guide: will parent theme upgrade affect customization settings?

Blocksy's settings are saved in the database, but the entire site should be backed up regularly, especially before making theme or plugin updates. It is recommended to use plugins such as UpdraftPlus etc. for quick backups.

4.3 Using Blocksy Official Child Themes or Custom Child Themes

The standard child theme can be downloaded for free from the official Blocksy website, or you can use the WordPress The officially recommended method of creating belongs to the child theme, ensuring a standardized structure and greater subsequent maintainability.

V. Summary

Image [7]-Blocksy child theme update guide: will parent theme upgrade affect customization settings?

utilization Blocksy When building a website that incorporates a child theme for customization, you can update the parent theme without worrying about theCustomized settingsOverwritten. Parent theme updates are primarily intended to enhance functionality, fix security issues, or upgrade thecompatibilityThe child theme is a tool designed to solve the problem of "how to customize safely". As long as the style, functionality, etc. in the child theme, you can achieve the theme update and personalized development of the double security.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by Millie
THE END
If you like it, support it.
kudos682 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments