Forum

Thread tagged as: Question

Show Page title in Content Template

Ho can I show the current page nav title within a Content template?

I tried <perch:pages id="pageNavText" /> but it doesn't work.

James Tedder

James Tedder 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You'll need to pass it into the template

PerchSystem::set_var('page_title', perch_pages_title(true));