Skip to content
The Admin Bar
  • Community
    • Facebook Group
    • Barfly
    • TABLE Mastermind
  • Content
    • Articles
    • Events
    • Newsletter
    • YouTube
    • 2024 WordPress Professionals Survey
    • SEO Weekly (2025)
    • Security Weekly (2024)
    • Accessibility Weekly (2023)
    • Tuesday Tip Jar (2022)
  • Products
    • The Website Owner’s Manual
    • Agency Copilot
    • Easy-Peasy Proposal
    • Website Pricing Calculator
    • Agency Airtable Pack
    • Prospect Pipeline Challenge
    • Free Stuff
    • 3rd Party Tools
  • About
  • Free Stuff
  • Sell More Care Plans

How to Set Up a Blog Page with GeneratePress and GenerateBlocks

With the release of GenerateBlocks 2.0, I thought it was time to revisit how to set up a blog page using GeneratePress and GenerateBlocks. In this post, I’ll walk you through the process of creating …

Kyle Van Deusen

Kyle Van Deusen

Published:

March 5, 2025

Filed Under:

General

Kyle Van Deusen

Kyle Van Deusen

The Admin Bar

After spending 15 years as a graphic designer and earning a business degree, I launched my agency, OGAL Web Design, in 2017. A year later, after finding the amazing community around WordPress, I co-found The Admin Bar, which has grown to become the #1 community for WordPress professionals. I'm a husband and proud father of three, and a resident of the Commonwealth of Virginia.

How to create a blog page
This content contains affiliate links. View our affiliate disclaimer.

With the release of GenerateBlocks 2.0, I thought it was time to revisit how to set up a blog page using GeneratePress and GenerateBlocks. In this post, I’ll walk you through the process of creating a dynamic blog page, complete with a custom loop template to display your posts.

We’ll cover everything from setting up the blog page to styling the post cards and adding dynamic data. By the end, you’ll have a fully functional blog page that’s both scalable and visually appealing.

Step 1: Setting Up the Blog Page

WordPress automatically treats the blog page as an archive template, which means it dynamically pulls in your posts.

Assigning the Blog Page

  1. Go to Settings > Reading in the WordPress admin.
  2. Set the Posts Page to your blog page (e.g., “Blog”).

Even though the blog page will appear blank in the editor, WordPress will display your posts dynamically on the front end.

Step 2: Creating a Loop Template

To customize the layout of your blog posts, we’ll use GeneratePress Pro’s Elements feature to create a loop template.

Creating the Loop Template

  1. Add a New Element:
    • Go to Appearance > Elements and click Add New.
    • Select Block Element and click Create.
  2. Configure the Element:
    • Name the element (e.g., “Blog Loop”).
    • Set the Element Type to Loop Template.
    • Under Display Rules, assign the loop template to your blog page.
  3. Test the Template:
    • Add placeholder text (e.g., “Test”) to the loop template and publish it.
    • Visit the blog page on the front end to confirm the default posts have been replaced by your loop template.

Step 3: Building the Blog Loop

Now that the loop template is connected, we can start building the layout for our blog posts.

Setting Up the Structure

  1. Add a Container:
    • Insert a container block and set the Tag Name to section.
    • Add an inner container to constrain the content width.
  2. Insert the Query Block:
    • Use the block inserter to add the Query Block from GenerateBlocks (not the default WordPress Query Loop block).
    • Start with a blank query.
  3. Configure the Query Block:
    • Set the Post Type to Post.
    • Adjust the Posts Per Page to match the number of posts you want to display (e.g., 10).

Styling the Layout

The query block automatically generates a loop structure, including the Looper Block and Loop Item Block.

Looper Block

  1. Set Up Columns:
    • In the Settings Panel, choose a three-column layout.
    • Add Column Gap and Row Gap (e.g., 24px each).

Loop Item Block

  1. Add Elements:
    • Insert the following elements into the loop item:
      • Image: For the featured image.
      • Container: For the text wrapper.
      • Headline: For the post title.
      • Container: For meta information (author, categories, etc.).
      • Text Blocks: For the author name, divider, and categories.
  2. Connect Dynamic Data:
    • Use the Dynamic Tags feature to pull in data for each element:
      • Featured Image: Select Featured Image from the dropdown.
      • Post Title: Select Post Title.
      • Author Name: Use the meta key display_name.
      • Categories: Select Terms List and set the taxonomy to Categories.

Styling the Blog Cards

Once the dynamic data is connected, it’s time to style the blog cards.

Blog Card

  1. Background and Borders:
    • Set the background color to white.
    • Add rounded corners (e.g., 12px).
    • Use Overflow Clip to ensure the featured image respects the border radius.

Featured Image

  1. Aspect Ratio:
    • Set the width to 100% and the aspect ratio to 16:9 to ensure consistent proportions.

Text Wrapper

  1. Padding:
    • Add padding (e.g., 24px) to create spacing between the text and the card edges.

Post Title

  1. Font Styling:
    • Change the font family to your site’s sans-serif font (e.g., Rubik).
    • Adjust the font weight and size using a responsive type scale.

Meta Wrapper

  1. Flex Layout:
    • Set the container to Display: Flex with a column gap (e.g., 8px).

Divider

  1. Styling:
    • Change the font weight to bold and the color to match your site’s accent color.

Step 4: Adding Links

To make the blog cards clickable, we’ll add links to the post titles.

  1. Link the Title:
    • Select the headline block and enable Link to Post in the dynamic settings.
  2. Make the Entire Card Clickable:
    • Add a custom CSS class (e.g., stretch-link) to the loop item.
    • Use CSS to make the entire card clickable while keeping the title as the actual link.

Step 5: Responsive Design

To ensure the blog layout works on all devices, adjust the column structure for tablet and mobile views.

  1. Tablet View:
    • Change the column layout to two columns.
  2. Mobile View:
    • Change the column layout to one column.

Step 6: Enhancing the Design

To add visual interest, you can make certain blog cards span multiple columns.

  1. Target Specific Cards:
    • Use a compound selector to target specific loop items (e.g., the second and sixth cards).
    • Set the Grid Column property to span 2.
  2. Adjust Image Height:
    • Restrict the height of images in multi-column cards to match the height of single-column images.
  3. Increase Title Size:
    • Use a larger font size for titles in multi-column cards.

Step 7: Semantic Markup

For accessibility, consider using semantic tags for the loop items.

  1. Article Tags:
    • Change the loop item’s tag name to article for better semantic structure.
  2. List Tags:
    • Alternatively, use an unordered list (ul) with list items (li) for the loop structure.

Wrapping Up

Setting up a blog page with GeneratePress and GenerateBlocks gives you complete control over the design and functionality. By using dynamic data and a loop template, you can create a scalable and visually appealing blog layout that’s easy to maintain.

While this post focused on the blog page, the next step is to design the single post template. Stay tuned for part two, where we’ll tackle that!

What features do you like to include in your blog designs? Let me know—I’d love to hear your thoughts!

Share This Article!
FacebookXLinkedInEmail
Kyle Van Deusen

Kyle Van Deusen

The Admin Bar

After spending 15 years as a graphic designer and earning a business degree, I launched my agency, OGAL Web Design, in 2017. A year later, after finding the amazing community around WordPress, I co-found The Admin Bar, which has grown to become the #1 community for WordPress professionals. I'm a husband and proud father of three, and a resident of the Commonwealth of Virginia.

Come Join Us!

Join the #1 WordPress Community and dive into conversations covering every aspect of running an agency!

Join Group

Kyle Van Deusen

Community Manager

Latest Events

August 15, 2025

Managing Your Agency with Moxie

Can this all-in-one solution help you streamline your agency and calm the chaos?

July 8th, 2025

Undeniable Social Proof

Discover how to turn client praise into persuasive video testimonials that help your agency cut through the noise.

July 3rd, 2025

Is Your Agency Ready for the European Accessibility Act?

Whether you work with EU clients or just want to future-proof your process, this is a conversation you won’t want to miss.
Care Plan Toolkit

Save time, boost profits, and confidently manage client websites with proven tools, tips, and resources.

Download Free
Bento Toolkit
The Friday Chaser

Wash down the week with the best of The Admin Bar! News, tips, and the best conversations delivered straight to your inbox every Friday!

Subscribe Today

More Articles

Selective focus of push pins connected with string 2024 11 18 22 54 47 utc
July 16, 2025

How to Create a Referral Program to Grow Your Client Base

A customer referral program is a great way to grow your client base & drive growth – but where do you start? Learn how to create a referral program that works.

Read more button
July 11, 2025

How to Make “Read More” Links Accessible (Without Sacrificing Design)

Simple tweaks to add meaning to your links, improve SEO, and avoid costly accessibility issues.

Barfly profile michael macginty
July 7, 2025

Member Spotlight: Michael MacGinty

Michael’s journey into web design came after a lifetime of entrepreneurship — from running his family’s …

2025phone

Join the #1 WordPress Community

The Admin Bar community is at the heart of what we do. Join in on the daily conversation and get involved.

Request Membership
The Admin Bar logo.

Explore

Community

Events

Articles

Products

Newsletter

Agency Report Card

Care Plan Toolkit

Noted!

Barfly Login

Policies

Privacy Policy

Terms of Service

Affiliate Agreement

Affiliate Disclaimer

Accessibility Statement

Privacy Settings

Misc.

Advertise

Login

Contact

© 2017-2025 The Admin Bar (a Division of OGAL Web Design) — All Rights Reserved — Hosted at Rocket.net

The Admin Bar logo.
  • Community
    • Facebook Group
    • Barfly
    • TABLE Mastermind
  • Content
    • Articles
    • Events
    • Newsletter
    • YouTube
    • 2024 WordPress Professionals Survey
    • SEO Weekly (2025)
    • Security Weekly (2024)
    • Accessibility Weekly (2023)
    • Tuesday Tip Jar (2022)
  • Products
    • The Website Owner’s Manual
    • Agency Copilot
    • Easy-Peasy Proposal
    • Website Pricing Calculator
    • Agency Airtable Pack
    • Prospect Pipeline Challenge
    • Free Stuff
    • 3rd Party Tools
  • About
  • Free Stuff
  • Sell More Care Plans
YouTube Facebook
Sell More Care Plans