I don't understand the list of posted articles retrieved by the Wordpress main loop, so please let me know.
Create an individual post page of "Blog" in single.php, create a main loop in index.php, and display the post list of "Blog" in single.php.
The idea is that if you create a post page with a custom post type, info-single.php "Notice" in the same site and create a main loop in archive-info.php, the post list of info-single.php will be displayed. Is it okay?
This is, for example, archive-aaa when displaying the list of post pages called single-aaa.php, archive-bbb.php when displaying the list of post pages called single-bbb.php, and so on. Is it okay to recognize that the archive.php page is archive-〇〇〇.php, and the post page article list of the character string of the part of 〇〇〇 is output?
Also, is the wordpress management screen->settings->display settings "post page" set to the post page (single.php), or is the article list page/fixed page (index.php) set?
Answer # 1
Since index.php has a lower priority than archive-info.php, if nothing is specified, the article list will be displayed in index.php. On the contrary, if the category etc. is specified, the category list is displayed in archive.php, so there is no problem that the "article list" is displayed in index.php and the category list is displayed in archive.php. did.
- wordpress - i want to add an oceanwp setting box to the management screen of multiple custom post types
- [wordpress] permalink setting of archive page and article page does not work
- wordpress - i can't post from the wp management screen, and when i look at the console, i get a 403 error
- php - [wordpress] efficient management method of the function used
- php - i want to select any article on the management screen and display the list [wordpress]
- php - in wordpress, after implementing the article slider in the header, the article link destination is not functioning properl
- wordpress article title i can see all the articles when i click, so i would like to take measures
- i want to make the header of the homepage setting of wordpress a header
- wordpress article text is not displayed
- css3 - [wordpress] specifying the background color from the management screen to the section including the article title
- php - the layout of the wordpress management screen has collapsed
- php - [wordpress] to output all posted article titles in the list
- php - wordpress: automatically get tag from page url in article list loop
- wordpress - i cannot log in to the management screen of the site backed up with updraft plus in the subdomain
- i want to make the wordpress front ssl, connect the management screen with http
- php - about wordpress article link acquisition and category css
- php - i want to do an and search for article categories with wordpress
- php - wordpress article list does not display correctly on category list page or individual page
- prohibit access to root directory management screen in wordpress
- python - you may need to restart the kernel to use updated packages error
- php - coincheck api authentication doesn't work
- php - i would like to introduce the coincheck api so that i can make payments with bitcoin on my ec site
- [php] i want to get account information using coincheck api
- the emulator process for avd pixel_2_api_29 was killed occurred when the android studio emulator was started, so i would like to
- i want to call a child component method from a parent in vuejs
- python 3x - typeerror: 'method' object is not subscriptable
- dart - flutter: the instance member'stars' can't be accessed in an initializer error
- xcode - pod install [!] no `podfile 'found in the project directory