As far as my understanding you want to make changes in the theme without affecting the main theme so For this purpose the best practice would be creating child theme. So you can edit this child theme and your main theme will be safe. So, you can update the theme safely.
Refer to WordPressCodex on creating child theme.
Hope this solves the problem.
Related Posts:
- Making update notification functionality for my themes
- Best practices for monitoring the need for future updates on a theme that I developed?
- Custom theme/plugin update checks
- Automatic Updates For Private And Commercial Themes?
- Pushing updates to your premium theme
- Theme showing incorrect update
- Prevent update check for specific theme
- Prevent WordPress updates from overriding custom language translations?
- How can one update a theme on a live site without interruption?
- WordPress 5.8 update problem custom theme styles are overridden by core styles common.min.css
- If I build a custom theme, will it update?
- Show warning if plugin is missing
- Why are theme templates organized as multiple point of entry PHP files instead of reusing your theme’s index.php?
- Execute upgrade-theme with coding
- How to change database values on theme update
- How can I ping update-core.php with a script?
- Custom theme updater – random string in new theme name
- Wordpres core-update theme renames theme folder name
- How to make updatable custom WordPress theme?
- Updatable theme developing
- Looking to create an “update theme” functionality for a custom front-end dashboard
- Update modified Shopify third-party theme [closed]
- Any way to permanently translate themes?
- How to throw the “We need ftp info” at a user
- How do I send out an update for my custom wordpress theme?
- Is wp_is_mobile() effective?
- Display Menu Name using wp_nav_menu
- What questions do you ask when asked to give an estimate on theme development?
- How to remove dashicons.min.css from frontend?
- What’s the difference between home.php and index.php?
- get_template_part vs action hooks in themes
- Google Maps not displaying in wordpress using Google Maps Javascript API
- Hide certain pages / posts on wp-admin, show custom filter
- What is the purpose of an extra file for translation?
- Problem with registering menus – What to do when other solutions aren’t working?
- add_theme_support(‘my-custom-feature’)
- Displaying wp menus by name without using theme locations
- Adding dashicon fonts to the admin of pre 3.8 installs
- How to add dynamic inline style?
- Change display of featured image for pages in twenty seventeen theme
- Do I really need the div class entry?
- How to manipulate “add media” pop-up
- WordPress Gutenberg Theme: Structure, Hierarchy and Custom Templates
- How to Take Ownership of a Theme
- Best way to start becoming a wordpress developer
- Why wp_head() function not loading style.css?
- How to make content editable from admin page?
- Redirect Old .php URLs to New WordPress Page
- Widget items disappearing
- Add submenus to Theme options menu
- create-guten-block in wordpress theme?
- WordPress navbar with logo in middle [closed]
- How to add new args data in $wp_customize->add_setting?
- Events Made Easy Plugin – Duplicate Title Tags
- Is the current Theme version number cached somewhere?
- PHP Template way of coding for wordpress theme development
- display menu with out list tags
- Custom form in theme template displaying internal server error upon submission
- Trackbacks not displaying
- Widget Option is Missing
- Get data from style.css file and from from users->your profile
- Getting Different Size Of Attachment Images
- How to dequeue css files?
- How to disable thumbnail filter for a specific template part or image size?
- get_template_part() doesn’t work
- Show for a particular page ID only title and short summary
- reduce duplicate code in wordpress
- Assign custom classes to the divs inside the loop
- Theme Action to hook for one time only function [duplicate]
- Proper way to move a Bootstrap site to WordPress [closed]
- iPad WordPress theme?
- Adding link post format to theme and permalink to rss feed
- custom Background not showing after upgrade?
- Does single webpage do not need navigation to create a slug in permalink?
- Posts Page shows Classic Editor interface not Gutenberg
- Comment Form Development Issue
- WordPress theme doesn’t read my translations from pt_BR.po file
- Get gallery images description not work for some images id
- How to get full native language instead of iso?
- Move the social media icons to the left of a WordPress nav menu for Soledad child Theme
- Is a multipurpose theme an alternative to modifying or creating a theme from scratch?
- Two instances of the theme folder in the URL
- I want to change the author name
- Does any JavaScript file load automatically for index.php file?
- Display content on Single page
- Horizontal Navigation
- Trouble creating custom sanitization function when uploading video files
- How to store and retrieve the attachment alignment?
- Custom image size doesn’t work
- Paginated WP_Query doesn’t return 404’s, even when posts don’t exist
- The content not wrapped in paragraph tags with get_page_by_title()
- Not Found when using activity stream as front page with BuddyPress
- Import/Export WordPress demo
- How customizable is a self-hosted WordPress blog compared to a Blogger blog?
- Why we do need wp_enqueue_script() function?
- Is it possible to use “wordpress.org Theme Handbook” look&feel as a theme in my own site? [closed]
- sanitize_option_{$option} filter returns null
- Execute javscript when theme customizer loads (autosave issue)
- How to set the margin on an innerBlock in a block variation?
- WordPress theme.json: Why doesn’t “contentSize” work