I’ve done this in the past by using custom page templates.
Basically, there are two ways to create a custom page template.
-
You can create a file in your themes directory and name it
page-vanilla-html.php
. -
You can create a file and name it whatever you want (for example
vanilla-html.php
). You just need to include a template description at the top of the file:<?php /* * Template Name: A Vanilla HTML/CSS/JS Custom Page Template * Description: This template is nothing but vanilla HTML/CSS/JS! */ ?>
Once you’ve created the custom template, you simply create a new page within WordPress. If the name of the page is “Vanilla HTML” it will search for a file named page-vanilla-html.php
and load it automatically. If you used the second method, you can select the template from the drop down on the right side of the page creation screen.
Related Posts:
- is_plugin_active function doesn’t exist
- Activate a plugin through PHPMyAdmin or FTP?
- Where can I find a schema of wordpress plugin core architecture?
- Content generator for development site [closed]
- Add Rewrite Rule for custom page
- plugin_action_links Filter Hook Deprecated?
- PHP Deprecated: Non-static method should not be called statically
- How to pass multiple values in shortcode?
- How do you auto-activate plugins from child themes
- Remove Widgets in Dashboard
- How can I add a custom meta value on file upload?
- Prevent Brute Force Attack
- Add agenda items and notifications
- Check if the front end user is log in or not
- Disable wordpress from including jQuery in the head section
- Woocommerce Shipping module available only for type of products [closed]
- WooCommerce – Adding Custom Order Without No Product [closed]
- Plugin jQuery version VS Theme jQuery version: search for best practice
- How to set a custom title per language?
- Exclude plugins on Main site on Multisite installation?
- Escape when echoed
- WP_Query ordering numbers as letters
- Execute a plugin only on post pages
- JQuery not working in my plugin [closed]
- Lightbox Plus ColorBox plugin and auto playing YouTube video
- Can’t send mails using contact plugin [closed]
- Bulk edit existing shortcode within custom field
- Create dynamic page content from custom WordPress plugin page
- WooCommerce Custom Product to checkout
- How to stop or remove an action being called inside a function of an extended class
- How to simultaneously access the same MySQL database in the main column and sidebar of WordPress?
- Default WordPress WP Editor removing style tags and html tag
- How to debug error message: Cannot modify header information
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- Adding a new field to the address field type in gravity forms
- Show admin notice on incorrect value on form field
- Removing included CSS file that doesn’t exist
- How can I make my metabox appear?
- Visual Composer shortcode for child theme dir
- Is W3 Total Cache supposed to delete the local files after they are uploaded to CDN? [closed]
- What does making sure “that your theme is WordPress header and footer tag enabled” mean?
- check if a file in a plugin folder exists from a locale installation
- WooCommerce: Disable Taxation for Specific Address [closed]
- Remove specific plugins and themes from the Dashboard->Updates page [duplicate]
- Move plugin-settings to ‘Settings’-menu in the admin
- Installing wordpress on a subdomain of an already existing static website
- Slashes stripped in ACF
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Login problem after installing my written plugin [closed]
- Can deactivating a plugin sometimes “reset” settings within that plugin?
- remove all submenus from plugin
- Hook for page Request?
- How to do database for download stats?
- Comment IP Plugin – Fixing onfocus=’this.select()’
- Plugin Admin Menu Boiler Plate
- WordPress permissions error with admin account
- Is it possible to instantiate a new WC_Cart?
- How to render a template file using shortcode inside a plugin
- How to add slides (images) to bxslider?
- Delete data from custom table when deleting a post
- Displaying number of drafts in Posts section of admin sidebar [closed]
- Looking for a PayPal donation plugin similar to JoomDonation [closed]
- Pdf visualiser embedded into wordpress website
- admin bar disappears completely in 2010 theme
- WP Insert Post If user refreshes override new post
- Show views count for pop up post
- How to uncheck this automatically from all wordpress posts?
- My wordpress blog posts page is broken
- How to use third-party SendGrid Email Validation API in Gravity Forms?
- Cron job shedules replace?
- Multiple CF7 Forms causing multiple recaptcha requests
- Product slider not showing when clicking on tabs
- Custom plugin issue – Notice: Trying to get property of non-object in
- jquery plugin won’t fire when hamburger class element clicked
- fetch price from different table woocommerce
- WordPress show descriptions under images in gallery
- Cannot save a custom meta field in quick edit
- Permission Issues regarding Plugin updates & FTP transfers
- ACF Query result in a new td (echo)
- Delete user meta based on key value that is an array
- Hook on widget context plugin to add custom context for widget
- How to write wordpress plugins faster to load?
- mailjet plugin – extend functionnalities and reuse api
- Using permalinks with parameters
- How to add featured image on front end form?
- Put folder in theme via plugin
- Plugin menu replaced by another plugin?
- How to use Repeater field of advance custom field
- WordPress plugins not showing after switching servers
- Creating fields in the database
- Scrolling Ads? Live scrolling widget, not random on refresh
- How to manually remove preload fonts settings in WordPress?
- How to block external download link access if visitor not referred from WP?
- From a legal perspective, is it okay to customize a plugin’s code?
- How to skip woocommerce PayPal redirection?
- Auto Stock Update after Order cancel from Admin of Woocommerce?
- Notifications Bar on home page only
- Uncaught Error: Cannot use object of type stdClass while showing the list using WP_List_Table
- Select posts from list and add them in a new list
- Oxygen plugin wordpress stuck in loading sequence forever when trying to edit a page [closed]