Home>Article>CMS Tutorial> What should I do if there is no template option for the new WordPress page?
1. The problem is as shown in the picture below. On the new page, there is no template option.
2. First, open php.ini with vim or vi. This file is usually in the /etc/ directory.
#3. If it is not here, you can use the php probe to query it. Generally, the name as shown in the figure below identifies the location of the php.ini file.
Related recommendations: "WordPress Tutorial"
4. After opening the php.ini file, in vim/vi, enter /scandir searches for the scandir function.
5. Find the following location, the place of disable_functions, as shown in the figure below
6. Press the dw key, To delete the scandir, continue pressing x to delete the extra commas. After the operation is completed, save the configuration and exit vim/vi. Restart apache or ngnix server.
#7. At this time, the template options are back.
The above is the detailed content of What should I do if there is no template option for the new WordPress page?. For more information, please follow other related articles on the PHP Chinese website!