Active
Project:
Genesis
Version:
6.x-2.3
Component:
Genesis SUBTHEME
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2009 at 06:42 UTC
Updated:
12 Aug 2009 at 07:10 UTC
Hi, I made a copy of the node.tpl.php file in my subtheme directory and then edited it by removing the print title code. Then I renamed it node-204.tpl.php and uploaded it to the templates/node directory. I then flushed the cache and the title was not removed. Any suggestions?
Comments
Comment #1
Jeff Burnz commentedWell node-[nid].tpl.php is not a default template suggestion, you actually have to add support for that to themename_preprocess_node(), that said I wouldn't remove the title in any case, but rather simply hide it from view using CSS - you can do this on a per-node basis in Genesis using the page class it generates for each node (which is printed on the container div), this uses the node nid as the unique identifier i.e. .page-node-[nid]. Do something like this:
Lets say this is node/123