Forum
Pages listed with perch_pages_navigation() aren't updating
I have a block of code that spits out a list of pages based on the users location:
<?php
perch_pages_navigation(array(
'hide-extensions' => true,
'include-parent' => true,
'levels' => 2,
'include-hidden' => true,
'from-path'=> '/businesscommercial/businessbanking/treasury/',
'template' => array('interior.html', 'basic-item.html')
));
?>
The list is incorrect, showing pages/files I've removed and new pages/files don't show up.
Have you eliminated caching as a cause?
It was a file structure issue on my side.