I'm new to WordPress.I want to achieve
WP management screen>Display settings>Homepage display>I want to select front-page.php for the fixed page.problem
I created my own theme and now front-page.php can be displayed without any problem, but WP management screen>Display settings>Homepage display is currently selected as "Latest post".
You may not understand it well, but since it is a corporate website rather than a blog site, I thought that "fixed page" would be better than "latest post", but I chose "fixed page" If i do, you can only select the page to be specified from the "Fixed page list" or "Posted page list" on the management screen.
Is it possible to make this front-page.php in the original theme currently displayed on the top page?Supplement
I'm not familiar with WordPress yet, so it may be a question that doesn't make sense, but please forgive me.
Answer # 1
Add "front page" to the fixed page
Page attributesWith template
Front PageHow about choosing?
In the template
Front PageIf you don't see the option
Page Templates-WordPress Codex Japanese Edition
front-page.phpAdd the following comment to the beginning of and reload
/ * Template Name: Front Page * /
- php - i want to pick up and display fixed pages with tags
- php - i want to display a fixed page on the front page of wordpress
- php - how to select and display the information (store name/address etc) registered in advance on the wordpress post page
- php - [wordpress] i want to display the "new mark" in the navigation when there is a new article
- php - cannot display the value of the many-to-many relationship destination table in view
- php - i want to display an error or redirect
- php - "display option" is not displayed in the post list on the wordpress administration screen
- [php/laravel] i want to display all of a large amount of dom
- php - display the term list and attach a class to those linked to the post
- php - i want to display checkbox items for custom fields
- php - i want to display a list of articles that belong to both the current term and the term shared in the cpt ui
- display images side by side in php
- php - [laravel] i want to display the information of the related table in my page
- php - i want to display the website of the url entered in input in the html form in real time using iframe
- i want to check the form input with php, display an error on the same page if it is not filled in, and move to another page only
- php - tweet display of users who are following with users who are logged in by joining laravel tables
- php - the display size of paging is strange
- php - i want to expand and display a nested array in view
- regarding repeated display in php
- php : WooCommerce. Export \ Import Custom Fields
- php : Adding Custom Endpoint to REST API
- php : The problem with the WordPress Navxt plugin when useing Polylang
- php : Help Write the Cable for Links to Image
- php : AJAX Search for WordPress
- php : How to transfer the value of a variable in t.slug in ()?
- php : How to make comments in custom recordings?
- php : Remove a tick with top-level categories
- Does not go to Tag.php tags page in WordPress
- php : Hide all cards of goods that do not have pictures