if it is “a very complex theme,” then there’s probably some hook into template_redirect malfunctioning. as @TomJNowell mentioned, using home.php or front-page.php should allow you to override page.php, but that’s not always preferred (I rarely use them myself), and will not necessarily fix the problem. you don’t need to assign a blog page in order for there to be a static front page, so double-check on any hooks into template_redirect, and see if that resolves the issue.
Related Posts:
- Add Adsense code in index.php
- Getting only direct child pages in WordPress with get_pages
- How to add a .php file to WordPress
- Check if a menu is empty?
- load/require specific php files for specific pages/templates/post types
- the_post_thumbnail() based on the Post ID
- Index showing source code
- Exclude pages with certain template from wp_list_pages
- Loading page template into shortcode
- Theme’s page.php and index.php template files are confusing me
- How to remove this function from the homepage?
- Help with a custom page template – listing contents of childpages?
- Easiest way to show total number of subpages
- Switching between custom templates in a post type of the admin menu
- page template for attachement page?
- How to display recent posts on home page with custom HTML
- Changing the template hierarchy
- How to enqueue CSS and JS only on specific template?
- Custom Template 404 for specific custom post type
- How can I hide Home in my menu in a specific page?
- Displaying the last post on static homepage
- Showing content from one page on another
- how could I load a different template part by page
- Page Automatically Generated from Theme?
- How to hide all child pages with post_query?
- Can I install/embed WordPress on a ‘single page’?
- Can’t access variable outside for loop
- How to display pictures from database?
- Change title only in dynamic page
- Dynamic content in template
- Populate editor with some content of a page with a page template
- How to get the value of input hidden html from text editor to custom page template?
- Let Users Choose Post Categories
- two columns of posts on homepage, one of them “favorites”
- Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )
- Page-loop is looping content from custom loops on the same site. How to avoid that?
- Automatic Shortcode Creation with Custom Fields [closed]
- Is_front_page inside header.php is always returning true
- Show a different code on front page to other pages
- Does wordpress templates always in files or in database?
- My custom template page not loading content inside it?
- I restricted wordpress by logged users. It’s possible exclude a page?
- Inject class in body when particular page template is used
- Adding wrapper elements in the_date() like in the_title()?
- Show meta box only for default page template
- WordPress template page name displayed on screen
- Display custom field on 404 page outside loop
- Display all pages – in order
- Pagination broken on is_front_page()
- How to include custom code on a page that’s set to act as homepage?
- Editing a PHP file to include a small text piece on every page
- is_front_page and is_home are not working in page.php
- Short code template + ajax
- page-slug.php not working but only for specific slug
- get_page_template_slug returns incorrect path
- Dropdown menu for categories
- Posts are not looping through correctly
- Amend theme php to include certain category in header
- show recent posts php code error?
- Change homepage content if user is logged in – BuddyPress
- Make a page (url) not cacheable [closed]
- Display additional page templates and a sidebar on plugin activation
- page 1 is not paged
- How do I add my PHP app to a WordPress page whilst keeping semantic URLs?
- Why wp_remote_get() fetches certain web pages while it doesn’t work for my localhost?
- Prevent header and footer from loading on specific pages with template or plugin
- Contain multiple page templates in one PHP custom template file in WordPress?
- WordPress add custom search
- How can I edit a php custom page template to work in other themes?
- Link to index.php from home.php?
- Menu not updating for logged in users after redirect
- Page template not working when logged out
- Make WooCommerce product categories only show images on homepage
- How to Change Site Elements based on referring URL
- Having trouble with customizing blog posts on the home page
- How to add a full working piece of website already coded, to a large scale Website design project?
- image on homepage disappeared due to change of permalink name
- Use wordpress for /blog section only and all other pages static, but using same footer.php and header.php
- How to detect if some page template has been selected
- remove_action() not working in page template – Genesis
- can’t grab PHP $_POST variable
- Pass form attributes to another php template in wordpress
- Code works on page-example.php by not category-example.php
- Different home page for logged off users
- Insert div after every three posts in home.php [duplicate]
- Calling PHP function doesn’t work in index.php
- Create page in templates for pages or the pages manager?
- Create a custom theme-specific page, invisible in the admin-panel?
- How to display html code on homepage
- Execute php in pages
- Why isn’t my link attribute getting my css?
- How to hide something from custom home page with php code?
- adsense code showing on random post thumb
- Display pages from specific page template
- How can I put a custom field as the link of a button shortcode?
- Display selected parts from selected pages on the frontpage?
- Adding if statement to content for homepage
- Tables not showing divs and loop/php items
- I want Page titles and excerpts to show up on home.php in certain order
- Display custom meta box in my template file