Fatal Error have_posts

I’m new here learning wordpress…. if anyone can help am i missing something?

https://preview.redd.it/tnnalws4v90a1.png?width=1166&format=png&auto=webp&s=a1c75d34eaff36964f6a3628e898eb25a70487d0

https://preview.redd.it/9zsh3gbkv90a1.png?width=450&format=png&auto=webp&s=45ea03f08c2880d5ede023d6421fcf0a1ce71ca5

2 Comments
  1. `if ( have_posts() ) :`

    `while ( have_posts() ) : the_post();`

    `// Your loop code`

    `endwhile;`

    `else :`

    `_e( ‘Sorry, no posts were found.’, ‘textdomain’ );`

    `endif;`

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer