WordPress Meet HTML
by REFERDEAL
Article Source: Original

Overview
Step 1
Step 2
Step 3
Step 4

The notion of  feedback  feature is not new. In fact that is what makes blog an interesting phenomena. However, much cannot be said about content publishing. You either source for a content management tool with such feature, build one, or try customize from an existing package. REFERDEAL is a content publication portal and to have that extra level of interactivity on a per-article basis is always on top of our priority.

From WordPress homepage: "WordPress is a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability" - this a well said description of WordPress as a tool for day-to-day blog/weblog. But WP is not a good candidate for content publication, which is never really the foundation what WP is build upon. Given there may be instance when a content site is crafted entirely in static HTML for reason of optimization (i.e. loading speed, search engine friendly) as is this one, we need to be able to merge the best of both worlds and create a hybrid HTML/WordPress site.

This (technical) article examines step-by-step approach to integrate WP's blog functionality into static HTML.

 The ideas :

  1. create a new comment template specifically for integration purpose
  2. for every published HTML article, create an associated WordPress post
  3. attach the new template at the end of the article

A few words before we begin:

  • This customization requires modification to 2 core PHP files which is normally NOT recommended for compatability reason
  • This tutorial is for creating a new template page only and NOT for customizing existing template (you can find more customization details on WordPress support site here)
  • Know your revision. This tutorial is based on WordPress 2.0 (Dec05) release, but applicable to revision 1.5
  • WordPress is assumed installed within the content site
  • Backup Before Proceed

Step 1..