Continuing with the WordPress development course...
Today I worked on setting up the blog feed page and single blog page. We created a
Blog page in the WordPress dashboard and changed the settings so that the Home page we have been looking at is the home page according to WordPress. By default, WP shows the latest blog posts in a feed.
A new file had to be created so that we have a home and a blog home. The code on index.php moved to front-page.php and the blog home page code replaced it.
Some of the work that went into setting up the blog feed was:
- Dynamically displaying author, date, and category for a post
- Reusing the header banner for
- adding pagination and testing it by changing the number of posts to display per page
Links to work:
Resources I used today: