Forum

Thread tagged as: Problem, Blog

Cant output the Blog Post title

Im trying to get the title of the blog post to appear in a certain place, but it wont show.

In post.php, I have this where I want to show the title:

<div class="post-header">
<div class="row padded featured-img">
<div class="small-12 medium-10 large-7 small-centered columns post-title">
<h1 class="font-two"><?php perch_blog_post_field(perch_get('s'), 'postTitle'); ?></h1>
</div>
</div>
</div>
...

and in post.html

<div class="post-header">
<div class="row padded featured-img">
<div class="post-title">
<h1><a href="<perch:blog id="postURL" type="hidden" />" rel="bookmark" class="p-name" ><perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" value="true" suppress="false" /></a></h1>
</div>
</div>
</div>
...
Chris James

Chris James 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Remove suppress="false"

Thanks Drew