Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-17 00:37:15

yegga
New Member
Registered: 2009-10-11
Posts: 9

static front page, with no headers?

hi, i would like to make my front page static, with no header information (no ‘my blog’, ‘my pithy slogan’ etc)

how do i do this?

in general, how can i remove the header when i want to?

Offline

#2 2010-01-17 02:42:08

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: static front page, with no headers?

First place to start is the default page template. That controls what appears on the page. “My Site” is the default site name for a new Txp installation. It’s on your page because of the <txp:site_name /> tag. Likewise, “My pithy slogan” is from the <txp:site_slogan /> tag. Look for these in the template. Move them, remove them, whatever you like.

If you want this on some pages but not others, you can either use different templates, or you can use conditional tags.

You might want to check out these Txp tutorials.


Code is topiary

Offline

Board footer

Powered by FluxBB