You can do this by adding a function like below in your functions.php file:
function my_cancellation_policy () {
return 'Your text here';
}
Then you can print this way:
echo my_cancellation_policy ();
If you are about to put html code in there make sure you don’t mess up with the single and double quotes.
Related Posts:
- Return $post_id when DOING_AUTOSAVE?
- Including Angle Brackets In Pre Sections
- Anchor Text code string is automatically modified by WordPress
- WordPress is converting & to & inbetween [code] brackets
- Notice: Undefined property: wpdb::$current_post What can be wrong?
- Where to save common libraries?
- source code: WP_INSTALLING vs. WP_SETUP_CONFIG in setup-config.php
- Sublime Video: Playlist which gets all attached videos
- Code Friendly Block Quotes
- Remove line breaks from ?
- How to fix a “globals” issue to avoid a rejected theme?
- Need resource on available functions and objects
- WordPress wp_insert_post() returns 0 but not not wp_error
- I want to remove the home page header image from all other pages
- Proper implementation/use of code/syntax highlighting
- How to remove all comments from JS, HTML, CSS files?
- What data validation we must use in different contexts?
- Need To Post Unformated Code
- Sidebar login: How do I get the username to show after “Welcome”?
- How to manage multiple wordpress project with shared code base
- Block IP Addresses using Code [closed]
- Find Total Authors
- Why does HTML entities are still encoded in Code Block?
- How to create a checkbox to show/hide a field in WooCommerce checkout [closed]
- how to display google maps with javascript
- How to pass https://achecker.ca/ validator? [closed]
- How to write custom code on WordPress?
- Remove Metaboxes
- Google analytics won’t work in wordpress
- Where do I add an action hook & callback in my theme?
- How do I reset my footer.php to its original state? (theme: Origami)
- Commenting out in HTML editor breaks template
- wordpress prepare error
- Adding code to send referrer on login page
- Table styles disappear when updating content
- Manage recurring event time
- wp_editor save all content
- Need an elegant solution to declare the value of two variables based on the count of the post
- How to insert integration code for CRM?
- Anchor Text code string is automatically modified by WordPress
- Return $post_id when DOING_AUTOSAVE?
- Changes in code only show after changing theme
- Code Highlighting in BlockQuote
- feed url problem
- Where do I go to add a tag before the closing body tag?
- Upload Multiple Files With media_handle_upload
- How to create a custom button for the visual editor that adds 4 non-breaking spaces? (plugin or simple code)
- I want to remove the links from the term list returned by get_the_term_list
- Open posts in editor in the ‘Text’ mode by default
- Can I view my own wordpress php source code on my hosted web server?
- Completely disable RSS feeds on WP 5.5.2 and show a 404 page instead of die();
- How to display php source code inside a post using visual editor?
- Proper indentation of code generated inside hooks
- How to add source code into wordpress post really?
- How can I upload an image for background use using the Theme Editor in WordPress?
- Adminbar Missing “Edit Page”
- I got an issue after i migrated a site
- How to save inputed data in a textbox [EDITED] [duplicate]
- Send notifications to custom post author when custom post is edited
- WordPress editor removes all the linefeed characters with WP-Markdown and Syntax Highlighter evolved
- How can I optimize this code? [closed]
- Creating custom post type with custom taxonomy and custom fields programatically
- How to stop displaying the Id without losing the functionality
- Displaying Meta-Box Data Properly
- Changing input type from text to multi select dropdown – skill taxonomy
- How to change the link on the logo at the menu?
- using wp enqueue style to create a CSS file specifically for a page template
- Accidentally deleted php code in WordPress website [closed]
- How to remove automatic generated tag in Home page
- Insert PHP code in Text
- post/page content
- Is it possible for two WordPress plugins to share the same code base?
- what code to add to search.php
- Why aren’t my Follow Me links working?
- Is there a way to programmatically pass a category to the Media Library selector?
- How i can remove Working Functionality of my header & footer plugin from backend files but in front end plugin need to show that plugin activate
- Woocommerce display orders with products from specific categories to specific admins
- Copying and pasting to WordPress “code editor” code via the front end and clipboard
- How to preload header logo image in WordPress? like what’s the code and where do I put it?
- Problem with MEMCACHE and Redis with wp_options
- Shortcode with loop stacks output
- How to increase width of code block in WordPress blog?
- How to put 2 php codes in functions.php without site crashing
- out of nowhere
- admin-ajax.php 400 bad request – whats wrong with my code?
- Drop down list code for sidebar
- Some code is added automatically to my site’s header – what is it?
- It possible to implement an adhoc php web application with wordpress?
- Blog only showing code
- How to get tags and categories?
- why is markup routinely placed in functions in wordpress?
- CSS Styling for a Page/ Site made with Pagelines
- Open all external links in new window – need help with the code
- Is it possible to use github:gist with WordPress? [closed]
- echo or return? [duplicate]
- How to get the Woocoomerce subtotal value without tax in the hardcode? [closed]
- CSS code for “inserting a custom post divider” after each post
- Remove_role not working, gives “Call to undefined method stdClass::remove_role()”
- I am experiencing difficulty fulfilling client request
- I want create woocommerec match products columns