latest post
Posted: Fri Oct 11, 2019 4:44 pm
Hello,
How can I show the latest three posts on the index page and the rest posts on the blog page (e.g. 10 posts per page)?
I mean if I want to create a new theme for Bludit, I need something like this.
I can show content with but this code is depend on Bludit core.
Cheers,
Abdulhalim
How can I show the latest three posts on the index page and the rest posts on the blog page (e.g. 10 posts per page)?
I mean if I want to create a new theme for Bludit, I need something like this.
I can show content with
Code: Select all
<?php foreach ($content as $page): ?>
Cheers,
Abdulhalim