I would suggest making your own page template.
Start by moving the files into your WordPress theme folder, and giving them a name. Like page-foo.php
, page-bar.php
, so on.
Then on the top of these new files add PHP like the below, changing the Template Name
to something that makes sense to you.
<?php
/*
Template Name: Foo
*/
?>
Then place your code under this header.
Go into WordPress wp-admin, go to Pages and add a new page. Then on the right under the Page Attributes
widget, select the Template name that corresponds with your content that you want to display for that page.
Related Posts:
- Looking for a lightweight theme using WP3 new tags and features (not 2010) [closed]
- What is the best way to customise admin files so they survive future upgrades?
- How can I get posts in a subcategory to display on it’s parent categories archive page?
- Creating my own Admin Forms in a WordPress CMS?
- Custom taxonomy: same terms, but for different years
- Best practices for A/B testing?
- Editing the Number at the end of Page URLs / Editing Page Slugs
- Automatic image renaming based on title
- simple wp_insert_post example
- Redirect members to custom page upon logging in through WP admin
- Can I use $wpdb for my custom tables in the WordPress database?
- How to get input_attrs in the sanitize function?
- Integrating MailChimp newsletters as post
- What is WordPress file encoding?
- Change from /wp-admin/ to something else?
- WP_Query with the “offset” argument
- Adding “Interesting Tags” & “Ignored Tags” like StackOverflow.com in a WordPress Blog?
- Auto add taxonomy if post has category
- Add a containing DIV to core Gutenberg blocks
- Allow comments without approval for custom content type
- Add ‘Right Now’ widget to custom dashboard
- Are there any security issues with setting the WP_INSTALLING constant to true?
- Naming script handles right way
- How to edit pages after installing WP
- Exclude custom taxonomy tag from loop
- User Roles Not Sticking
- Multiple WordPress outside wordPress installation?
- WordPress generated links – menus and home_url() – not using https despite settings
- How to use
- Name/Word Replacement Plugin
- Get page ID outside the loop, matching menu ID
- Gallery IDS and Captions: hide/show on a per ID basis
- How to check if a custom user profile field is empty
- Properly customizing login/register form
- Author Tracking Code!
- Change the Labels of Users to Customers in Admin
- Show Featured Post Only On The Homepage
- How can I create a second multisite network in a subdirectory?
- order event posts by multiple custom fields
- Custom Role with Own Page Edit Capability
- List top 5 authors with most posts
- CSS Styling a specific page
- How to remove footer from just homepage
- Create small dashboard widget
- How can I start over on my site? [closed]
- Plugin to allow registered users to customize their layout [closed]
- Can Username and Password be passed to WP Login page in an IFrame?
- Returning or use form data using a hook?
- Custom Columns WordPress Admin
- If custom image header does not exist display text header
- Get users based on month ACF datepicker field
- Trigger Customizer Publish (save) Action
- Edit value=”” of a button in child theme
- External Link Button Under Post Excerpt on Index.php
- Creating php pages in wordpress and assigning them to wordpress pages
- Showing different pages depending on a cookie value
- WP function duplicating body content
- Custom blog setting directs blog to index page
- WooCommer Product Category Loop – How to change the display order of the rating and price?
- Display Images with More Fields yes / no
- How to query term_id of a Custom Taxonomy by name
- Remove Sidebars from page
- accessing monthly archive from dashboard
- WordPress 3.1.2 Bug: add_theme_support() and video post format registering twice
- WordPress 3.1 update has reversed my blog posts
- Different profile page by role
- WordPress menu: How to make www.link.com/#name never contain current_page_item class?
- Creating a “Delete”-Button for Metadata userspecific
- Change default Video Player without Plugin
- Changing update message from Newspaper child theme
- Custom default settings for WP native Gallery Block
- How to show parent taxonomy using get_the_terms?
- export and import wordpress customization
- No plugin populate user information in to form
- Best practice to generate token for email action
- how to change the url rediction of the woocommerce login page of the flatsome theme for my own in wordpress?
- My list of terms of custom taxonomy displays 7 times
- Can I overwrite custom taxonomy FROM “public” TO “false”
- Trying to customise 2011 Child Theme Background Colour
- the temporary save folder is wrong
- Can’t do a src to node modules folder
- Can I upload my self hosted WordPress website on GitHub as a project? [closed]
- Need to replace some text string on a title
- Custom roles and capabilities media not work right
- How to customize WordPress vertical menu?
- Query Posts to display all posts with category “custom field value”
- How do i edit text that is not in the customization menu
- Trouble getting started in wordpress – my experience isn’t in wordpress.
- How do I map two domains to the same wordpress installation?
- Redirect Every Instance of The Author Template Pages to Custom Author Pages
- Where should I put this custom data?
- Custom WP deactivate an email activation link sent to user’s email.
- How to setup a taxonomy that can have only one post assigned to it?
- Page template with custom html fields inside a content
- Custom Style per Post, How to Display Custom-Styled Single post on Homepage?
- Multiple Customizers
- How to move menu next to left of the search box?
- how to manage Session in WordPress using custom login?
- Post interior margin in twenty eleven theme
- Where did I put this one line of css?