Yes.
It’s best practice to use a child theme and make your modifications there rather than edit the parent theme directly. This will allow you to to make changes without fear of overwriting your customizations.
From the Codex:
A child theme inherits the look and feel of the parent theme and all of its functions, but can be used to make modifications to any part of the theme. In this way, customizations are kept separate from the parent theme’s files. Using a child theme lets you upgrade the parent theme without affecting the customizations you’ve made to your site.
Related Posts:
- Missing feature image link function
- How to customize the_archive_title()?
- Get menu object from theme_location
- Displaying the number of updates available in the Admin area
- Trying to use add_action and do_action with parameters
- How to change the markup WordPress inserts for post images
- When tax_query used, results disappear (0 =1 produced)
- Safe to disable wptexturize?
- Get a list of all available fields in the User Profile
- Targeting specific menu with wp_nav_menu_items
- wp_get_attachment_image returns different image size
- Insert Ad Code in the Middle of a Post
- Limit the length of the Author Profile Biographical Text
- Add options to featured image
- disable comments if array exists
- WordPress Change Post Templates,but not drop down, but Image selection
- Programmatically Add Font-Awesome Icons to Category Widget
- Remove images from get_the_excerpt
- Remove “says” from comments
- Reuse variable in hook callback
- Dynamically Register Sidebars For Each Top Level Page
- Logging in redirects to correct page but shows logged out content until forced refresh
- Run Product Filter Javascript On Page Template
- What is the criteria for pluggable functions?
- Can you use admin pages functionality on the frontend of your site
- How can I stop a function from encoding an entity?
- Theme-Config tab in admin Pannel?
- Display more recent and less recent posts in same category
- Function to “Press Update Button” on all posts
- Change WP attachment name to postid during upload only for post type
- Overwrite Parent Theme add_image_size in Child Theme
- Custom registration URL lost when user makes signup mistake
- How to target only the front page (not subsequent paginated pages) in theme/plugin?
- Get the 5 lastest Featured Posts from a category
- Is it possible to change any of the HTML/URL returned from the_category()
- Individually styling date month year [closed]
- Tiny MCE-modifications (plugins) stopped working in WordPress 5.6
- Activate small php condition at footer over page template
- How to insert custom widget in custom sidebar in theme activation?
- Writing functions in WordPress functions.php that don’t replace a WordPress core function
- HTTP_HOST changing in functions.php
- Change position of media in admin menu
- 404 redirect to previous category
- show first 3 thumbnails of posts in different sizes [closed]
- Getting custom image size URL in functions
- new_excerpt_more link not working properly
- WordPress function saves a post twice and updates all posts
- Change CSS for logged in users
- if statement for wordpress default featured image on single post
- Function to display post by specific author
- Want to dequeue all the CSS and JS from /wp-content/uploads/xyz-folder
- Disable wp_is_mobile()
- How can we know we are not in edit page
- Adding jQuery datepicker to Custom Post Type Metabox [closed]
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 9967617 bytes) in …\wp-includes\functions.php
- What happens to the text in functions.php file outside of the php enclosure?
- wordpress acts like functions.php doesn’t exist [closed]
- retrieves menu and converts it to a readable array
- Strip div From Excerpt
- How to properly set custom logo size?
- Image Crop Not Working
- WordPress can’t get jquery/unslider to work
- how get number of twitter followers in wordpress
- template_redirect action only firing if logged in
- Unable to use get_page_by_title() more than once per page?
- How to Display WooCommerce Product Price in WooCommerce Archive
- Woocommerce Variable Product Dropdown for Custom Shop Template
- Featured Image and Tags problem
- Advanced method to control cache of enqueued style/script
- Issue passing action class to nested function. Admin Columns
- large image size of 1440×1440 not pulling 2x of 2880×2880 image
- How to make the RTL.css the dominant css code?
- Its my first time trying to create a website , I got an error Please help
- Load scripts into an AJAX div
- restrict uploaded image size and fixed image display size
- Code executes outside of Loop while same code gives ‘Uninitialized string offset’ notice inside a while loop
- Function not receiving string from shortcode
- I’m getting invalid taxonomy in init action
- Is there any requirements to do socket programming with WordPress?
- Restricted images only for logged user. (hidden url)
- Only seems to be displaying one child when there are supposed to be multiple
- Rest API User Levels
- adding google analytics via echo or between tags
- Slider Thumbnail Size Issue [closed]
- same get_posts function works diffrently in tag.php and functions.php
- Call custom field using php
- WordPress permanently logging users out
- Meta Box value not been pulled in
- Syling Custom Fields echo’s from from functions.php
- How to Update User Meta Field other than from profile?
- Retrieve array of attachment IDs attached to a given Post ID
- add_theme_support not outputting thumbnails
- More link – not text
- update_user_option not working as expected
- Shortcodes not outputting in correct divs
- Help finishing script to export WP user data when form submitted
- PHP Notice: Function is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false
- How do i set global variable in a function in wordpress functions.php
- Working function() doesn’t execute when triggered by WP CRON
- post_row_actions filter from parent theme not executing in child theme