Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-28 15:03:25

davidmedina
New Member
Registered: 2007-12-08
Posts: 6

How do I convert a WP template to a TxP template

I been using WP for a while but want to migrate to TxP but I have a WP template look that I need to replicate in TxP. How do I do that?

Offline

#2 2007-12-28 20:28:07

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: How do I convert a WP template to a TxP template

Hi David,

The easiest method that I have found is to save off the site as an html page, trying to make heads or tails of all the php files is not something I care to do.

Then open up the html file in a text editor, you will see how everything is laid out, where the header, body and footer are, etc. When you feel comfortable, copy/paste the code into a page template into your new TxP site and start adding txp:tags where appropriate. Copy/paste the CSS into a style and you’re ready to see how it looks, just assign the page and style to a section.

Of course in TxP we have forms, what I do is abstract the head, header and footer into forms, or anything that I deem would clutter up the page template with repetitive code. I tend to want a lean page template calling small forms, so I hang out in the forms tab most of the time.

Give it a try and ask questions when you get stuck.

Offline

#3 2007-12-29 08:02:51

davidmedina
New Member
Registered: 2007-12-08
Posts: 6

Re: How do I convert a WP template to a TxP template

Thanks, I truly appreciate it. I will give it a go.

Offline

Board footer

Powered by FluxBB