where are you stuck with?
do you have the static front page?
is that site running on WordPress or is it a static site?
if the site is running on WordPress, review https://codex.wordpress.org/Creating_a_Static_Front_Page
note: instead of customizing index.php, a better file would be front-page.php
does the other site use WordPress as well?
whaat themes are you using on the sites?
Hi! Thank you for your answer!
I have a static front page just with some php and an enter button.
I want to link that page to a page with the loop to all my posts.
Everything is running on wordpress. What would be the easiest way to link a button from the index page to the actual loop page?
I want to make a little custom theme with it.
the loop page would run on home.php or index.php – as you seem to have cutomized index.php for your static front page (correct me if I am wrong) you might need to create a home.php template with the default loop (https://codex.wordpress.org/The_Loop )
then create a normal page in the dashboard (‘dashboard – pages – add new‘) and publish it (no need to add any content; this would not b e used anyway) – and set this new page to be the ‘posts page’ under ‘dashboard – settings -reading‘
I want to make a little custom theme with it
what files do you have currently in your theme?
have you worked through https://codex.wordpress.org/Theme_Development ?
possibly also https://codex.wordpress.org/Site_Design_and_Layout
Thank you!
You are right with the index. I would like to have static content when the user hits my site and have a button to link to the loop page.
I am using index.php footer.php header.php functions.php and my css files.
I worked trough your links before.
So it would be the best way to create home.php and static page like you described?
imho, it would be best to create a front-page.php for the static front page; a home.php for the index loop, and a general index.php for all eventualities like showing single posts, archive pages, etc …
and of course keep header.php, footer.php, functions.php …
see template hierarchy https://developer.wordpress.org/themes/basics/template-hierarchy/
Okay thank you that helped a lot! I will work trough this link!
Thank you!