Page 1 of 1
How to display the posts list on a page
Posted: Tue Mar 08, 2022 5:30 am
by nogajun
Hi,
I am looking for a way to get a posts list on a page.
In home, it can get the posts list from $content, but in page, $content only has page info.
Is there any way to get the posts list on a page?
Re: How to display the posts list on a page
Posted: Thu Mar 10, 2022 10:46 pm
by Edi
I think, this will help:
viewtopic.php?t=2211
Re: How to display the posts list on a page
Posted: Fri Mar 11, 2022 12:38 pm
by nogajun
Thank you for your answer, and sorry for the lack of explanation.
Set the page on the home page of the predefined page (in admin panel).Then, home in $WHERE_AM_I changes to blog(URL FILTERS).
blog is left as it is, and I want to display the blog posts list on the home page (predefind page) as well.
The home page will replace the template with that thread as a reference.
Re: How to display the posts list on a page
Posted: Fri Mar 11, 2022 4:12 pm
by Edi
Do I understand it right? You want the home page and another page with the same content?
Re: How to display the posts list on a page
Posted: Thu Mar 24, 2022 2:43 am
by nogajun
I have created a site with the following structure
Code: Select all
Top page (Predefind page - homepage / static page) <- I want display blog titles list!
+-> blog
| +-> posts
+-> service (static page)
+-> about (static page)
I want to display a new blog post titles list on this top page. But
$content has only page information. What should I do?
Re: How to display the posts list on a page
Posted: Sun Mar 27, 2022 3:34 pm
by Edi
Can you please share the link to the website.