I’m interpreting that the static page you intend to show is a static page for the home page of your site. If that’s the case, and the static page is truly static, I recommend saving the page as index.html and saving it (via ftp) right next to your WP index.php file in the root folder of your domain.
The .html file will be served up before the .php file, always, and boom now you’ve got a static home page.
Related Posts:
- Why have on every line
- WordPress and event-driven programming – what is it about?
- Cleaning up WordPress to improve performance?
- Include a external PHP file into a WordPress Custom Template
- List of all theme customizer control types?
- Show the most popular post per week
- Add a class to links in the visual editor (how to get old dialog back)
- Remove option to allow trackbacks/pingbacks from post page options
- How to remove hardcoded characters from playlists?
- Creating custom Woocommerce attribute taxonomies from a plugin
- Admin Bar (Toolbar) not showing on custom PHP file that loads WordPress
- Load post content into iframe
- wp_customize_image_control default value
- Limit the Excerpt field in WP-Admin in words
- Search and Replace in database: How to replace data in SQL dump file on Windows?
- Infinite-Scroll Plugin and Jetpack Infinite Scroll Plugin – Adding to “Thoughts” Theme
- Is it recommended to pass some data to scripts in `wp_enqueue_scripts`?
- Overriding a theme redux file in child theme
- Widgets not showing in my custom theme
- How to display custom field on homepage
- How to get 2 or multiple custom post types in wordpress functions.php
- Creating bulk posts with Youtube videos
- Random Default Avatar Function
- Change the site tagline (or similar) based on current page
- Trouble creating conditional PHP for nav menu items with children for custom Walker
- Customizer: Output default value in Customizer CSS
- create a select input with menus created on a custom options page
- Converting HTML Template to WordPress Theme
- Retrieve $_POST data submitted from external URL in WordPress(NOT API)
- How to pick the default selected value in wordpress dropdown?
- How to add a do_action on refreshing of WP customizer?
- Customize position of social icons in upme plugin [closed]
- Weird 404 URL Problem – domain name being placed at end of urls
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- Using $wpdb (WPDB class) ‘replace’ with multiple WHERE criteria problem
- Media Upload , file name changed automatically
- Replace shortcode in substring
- how to show only specific category for a template
- How to get private property in parent class into extended class?
- “operation successful” message
- Change order of custom submenu link in WP Admin?
- Clickable image link sends people to wrong URL
- Create page template via functions.php?
- How to create a field in customize and show that in header.php?
- How to include custom PHP file both in header and footer files
- How Do I Find & Remove H1 From Site-Title-Wrapper? [closed]
- Delete or edit postmeta with specific meta_key?
- get_theme_mod outputs number when using WP_Customize_Cropped_Image_Control
- Update if post with specific title exists
- Reusable code that I can store in the function.php and apply to other templates as need. Dry Code
- Assign Custom classes to every Excerpt
- Make next post button link to random post
- pass html code to worpdress
- How do I custom code the start page?
- Kohana Frontend, WordPress Backend
- is_user_logged_in returning nothing on custom page
- Customize field names in backend profile edit page through function.php [duplicate]
- how to add datas in taxonomy to post with wp_insert_post
- Site DOES NOT LOAD after 3.1 update
- Change permalink structure specific category
- WP_REST_Response – How to return Gzip answer and add Content-encoding header?
- Customizer control save then return to default
- Create Columns with Custom Walker and CSS Classes
- How can I check that the acf field value is not a duplicate when adding a post?
- Adding an Anchor Link to a wordpress menu using WPBakery Page Builder
- Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
- update_user_meta as multiple value but with same meta key
- Inserting a class on before_widget if checkbox is checked
- Add a new view on the Woocommerce account page
- Delete post meta by serialized meta value
- How do I add a predefined class to a custom html element?
- How to identify which php file a plugin is using on page load?
- Dynamic Banner Text based on Subdomain
- How to separate the taxonomies list from the form so that editing taxonmies is the same as pages and posts?
- How to add a full working piece of website already coded, to a large scale Website design project?
- Redirecting the lost password page request when using a custon login page
- Create custom admin page with custom text fields
- Remove specific javascript when viewing page in Customizer?
- Running local copy of an old WordPress site on MAMP
- Remove node from multisites?
- custom field – changing an element or background of id div – different versions not working
- Customizing WooCommerce with PHP
- Multisite – Display different header content based on which site is accessed
- What image is this pulling?
- How can I customize a WordPress theme before it’s downloaded?
- Why isn’t my custom Javascript showing up in my custom template?
- A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control
- PHP call div with function
- How can I show only if custom field has content [closed]
- Where can I find the code for the menu page meta boxes?
- WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
- wp_head makes my custom page template not work in Customizer?
- HTML in PHP problem [closed]
- Woocommerce linking variations
- How to continuously developing a WP site that is already deployed in production without damaging it during development
- hello can you advise how to fix the error?
- Add multiple HTML attributes to an Elementor button
- fetch from an external api call and display results in page
- make my custom theme support polylang plugin
- Translating the “Everything” filter menu in Quicksand jquery file