JavaScript-How to automate getting WordPress-generated pages?

Source: Internet
Author: User
I use WordPress not with its core blog features, all of my pages are created by customizing the template and then creating the page. Because for me, the page content and display effect is very important.

I use WordPress In addition to the historical reasons, there are several factors:

    1. Call the unified header and footer

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

    3. Custom plug-ins enable custom functionality and provide a unified interface for page invocation

Among them, my problem is that there are some "static" pages (at least not related to user information), such as: FAQ page, Product introduction page and so on, these pages are not necessary to use PHP every time is dynamically generated. So how to make these pages, automated/engineered to generate static pages.

PS: Please do not directly answer the use of WP cache class plug-ins, these plug-ins are chatty, the function is mainly for the blog class site, optimization is not complete problems. Thank you

Reply content:

I use WordPress not with its core blog features, all of my pages are created by customizing the template and then creating the page. Because for me, the page content and display effect is very important.

I use WordPress In addition to the historical reasons, there are several factors:

    1. Call the unified header and footer

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

    3. Custom plug-ins enable custom functionality and provide a unified interface for page invocation

Among them, my problem is that there are some "static" pages (at least not related to user information), such as: FAQ page, Product introduction page and so on, these pages are not necessary to use PHP every time is dynamically generated. So how to make these pages, automated/engineered to generate static pages.

PS: Please do not directly answer the use of WP cache class plug-ins, these plug-ins are chatty, the function is mainly for the blog class site, optimization is not complete problems. Thank you

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.