Home  >  Article  >  CMS Tutorial  >  What should I do if there is no template option for the new WordPress page?

What should I do if there is no template option for the new WordPress page?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-07-19 15:00:223523browse

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.

What should I do if there is no template option for the new WordPress page?

2. First, open php.ini with vim or vi. This file is usually in the /etc/ directory.

What should I do if there is no template option for the new WordPress page?

#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.

What should I do if there is no template option for the new WordPress page?

Related recommendations: "WordPress Tutorial"

4. After opening the php.ini file, in vim/vi, enter /scandir searches for the scandir function.

What should I do if there is no template option for the new WordPress page?

5. Find the following location, the place of disable_functions, as shown in the figure below

What should I do if there is no template option for the new WordPress page?

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.

What should I do if there is no template option for the new WordPress page?

#7. At this time, the template options are back.

What should I do if there is no template option for the new WordPress page?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn