Page posting specifies Wordpress

1

I'm working with wordpress and I'm customizing the index keeping the top and footer:

<?php get_header(); ?>
<?php get_footer(); ?>

But when I go into the settings and point to the "Blog" page as the post page they do not appear (image below).

WheredoIpointthismanually?OrwillIhavetocreateandsetupa"blog.php" page on the theme page?

Alias, I do not know if it's right to change the homepage directly in the theme's index ... Thank you!

    
asked by anonymous 03.09.2014 / 15:01

1 answer

1

Oops! I found the answer and it worked.

First I went to my theme folder and copied the page.php (works with the index as well) and rename it to blog.php

After this I set it as a "Blog" page template just at the beginning of the file:

<?php
/*
Template Name: Blog
*/
get_header(); ?>

I went on the page that I created and changed the following option in quick editing:

AndImadethelastchangein"Options > Reading":

Since I wanted to display all posts, that's enough: D

    
03.09.2014 / 16:58