• I have a web service site that I designed and I’d like to find a way to use WP as a template engine by calling my own functions from WITHIN WP and have it display mySQL generated content. I plan on using the Exec-PHP or Snippets plug-in to help me.

    My question is about setting up a template that basically displays info using template boxes in more of a free form design vs. a regular blog layout (post topic & date, content block, comments, etc). Is this possible?

    I image it would take a lot of tweaking, but there might be some widgets or theme managers that would help do to this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    I suggest you look into WordPress custom page templates. They let you use the WP shell but you don’t have to enter your code into WP posts, which they are not really designed to deal with. You can enter PHP directly into the custom template files.
    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    You create a WordPress static page and assign it to use the custom template file for that page. The WordPress page contains no content, its a shell to call the custom template. It also inserts that page in the site Nav, if you want that.

    Thread Starter vanarie

    (@vanarie)

    Cool, thanks! I’m also looking at WP as CMS solutions that will help do this.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP as a template engine for CMS apps’ is closed to new replies.