I am trying to change the format of the content promoted to the front page. I want to move the display order of the
title below the
image. By default it's set to
image and then
Editing the content type (manage field, manage displays) does not do anything in this regard.
Manage display: I've set the order from Image first then Body. (no effect)
Teaser: I've set it to only show the Image (body is hidden) (no effect)
I've read the docs to change the
page--front.tpl.php but I don't see any options to move the title down below the image in this file. (I only see this code in node.tpl.php.)
I can move the title block under the content block and it works, but this affects all pages.
How can I change this only for the front page, so it doesn't affect all pages?
<?php print render($title_prefix); ?> <?php if (!$page): ?> <h2<?php print $title_attributes; ?>> <a href="<?php print $node_url; ?>"><?php print $title; ?></a> </h2> <?php endif; ?> <?php print render($title_suffix); ?>
<div class="content clearfix"<?php print $content_attributes; ?>> <?php // We hide the comments and links now so that we can render them later. hide($content['comments']); hide($content['links']); print render($content); ?>