8theme site logo
Get Unlimited Downloads
Themes & Templates
XStore
Demo
Elements
XStudio
Multi-Vendor
Dokan MultiVendor
MultivendorX
WCFM Marketplace
Customers Showcase
Roadmap
Translation files
All Features
Changelog
Buy XStore Now!
WordPress WooCommerce themes
XSTORE ThemeForest
Our Services
WP Theme Customization
Theme & Plugin Development
WP & WooCommerce Development
Web Design, UI & UX
WP Troubleshooting & Maintenance
WP Speed Optimization
Security & Custom API’s
Site Migrations
SEO Services
Figma to WP Integration
Support
XStore Support
Royal Support
WooPress Support
Legenda Support
Themes Changelog
XStore Changelog
Royal Changelog
WooPress Changelog
Legenda Changelog
Renew Support Now!
Documentation
XStore Documentation
Royal Documentation
WooPress Documentation
Legenda Documentation
More Documentation
Video
More
Partners
Customization Services
Customization Services
SEO Experts
Multilingual Plugin WPML
Multicurrency Plugin
Premium Hosting (Siteground)
Kinsta WordPress Hosting
Documentation
XStore Documentation
Royal Documentation
WooPress Documentation
Legenda Documentation
More Documentation
Video tutorials
FAQ
FAQ
Partners
Customization Services
SEO Experts
Multilingual Plugin WPML
Multicurrency Plugin
Premium Hosting (Siteground)
Kinsta WordPress Hosting
Create Account
Log In
Log In
Create Account
Mobile menu toggle
Home Page
Forums
XStore WordPress WooCommerce Support Forum
Where I have to place certain PHP code so to be hardcoded forever and not lost
Reply To: Where I have to place certain PHP code so to be hardcoded forever and not lost
Return to previous page
Reply 246431 to: Where I have to place certain PHP code so to be hardcoded forever and not lost
John Holden
Support staff
August 4, 2020 at 02:13
Hi,
You should put code in Child Theme.
Regards,
Hung PD
Go To The Whole Conversation In Topic
Recent Topics
How to removed the unneeded sections that they are not at “single product” page?
2 hours, 11 minutes ago
Is there a theme conflict with the WebToffe Smart Coupons plugin
2 hours, 35 minutes ago
Tag “New” ON – Product variation change
3 hours, 11 minutes ago
TEMPORARY SITE OVERLOAD The site connection pool has been exhausted. Please refresh or try visiting
3 hours, 55 minutes ago
Product Title Attribute tooltip on hover
4 hours, 37 minutes ago
Helpful Topics
Hi. It possible edit blogs page like example?
1 years, 3 months ago
Demo import is a disaster this not look like themeforest
1 years, 10 months ago
Activation limit reached after reset please reset subscription
2 years ago
update theme legenda
3 years, 1 months ago
Add to Cart button is not showing
3 years, 1 months ago
After updating off canvas cart does not show items added
3 years, 5 months ago
XSTORE POPO WIDGET TRANSLATION
4 years ago
Header
4 years, 2 months ago
Switch language site
4 years, 5 months ago
Display of product`s attributes
4 years, 5 months ago
The best Web hosting only $3,19/mo
Get Started
Useful links WooCommerce & WordPress
WooCommerce Themes Documentation
Manual & Video Tutorials
WooCommerce Frequency Questions
Our Privacy policy
Browse by popular tags:
Responsive
activate
WordPress Font Customization Problem
performance
WooCommerce Layout
Design troubleshooting
WooCommerce Twitter Integration
icon
page
id error line 1136
Details Fields Issue
Managing Comments
icons
WordPress WooCommerce Customization
Improve Website Aesthetics