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?
- wp_redirect() – headers already sent
- The the_post_thumbnail without srcset?
- after_setup_theme always runs
- Enqueue Stylesheets After Theme’s “rtl.css”
- How to add default images for custom backgrounds?
- Custom Theme: The active theme is broken. Reverting to the default theme
- comment_form() generates the wrong action url
- Customize comment list markup
- Have WP Theme update from Git Repository
- A two column loop with one lead post
- new theme permissions don’t allow me to edit
- Can a child theme based on Starker theme be released as free to use theme for public use?
- Changing order title and featured image in blog post (Astra theme)
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- Link won’t show using the_permalink();
- How exactly *does* unit testing work for themes?
- qTranslate with my own theme and settings
- Make logo dynamic in wordpress
- Do i need to keep all the default WP templates files in a theme?
- Create a new page in WordPress theme
- where to split off footer.php
- How to show user online status on their posts?
- What is the correct way of getting parent styles from child theme?
- How to display all subpages and short by year
- how to setup custom content structures
- WordPress Filtering Custom Post Type by Metadata and Search Heirachy
- How to Call pages from a Options Panel
- Nested comments in WordPress theme
- Is there a list of all display functions for templates? [closed]
- Featured Image meta box not showing up
- Why does WordPress append numbers to page slugs sometimes? How to reliably style based on page
- filemtime(): stat failed warning within a child theme
- What are the hooks in WordPress theme development?
- WordPress Template Part in iFrame
- Can I add an icon & function to the “Upload/Insert” toolbar at the top of the content editor?
- Is it possible to have a theme that uses only one single page?
- underscores use of the article element on the page template
- JQuery undefined and Stylesheet loads in bottom along with js files
- Why tags are displayed bellow the content and not inside
- What’s the best way to create a new design for other pages?
- Consequences if using PHP include TEMPLATEPATH?
- Adding a gallery to my first theme
- Headless WordPress + Vue.js on the same server
- Previous and Next links not populating, have I missed something?
- not getting API setting saved confirmation message after update on option page
- Single.php the_excerpt loads same as the_content not loading read more line
- Is there a way to retrieve the calling template part?
- WP_Query not getting all posts, just tagged posts
- how to hide home nav link in wordpress
- Converting a theme to a child theme in a network
- Calling a WP Plugin Function’s Variable in Theme Template [duplicate]
- Why excerpt hook not working inside ajax function?
- Help with Core Mods
- Local variable name in setup_postdata()
- Creating a Single Page Theme correctly
- Child theme menu not appearing in Twenty Seventeen
- Edit Product Archive design for Woo theme
- how to edit woocommerce checkout page
- Necessary css classes to be included in theme stylesheet
- Setting a fluid content width
- get_the_excerpt() removes all p tags in page!
- jQuery conflict in WordPress, works fine in HTML
- Including some variables in function.php and echo them is several place of theme is not working
- How to migrate the menu from the site on my own theme in WordPress?
- Why is including all your files within a theme folder important?
- Change default options on attachment page
- FitVid not working for iframes on particular theme install
- Make theme editor to show all theme’s files
- How do I change the tagline input to textarea?
- can’t add EVENT LISTENER to a element
- add_action works outside condition but not inside it
- Should I create a child theme for a parent custom theme? [closed]
- Jquery Ui Tabs not working
- Adding a new layout for genesis