WordPress.org

Ready to get started?Download WordPress

Forums

Creating an include file exactly like HTML VIEW SOURCE (2 posts)

  1. MHalukK
    Member
    Posted 3 years ago #

    As wordpress php generates its dynamic output, it buffers somewhere on the server memory. And eventually some content is sent to the browser and that's the code client sees in VIEW SOURCE on his browser.

    Can wp or php somehow get the full content of what will finally be sent to client ( I mean from <!DOCTYPE all the way down to </html>) so I can store it in an include file?

  2. The closest I can come to are two options.

    1) Make the post in WP, view source, and save THAT elsewhere.
    2) Use a caching plugin to store it and point to that.

Topic Closed

This topic has been closed to new replies.

About this Topic