Home > Backend Development > PHP Tutorial > javascript - How to automatically get pages generated by WordPress?

javascript - How to automatically get pages generated by WordPress?

WBOY
Release: 2016-08-08 09:06:38
Original
1128 people have browsed it

I don’t use WordPress for its core blogging functions. All my pages are created through custom templates. Because for me, page content and display effects are very important.

In addition to historical reasons, I use WordPress for the following reasons:

  1. Call unified Header and Footer

  2. There are ready-made WP functions that can be called, such as getting resource URLget_template_directory_uri()

  3. Achieve customized functions through custom plug-ins and provide a unified interface for page calls

Among them, my problem is that there are some "static" pages (at least pages that have nothing to do with user information), such as FAQ pages, product introduction pages, etc. There is no need to use PHP to dynamically generate these pages every time. So how to make these pages automatically/engineered to generate static pages.

PS: Please do not directly answer the question of using WP cache plug-ins. These plug-ins are large and comprehensive, their functions are mainly aimed at blog-type websites, and they are not fully optimized. Thank you

Reply content:

I don’t use WordPress for its core blogging functions. All my pages are created through custom templates. Because for me, page content and display effects are very important.

In addition to historical reasons, I use WordPress for the following reasons:

  1. Call unified Header and Footer

  2. There are ready-made WP functions that can be called, such as getting resource URLget_template_directory_uri()

  3. Achieve customized functions through custom plug-ins and provide a unified interface for page calls

Among them, my problem is that there are some "static" pages (at least pages that have nothing to do with user information), such as FAQ pages, product introduction pages, etc. There is no need to use PHP to dynamically generate these pages every time. So how to make these pages automatically/engineered to generate static pages.

PS: Please do not directly answer the question of using WP cache plug-ins. These plug-ins are large and comprehensive, their functions are mainly aimed at blog-type websites, and they are not fully optimized. Thank you

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template