• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

How to create a Page without a title

Brogan

XenForo moderator
Staff member
#1
If, like me, you want to use a Page as a (temporary) Home page, you will notice that the Page title is displayed at the top in H1 text, like so:

home1.png

This is obviously undesirable as you only want content to be displayed.

You can't create a Page without a title so how can you remove it from just that one Page without editing the template?

Easy. You just edit the xf_node table and change the title field to a single space. Don't leave the field blank as the board title will be used instead of the Page title in that case.
Setting the title to a space results in this:

home2.png

If you do this, it's important that you uncheck "Display in the node list" in ACP -> Applications -> Node Tree, otherwise you'll end up with a phantom page icon on forum home:

home3.png
 

Brogan

XenForo moderator
Staff member
#2
An alternative (and better) suggestion from Mike is to add this to the template HTML for the Page:
HTML:
<xen:title></xen:title>
<xen:h1></xen:h1>
That has the same effect but it doesn't affect the page title in forum home so it can still be displayed as a normal node.
 

ArnyVee

Well-known member
#3
Brogan, is there a way to have the 'description' still show but not the title? This would allow for images or html to display and I can create a little mini-navigation menu. Is this possible?