Two of the best ways to do this are (1) by using Create Block Theme plugin or a (2) Child theme. Why complicate it with a new plugin?
In the child theme, create a templates folder, and in that, add a custom-template.html file.
You can also add a new template by using the Plus + button on top to add a new template and export it as either a new theme or as a child theme using Create Block Theme
Related Posts:
- Difference between register_block_type & wp.blocks.registerBlockType
- Possible way of having multiple Gutenberg instances for a page?
- Block registration with viewScript
- Refresh server side rendered block in Gutenberg without changing attributes or its content
- WordPress Gutenberg Custom Block the viewScript does not get loaded on the frontend when my block is inserted
- What are the differences between WPINC and ABSPATH?
- How do I call wp_get_current_user() in a plugin when plugins are loaded before pluggable.php?
- Get php var inside javascript file (making plugin)
- Find out what is using PHP sessions in WordPress
- Bug in Stackoverflow styled badge system script
- How can I include PHP-Code to my post?
- how to display all posts Custom fields dynamically?
- Seriously stuck with some custom meta box/plugin stuff
- explanation for activate_plugin function in wordpress core
- WordPress PHP plugin – Settings page error
- Get product attribute for Simple product in WooCommerce
- Creating an Exit Confirmation Popup
- Reposition Woocommerce Message
- Scope for PHP Variables Assigned in functions.php or a plugin
- Gutenberg: How to refresh ServerSideRender with useSelect and AsyncModeProvider true?
- problems with wordpress and php version 5.3.3-1
- Prevent a plugin from being automatically activated
- WordPress takes too much time (100 seconds) to load – Front end and back end
- Saving changes in wp_editor
- Output array into one table cell
- how to change the verification url of pie register plugin of wordpress?
- wordpress plugin is not activating from widget
- wp_get_post_terms is difference obj model than the one in rest api response
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- WpDataTables – View Image Directory
- Creating a Callback URL for WordPress Woocommerce to update Order Status
- Server configuration for WordPress – Do I need install PHP-SSH extensions for WordPress on Fedora28?
- Using plugin functions/methods within templates
- Using color picker in plugin, does input attribute order matter?
- WordPress 4.8.1 php getting commented
- Finding the screen id of a page generated with add_menu_page
- Issue running db create table query from static method
- Allowing users to Sign-up > Login > Post articles that need approval
- Use $variable from file1.php in file2.php (different file paths)
- Control page content visibility based on URL parameter
- WooCommerce Shopping Cart Not Initially Showing Products [closed]
- Plugin not working & permalink erorr after upgrade to php 7x on Nginx
- How to include a custom field in the woocommerce email?
- How to translate wordpress error message
- Override a Plugin Function
- All custom widgets are not showing in widget area at the same time
- Adding a simple Javascript file with a plugin
- How to add/change (woocommerce) product tab icon
- Add key and value to an array in another file
- Wierd site output [closed]
- How to write to a separate PHP file in plugin settings
- Create “new pages” within the admin section of plugin
- Dynamic Image Replacement through call rail phone call tracking plugins in wordpress
- How can I show registration form inside modal?
- More gentle way to hook WordPress custom url
- How to display results from a data table with an encrypted user id?
- How to Call Specific .PHP file on add_submenu_page selection in Plugin Development?
- How to properly replace the_content with the html in a php file?
- How to Add text value in Automatically in this conditions?
- Checkbox show / hide output result
- Custom Logo Link WordPress
- Attempting to list all product categories and the price range of all products within them
- WP Import All Multiple Dynamic Link Imports
- admin_notices show after load completed
- Creating an array from form inputs before it is posted to the options database
- Plugin which unlock free gift when you reach some amount in cart
- is there a way to display product gallery images via cdn
- Problem with Date translation in WordPress
- How to assign a specific service to a specific provider based on location
- How can I create a secure file download in WordPress?
- How can I see $post object in frontend from functions.php?
- 500 Internal server error wp_handle_upload_prefilter
- Can’t access 3rd party API, code works on local server but not on wordpress
- Ajax call to php function doesn’t work PHP code
- How can I make the search bar in my wordpress site search all of the pages rather than just the blog posts?
- WordPress PHP error getting posts from another wordpress blog
- Nested DIV’s across functions in PHP, do not seem to work
- How to insert image into the Settings Page of a Plugin?
- Paginated Comments “reply” does not work!
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- resizes images on the fly
- get_option return incorrect values
- I created a custom form in HTML/CSS and now I need it to submit … should I create custom PHP or is there a plugin I can use?
- AJAX doesn’t pass variables to the php function in the plugin
- How to add a handler for a button in plugin?
- private functions in plugins
- Move related products after product summary? [closed]
- wordpress select multiple options and illegal string offset ‘timeslot’ [closed]
- post_exists() returns a 0 but the 0 doesn’t register [closed]
- Is there a visual editor specifically for page snippets/sections?
- Visual Composer Data Source?
- Woocommerce disable checkout on specific day
- TML Theme My Login Plugin
- How to debug periodic performance issue
- Foreach retun in shortcode
- Custom gutenberg block image preview not working
- How to change and edit users according to the extension in the URL
- How to add a static image inbetween the product tiles on main shoppage woocommerce?
- How to get custom setting from get_option and pass it in getEntityRecords in gutenberg block?
- Woocommerce attatch files and custom input meta to cart items and then to order
