Jump to content

child pages are not complete showing


zaib
 Share

Recommended Posts

I've a page "blog" which have child pages (blog posts). Right now I've 11 pages (blog posts) and I'm fetching all the posts in my "blog" pages which displaying fine, Issue is only 10 results are showing this is how I'm fetching

$entries = $pages->find("template=blog-entry");
foreach($entries as $entry){
	<a href='{$entry->url}'>$entry->title</a>
}

 

Link to comment
Share on other sites

2 hours ago, zaib said:

I've a page "blog" which have child pages (blog posts). Right now I've 11 pages (blog posts) and I'm fetching all the posts in my "blog" pages which displaying fine, Issue is only 10 results are showing this is how I'm fetching


$entries = $pages->find("template=blog-entry");
foreach($entries as $entry){
	<a href='{$entry->url}'>$entry->title</a>
}

 

try to add "template=blog-entry, include=all" to see all pages

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...