Forum

Thread tagged as: Question, Configuration, Field-Types

How do I get the Description and Keyword sections on Page Details to work

The title pretty much explains what I'm after.

How do I get the Description and Keyword sections on Page Details to work - so that when I fill them in they populate my page as they should.

I'm guessing some kind of snippet goes in between the quotes below

<meta name="description" content="Snippet Goes Here???">

I've attached a screenshot below so you know exactly what bit I'm referring too.

alt text for image

Richy Thomas

Richy Thomas 0 points

  • 7 years ago

Adding:

<?php perch_page_attributes(); ?>

between <head> and </head> should do it. I usually put it on the line under the title.

That's great! Thanks for the speedy response.

I see it also adds robots="" - any idea where this is defined.

Also another question.. The 'Page Title' field. Anyway to get whats input here to appear in the actual page title?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You can customise the templates (as with everything in Perch). Take a look at the video tutorial: https://docs.grabaperch.com/video/tutorials/techniques/page-attributes/

The documentation for Page Attributes is here: https://docs.grabaperch.com/docs/pages/page-attributes/