Integration of static page with blog posts
-
Hi all,
I need help with integrating the titles of the last three blog posts into a static page. Searching the internet I found many people with similar issues (e.g. https://codex.www.ads-software.com/Creating_a_Static_Front_Page), but however none of the solutions worked for me.
I already installed the runPHP plugin and activated it for the corresponding static page. So I think I’m doing something absolutely wrong.So my suggestions would be to take it stepwise.
1. I am assuming I need a special template php file. Further I think, I need a static page to be written by “Writing > Pages” and including the static text to be displayed at top of the page.
2. Somewhere I need to tell WP that I want the titles of the last three blog posts. Where should I insert that code? Into the static page (already running runPHP) or into the special template file?
3. In the corresponding file (template/static), where should I put that code?
4. What code should I insert? As mentioned above I already found a similar request, but it didn’t work out for me.
5. At this point I would tell you what kind of error appears with my site ??I know, I am asking for much, but you would really help me. This is the last part on my way to set my entire page and so I am waiting and searching and looking and again waiting … ??
If you need any other information, please let me know.
- The topic ‘Integration of static page with blog posts’ is closed to new replies.