Forum

Thread tagged as: Question

Add page to Perch Navigation

I was wondering what the best way was to add a page to perch_pages_navigation, which doesn't have any editable regions on it? For instance this is a news.php page I have currently:

<?php

include($_SERVER['DOCUMENT_ROOT'].'/admin/runtime.php');

perch_layout('header');

perch_layout('top-bar');

perch_pages_navigation();

perch_blog_recent_posts(10);

perch_layout('footer');

?>

Currently I am adding a content region so Perch sees the page, and then deleting that region once Perch has noticed the page. This seems a little clumsy, is there a better way for Perch to spot a page if it doesn't have editable content regions, and add it to the navigation?

Thanks

Mike

Mike Harrison

Mike Harrison 37 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can add a page directly from the control panel in the Pages list.

Well every day is a school day - thanks Drew!