No, a theme’s .php files are not stored in the database. Themes should not be hardcoding URLs in their files. However, it’s totally possible for this to happen, particularly with a custom theme or plugins whose developer did not follow best practices.
I’d suggest using a search utility such as grep (grepwin is nice for Windows) to look within your files just to be sure if your domain appears or not.
Also, when doing a search and replace on the DB, remember to use a utility that is able to handle serialized arrays, since a simple string replacement will damage data. WP CLI’s search-replace is one option. WP DB Migrate is really nice too.
Be sure to make a backup of everything before you make changes.
Related Posts:
- Theme Activation, Create Database Tables
- WordPress Backup
- I want to run different WordPress websites under the same database
- Delete database tables on theme uninstall?
- Should a child theme share the same theme options row as the parent, or should it have it’s own options row?
- Posts and Pages not showing on admin, but showing in theme
- 1 Database for multiple WordPress themes
- Web site Header tag links some resources with HTTPS
- How to transform a custom made static HTML website to a WordPress website [closed]
- Using the same database on another Subdomain
- different theme in one website
- I’ve got a theme I can’t update and won’t let go
- Trying to revive an old wordpress site, but newer versions of wordpress install a different db structure
- Switching among theme customizations
- After changed url from http to https, it says “This site can’t be reached”
- how make wp include urls as https?
- The function is deprecated; use mysql_real_escape_string() instead
- Uploaded WordPress theme not finding pages and css
- CSS/JS is not working in multi lang installation
- WordPress Theme Migration Local to Live Assets Not Loading
- How to change images size after theme modification?
- 2 WP websites same content different themes
- How to change database entries due to theme change
- Customizing a WordPress theme without changing it?
- Installation failed: Download failed. No working transports found
- What is theme-compat?
- W3 Total Cache, CDN and theme files [closed]
- No “Add New” Button. How to add new theme?
- Dynamic template serving, change theme_root using add_filter from current theme
- is_front_page only works in theme file, and does not work in functions.php
- Splitting an Evolving Site into Multiple Sites, or Maintaining as One Site?
- What are nulled themes?
- How to display date such “x ago”
- How to use same theme template for multiple taxonomy terms?
- Css of both themes of my child theme isn’t showing up!
- FTP Username and password wrong while installing theme
- WP Video media player not loading correct CSS after AJAX load
- Copying theme from Localhost to Live does not copy all theme settings with it?
- Making the Header on the Twenty Ten Theme Less Tall?
- How to create child theme with Tesseract theme?
- How do I change the fonts in the Twenty Thirteen theme?
- Register theme customizer settings when theme activates [duplicate]
- Can I obtain differents links for different installed theme?
- hfeed CSS class in Twentyeleven Theme
- Will activating a different theme preserve custom settings to current theme?
- Which is the most well coded and semantically correct naked/blank WordPress theme (based on WordPress coding standards)?
- How do you install a .MO (language file) to use as part of a theme?
- How to change the themes “Live Preview” url within the Appearance->Themes page?
- Question about the way that wp_register_script works
- Specific theme for non logged in users
- Cannot find the code for “Edit This” link in posts in a specific theme
- How do I apply my CSS to a theme page?
- How do you get thumbnails to show up in the admin edit post?
- How to change the contact info at the bottom of my theme [closed]
- How to get the post-ID in my plugin?
- Customize “Continue Reading” text [closed]
- Parallax WordPress theme without hardcoding – possible?
- Embedded Videos (PB) – Not Available
- How does a Child Theme works?
- WordPress not displaying themes in the wp-content/themes folder
- Recommended Themes for a Developer-related Topics Blog?
- How to create child theme of already active and customized theme
- How to loop over wp_get_themes() and create an array of themes name
- Force theme or disallow theme change
- Combining wordpress themes
- how to use the slide show of Skylark in showcase?
- How to put a Worpdpress theme in spanish (having the po file)?
- How to run WordPress from other location on the same domain
- Custom options below pages/posts editor?
- Fatal error with a theme
- WordPress theme options and insert default value for serialize data
- How to change only one javascript function in wordpress child theme?
- Woocommerce StoreFront Showing Incorrect Subtotal in Customer Total
- Switching to a child theme
- CSS Start Fresh option on; main.css still being loaded [closed]
- When creating a WordPress site how can you create different versions of the site with different themes?
- Depending on third party plugins for theme functionality
- Restrict access to specific widget field based on user role
- Twenty Twelve theme search returns Nothing Found
- How to apply different themes with custom design in one site?
- How to make Additional css changes global all across the web pages on WordPress website?
- Variant of the same theme for each page
- A thin line between native wordpress bahaviour and 3rd party themes
- How to push a theme update for a ciustom theme used on multiple independant self hosted sites?
- Removing a widget via theme editor
- Can’t embed certain youtube videos into theme
- How to customize a section of a widget only on certain pages or page
- How do I get the featured image to sit below the header in the twenty nineteen theme?
- Basic wordpress search shows no results
- How do I remove search bar that isn’t a widget?
- Resetting Themes Folder to Default
- How to Hide Blog Post Author?
- Absolute and relative paths
- Get header/footer list for a theme
- Help!!! Old theme doesn’t load scripts and conflitcs with plugins
- Fatal error Class-wp-hook, again, but not sure what’s triggering it
- How to remove pop up on website (css changes not visible)?
- How to schedule Automatic WordPress Core and specifics Plugins updates for specific time a day
- The logo is not appearing on my website header(Astra)
- Apply Style variation to specific pages