Well, first problem:
$wp_customize->add_setting(
'tcx_footer_copyright_text',
…
echo get_theme_mod( 'tcx_footer_copyright_message' );
Those aren’t the same setting names.
Note sure why you don’t see the default value in the input field, as there’s nothing wrong there. Although you should also define the same default in the second parameter of the get_theme_mod() call.
Related Posts:
- I am trying to use the Theme Customization API but I keep getting an error
- Theme Customizer API Live Preview
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- What is an Endpoint?
- Constructing requests with URL Query String in Python
- Yahoo! Finance CSV file will not return Dow Jones (^DJI)
- Is there a developers api for craigslist.org
- How do you get the API key for Locu?
- Postman Resolving “Invalid CORS request” for a POST Request
- WordPress Rest API custom endpoint optional param
- WP function/filter for modifying http headers?
- New WP_Customize API – how does it work under the hood?
- Access WordPress API Outside of WordPress (command-line PHP)
- Create API for single sign-on with 3rd party site
- Is it Possible to Extend WP Customize JS Methods?
- Set up WP Authentication from External API
- How do I cache (core) API requests?
- WP REST API only returning partial list of users
- What is the best way to get directory path for wp-config.php?
- How to refresh WordPress Customizer panel upon entering a value
- WP Customizer – Prevent live preview
- Slow REST API calls on self-hosted WordPress [closed]
- WordPress JSON output
- Retrieving pages with multiple tags using REST API
- how to authenticate for the REST API from a plugin and from command line
- External WordPress API
- WordPress API – Get Drafts
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- Should I store external API data in my WP database or keep it as a transient?
- How to stop WP API endpoint from caching?
- Sending POST Request from server
- How to implement ERP (Enterprise Resource Planning) into WordPress?
- List Table API – Safe to use?
- API integration with WordPress
- POST to a REST API from a wordpress form
- How to get the attached gallery in the rest API?
- WP API : date_query parameter
- Gutenberg internal page link search box
- get WP-API by page id
- WordPress.org Support Forum API
- Sync posts from one WordPress site to another
- In the new Theme Customizer API, how to send a value from the front back to the admin panel?
- Authentication/API Questions
- Custom route for WP-API gives “rest_no_route” value
- Connect external web app to wordpress
- How to get all posts (in chunks) via XML-RPC?
- Customizer JS API: Defining control settings
- How to add a custom parameter to a WP API default route?
- Get more than 10 posts in a specific category with the wordpress api
- Customizer JS API: Adding Setting Dynamically Not Working
- “rest_no_route” – Debug error
- Passing variables to new page
- utf8 encoding in json rest api
- Developing Themes with React/Angular
- Authentication for a mobile app connected via wp-rest api?
- curl POST work with user meta but not the custom user meta
- Implementing the wp json-rest api
- WordPress API – count posts
- How to Securely and remotely Create new user in wordpress using Rest API
- API in numbers?
- how to get nonce using json api
- Does WordPress support a shortcode calling itself from within a shortcode call?
- What is the official way to consume the WordPress API? (api.wordpress.org)
- Stuck with wp_remote_post sending data to an external api on user registration
- Hide/show customizer controls based on other settings in Customizer
- Show different Customizer Settings on Page-Tamplates
- API for Post Stats for Self-Hosted WordPress using JetPack [closed]
- How to get title tag of an external page with http api?
- Create post with REST API in php with file_get_contents
- How to Hit External REST POST API in WordPress? [closed]
- How to get WordPress Plugins Data in PHP using Plugin API?
- Displaying Content with WP Rest API
- How to integrate Yelp API
- API getting null values with wp_remote_post
- Where to find WordPress API changes for each version released
- Custom Post for Locating by Google Maps API
- How to Increase WordPress JSON API Speed?
- Extending WordPress REST API
- How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?
- Customizer, change preview url when a control changes
- WordPress JSON API Extend to Create Users [closed]
- External API to WP
- Headless WordPress – Issue with plugin path
- Can’t get POST data in API endpoint callback
- node-wpapi: how to handle authentication?
- Post body not working with wp_remote_post()
- Customizer JS API: Adding a “dropdown-pages” control
- How can I cache WordPress Rest API Response
- WordPress REST API always misses parameters – rest_missing_callback_param
- Possible to use wordpress as publishing platform but programmatically inject content?
- Unable to find API Key for my blog
- Adding rest api endpoints to an old theme
- Difference between ‘type’ => ‘text’ and WP_Customize_Control
- How to avoid loading wp-load.php from external php scripts?
- Develop REST API using WordPress for Android app [closed]
- Why aren’t tags and categories added in post request to WP Rest API
- get_option() fails to return binary result
- Integrate ZOHO Recruit API?
- POST request not going through?