GeneratePress Theme Magazine Layout Home Page Customization

In this video tutorial, I will show you, how to build a custom magazine style home page using GenerateBlocks plugin for GeneratePress free theme. You can download the latest version of GeneratePress free theme from WordPress repository or from the GeneratePress website directly.

This video is a continuation of previous video. So before watching the below video, make sure to watch my previous blog creation video.

It’s a quick and short video, so please watch the video without skipping.

Table of Contents

Recommended Hosting

Required Theme

Required Plugins

Home Page Gutenberg Blocks (GenerateBlocks)

1. Banner (Displays Featured Post)

<!-- wp:generateblocks/container {"uniqueId":"e7be4166","isDynamic":true,"blockVersion":3,"marginTop":"20","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true} -->
<!-- wp:generateblocks/container {"uniqueId":"a53275d6","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/grid {"uniqueId":"0ea6a2a5","columns":1,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"1faa03c6","isGrid":true,"gridId":"0ea6a2a5","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"10"} -->
<!-- wp:generateblocks/headline {"uniqueId":"a0d8f11b","element":"h3","blockVersion":2,"display":"flex","alignItems":"center","textTransform":"uppercase","fontSize":20,"letterSpacing":0.02,"backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","className":"section-title"} -->
<h3 class="gb-headline gb-headline-a0d8f11b gb-headline-text section-title"><strong>featured</strong></h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->

<!-- wp:generateblocks/grid {"uniqueId":"2a105bcf","columns":2,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"76143ac7","isGrid":true,"gridId":"2a105bcf","isDynamic":true,"blockVersion":3,"sizing":{"width":"55%","widthMobile":"100%","widthTablet":"45%"}} -->
<!-- wp:generateblocks/query-loop {"uniqueId":"9024d3a4","query":{"post_type":"post","per_page":"1"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"cfcdd289","columns":1,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"1471fd3f","isGrid":true,"isQueryLoopItem":true,"gridId":"cfcdd289","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","lock":{"remove":true,"move":true},"className":"home-grid"} -->
<!-- wp:generateblocks/image {"uniqueId":"b945ca42","sizeSlug":"full","marginBottom":"30","useDynamicData":true,"dynamicContentType":"featured-image"} /-->

<!-- wp:generateblocks/headline {"uniqueId":"37ebed17","blockVersion":2,"fontSize":30,"marginBottom":"5","backgroundColor":"","textColor":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h2 class="gb-headline gb-headline-37ebed17 gb-headline-text"></h2>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"d7bd4555","element":"p","blockVersion":2,"fontSize":14,"marginBottom":"30","useDynamicData":true,"dynamicContentType":"post-date"} -->
<p class="gb-headline gb-headline-d7bd4555 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"1c3555e9","element":"div","blockVersion":2,"backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","useDynamicData":true,"dynamicContentType":"post-excerpt","useDefaultMoreLink":false,"excerptLength":35} -->
<div class="gb-headline gb-headline-1c3555e9 gb-headline-text"></div>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/button {"uniqueId":"c7e3def5","hasUrl":false,"blockVersion":3,"display":"inline-flex","alignItems":"center","textTransform":"uppercase","marginTop":"25","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","backgroundColor":"var(\u002d\u002dcontrast-2)","backgroundColorHover":"var(\u002d\u002dcontrast)","textColor":"#ffffff","textColorHover":"#ffffff","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5","iconSize":1.5,"useDynamicData":true,"dynamicLinkType":"single-post"} -->
<span class="gb-button gb-button-c7e3def5"><span class="gb-button-text">Continue Reading</span><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd" viewBox="0 0 512 243.58"><path fill-rule="nonzero" d="M373.57 0 512 120.75 371.53 243.58l-20.92-23.91 94.93-83L0 137.09v-31.75l445.55-.41-92.89-81.02z"></path></svg></span></span>
<!-- /wp:generateblocks/button -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"5336ddcd","isGrid":true,"gridId":"2a105bcf","isDynamic":true,"blockVersion":3,"sizing":{"width":"45%","widthMobile":"100%","widthTablet":"55%"}} -->
<!-- wp:generateblocks/query-loop {"uniqueId":"5d8b4946","query":{"post_type":"post","per_page":"4","offset":"1"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"e474f08d","columns":1,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"2ceb141e","isGrid":true,"isQueryLoopItem":true,"gridId":"e474f08d","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true},"className":"home-grid"} -->
<!-- wp:generateblocks/grid {"uniqueId":"08f88208","columns":2,"horizontalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"17e21178","isGrid":true,"gridId":"08f88208","isDynamic":true,"blockVersion":3,"sizing":{"width":"45%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/image {"uniqueId":"20f113c9","sizeSlug":"full","marginBottom":"0","marginBottomMobile":"20","useDynamicData":true,"dynamicContentType":"featured-image"} /-->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"0b69375f","isGrid":true,"gridId":"08f88208","isDynamic":true,"blockVersion":3,"sizing":{"width":"55%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"3ee3c991","element":"h3","blockVersion":2,"fontSize":20,"lineHeight":26,"lineHeightUnit":"px","marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-3ee3c991 gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"1c4dfaf0","element":"p","blockVersion":2,"fontSize":14,"marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","useDynamicData":true,"dynamicContentType":"post-date"} -->
<p class="gb-headline gb-headline-1c4dfaf0 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->

2. Display Posts Grouped by Category

<!-- wp:generateblocks/container {"uniqueId":"2b89ab86","isDynamic":true,"blockVersion":3,"marginTop":"20","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true} -->
<!-- wp:generateblocks/container {"uniqueId":"f78a119e","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/grid {"uniqueId":"0ba2bf2b","columns":2,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"5eb87e5c","isGrid":true,"gridId":"0ba2bf2b","isDynamic":true,"blockVersion":3,"sizing":{"width":"50%","widthMobile":"100%","widthTablet":"55%"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"4d3cd40c","columns":2,"isDynamic":true,"blockVersion":3,"className":"wpf-mag-header"} -->
<!-- wp:generateblocks/container {"uniqueId":"7be7b8a3","isGrid":true,"gridId":"4d3cd40c","isDynamic":true,"blockVersion":3,"sizing":{"width":"50%","widthMobile":"100%"},"paddingTop":"10"} -->
<!-- wp:generateblocks/headline {"uniqueId":"d765505e","element":"h3","blockVersion":2,"display":"flex","alignItems":"center","textTransform":"uppercase","fontSize":20,"letterSpacing":0.02,"backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","className":"section-title"} -->
<h3 class="gb-headline gb-headline-d765505e gb-headline-text section-title"><strong>news opinion</strong></h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"2ddac8d3","isGrid":true,"gridId":"4d3cd40c","isDynamic":true,"blockVersion":3,"display":"flex","justifyContent":"flex-end","sizing":{"width":"50%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/button {"uniqueId":"73473320","hasUrl":true,"blockVersion":3,"display":"inline-flex","alignItems":"center","textTransform":"uppercase","fontSize":14,"paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","textColorHover":"var(\u002d\u002dcontrast-2)","gradientDirection":90,"gradientColorOne":"rgba(255, 255, 255, 0.1)","gradientColorTwo":"rgba(0, 0, 0, 0.30)","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5","iconSize":1.5} -->
<a class="gb-button gb-button-73473320" href="http://localhost/gpf5yt/category/news/"><span class="gb-button-text">View All</span><span class="gb-icon"><svg viewBox="0 0 512 243.58" clip-rule="evenodd" fill-rule="evenodd" image-rendering="optimizeQuality" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" xmlns="http://www.w3.org/2000/svg"><path d="M373.57 0 512 120.75 371.53 243.58l-20.92-23.91 94.93-83L0 137.09v-31.75l445.55-.41-92.89-81.02z" fill-rule="nonzero"></path></svg></span></a>
<!-- /wp:generateblocks/button -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->

<!-- wp:generateblocks/query-loop {"uniqueId":"6bf9ff04","query":{"post_type":"post","per_page":"4"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"1b8bd338","columns":1,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"becf35ce","isGrid":true,"isQueryLoopItem":true,"gridId":"1b8bd338","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true},"className":"home-grid"} -->
<!-- wp:generateblocks/grid {"uniqueId":"c5aa6dea","columns":2,"horizontalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"0a1813e7","isGrid":true,"gridId":"c5aa6dea","isDynamic":true,"blockVersion":3,"sizing":{"width":"40%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/image {"uniqueId":"e19f0888","sizeSlug":"full","marginBottom":"0","marginBottomMobile":"20","useDynamicData":true,"dynamicContentType":"featured-image"} /-->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"79459343","isGrid":true,"gridId":"c5aa6dea","isDynamic":true,"blockVersion":3,"sizing":{"width":"60%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"16aade02","element":"h3","blockVersion":2,"fontSize":20,"lineHeight":26,"lineHeightUnit":"px","marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-16aade02 gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"4723bcfb","element":"p","blockVersion":2,"fontSize":14,"marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-date"} -->
<p class="gb-headline gb-headline-4723bcfb gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"e884e4ea","isGrid":true,"gridId":"0ba2bf2b","isDynamic":true,"blockVersion":3,"sizing":{"width":"50%","widthMobile":"100%","widthTablet":"55%"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"fb958bb3","columns":2,"isDynamic":true,"blockVersion":3,"className":"wpf-mag-header"} -->
<!-- wp:generateblocks/container {"uniqueId":"f4f189a6","isGrid":true,"gridId":"fb958bb3","isDynamic":true,"blockVersion":3,"sizing":{"width":"50%","widthMobile":"100%"},"paddingTop":"10"} -->
<!-- wp:generateblocks/headline {"uniqueId":"f0592525","element":"h3","blockVersion":2,"display":"flex","alignItems":"center","textTransform":"uppercase","fontSize":20,"letterSpacing":0.02,"backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","className":"section-title"} -->
<h3 class="gb-headline gb-headline-f0592525 gb-headline-text section-title"><strong>Speed Optimization</strong></h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"79524a9e","isGrid":true,"gridId":"fb958bb3","isDynamic":true,"blockVersion":3,"display":"flex","justifyContent":"flex-end","sizing":{"width":"50%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/button {"uniqueId":"2298c7f5","hasUrl":true,"blockVersion":3,"display":"inline-flex","alignItems":"center","textTransform":"uppercase","fontSize":14,"paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","textColorHover":"var(\u002d\u002dcontrast-2)","gradientDirection":90,"gradientColorOne":"rgba(255, 255, 255, 0.1)","gradientColorTwo":"rgba(0, 0, 0, 0.30)","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5","iconSize":1.5} -->
<a class="gb-button gb-button-2298c7f5" href="http://localhost/gpf5yt/category/news/"><span class="gb-button-text">View All</span><span class="gb-icon"><svg viewBox="0 0 512 243.58" clip-rule="evenodd" fill-rule="evenodd" image-rendering="optimizeQuality" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" xmlns="http://www.w3.org/2000/svg"><path d="M373.57 0 512 120.75 371.53 243.58l-20.92-23.91 94.93-83L0 137.09v-31.75l445.55-.41-92.89-81.02z" fill-rule="nonzero"></path></svg></span></a>
<!-- /wp:generateblocks/button -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->

<!-- wp:generateblocks/query-loop {"uniqueId":"1215f6a5","query":{"post_type":"post","per_page":"4"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"be27da5c","columns":1,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"3318d630","isGrid":true,"isQueryLoopItem":true,"gridId":"be27da5c","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true},"className":"home-grid"} -->
<!-- wp:generateblocks/grid {"uniqueId":"6c260bd8","columns":2,"horizontalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"7d1804de","isGrid":true,"gridId":"6c260bd8","isDynamic":true,"blockVersion":3,"sizing":{"width":"40%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/image {"uniqueId":"554f60aa","sizeSlug":"full","marginBottom":"0","marginBottomMobile":"20","useDynamicData":true,"dynamicContentType":"featured-image"} /-->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"4b053cf4","isGrid":true,"gridId":"6c260bd8","isDynamic":true,"blockVersion":3,"sizing":{"width":"60%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"4d539aeb","element":"h3","blockVersion":2,"fontSize":20,"lineHeight":26,"lineHeightUnit":"px","marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-4d539aeb gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"cbdfdf3e","element":"p","blockVersion":2,"fontSize":14,"marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","useDynamicData":true,"dynamicContentType":"post-date"} -->
<p class="gb-headline gb-headline-cbdfdf3e gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->

3. Display Editor’s Pick

<!-- wp:generateblocks/container {"uniqueId":"99a30a7f","width":50,"isDynamic":true,"blockVersion":3,"flexDirection":"column","sizing":{"height":"","maxWidth":"","width":"","widthTablet":""},"alignment":"left","marginTop":"40","marginRight":"auto","marginBottom":"0","marginLeft":"auto","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingTopMobile":"20","paddingRightMobile":"20","paddingBottomMobile":"20","paddingLeftMobile":"20","paddingSyncUnits":true} -->
<!-- wp:generateblocks/container {"uniqueId":"e19dff66","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/query-loop {"uniqueId":"e476f638","query":{"post_type":"post","per_page":"3"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"bb7a8962","columns":2,"isDynamic":true,"blockVersion":3,"className":"wpf-mag-header"} -->
<!-- wp:generateblocks/container {"uniqueId":"54d1d8aa","isGrid":true,"gridId":"bb7a8962","isDynamic":true,"blockVersion":3,"sizing":{"width":"75%","widthMobile":"100%"},"paddingTop":"10"} -->
<!-- wp:generateblocks/headline {"uniqueId":"a118295c","element":"h3","blockVersion":2,"display":"flex","alignItems":"center","textTransform":"uppercase","fontSize":22,"letterSpacing":0.02,"backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","className":"section-title"} -->
<h3 class="gb-headline gb-headline-a118295c gb-headline-text section-title"><strong>editor's pick</strong></h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"57345466","isGrid":true,"gridId":"bb7a8962","isDynamic":true,"blockVersion":3,"display":"flex","justifyContent":"flex-end","sizing":{"width":"25%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/button {"uniqueId":"6b9f562b","hasUrl":true,"blockVersion":3,"display":"inline-flex","alignItems":"center","textTransform":"uppercase","fontSize":14,"paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","textColorHover":"var(\u002d\u002dcontrast-2)","gradientDirection":90,"gradientColorOne":"rgba(255, 255, 255, 0.1)","gradientColorTwo":"rgba(0, 0, 0, 0.30)","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5","iconSize":0.9} -->
<a class="gb-button gb-button-6b9f562b" href="http://localhost/gpf5yt/category/news/"><span class="gb-button-text">View All</span><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd" viewBox="0 0 512 243.58"><path fill-rule="nonzero" d="M373.57 0 512 120.75 371.53 243.58l-20.92-23.91 94.93-83L0 137.09v-31.75l445.55-.41-92.89-81.02z"></path></svg></span></a>
<!-- /wp:generateblocks/button -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->

<!-- wp:generateblocks/grid {"uniqueId":"65c503d9","columns":1,"horizontalGap":20,"verticalGap":40,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"3494c524","isGrid":true,"isQueryLoopItem":true,"gridId":"65c503d9","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"33.33%","widthMobile":"100%","height":"100%","maxWidth":"","widthTablet":"50%"},"lock":{"remove":true,"move":true},"className":"home-grid"} -->
<!-- wp:generateblocks/container {"uniqueId":"f100e0fa","isDynamic":true,"blockVersion":3,"sizing":{"maxWidth":""},"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto","paddingTop":"20","paddingRight":"20","paddingBottom":"0","paddingLeft":"20"} -->
<!-- wp:generateblocks/grid {"uniqueId":"8a35207c","columns":1,"isDynamic":true,"blockVersion":3,"useLegacyRowGap":true} -->
<!-- wp:generateblocks/container {"uniqueId":"6be80a2b","isGrid":true,"gridId":"8a35207c","isDynamic":true,"blockVersion":3,"useInnerContainer":true,"sizing":{"width":"100%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/image {"uniqueId":"d32bf7bd","sizeSlug":"full","marginBottom":"30","useDynamicData":true,"dynamicContentType":"featured-image"} /-->

<!-- wp:generateblocks/headline {"uniqueId":"7ce81ddc","element":"h3","blockVersion":2,"fontSize":20,"lineHeight":24,"lineHeightUnit":"px","marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-7ce81ddc gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"aac028b2","element":"p","blockVersion":2,"fontSize":15,"marginBottom":"10","backgroundColor":"","textColor":"var(\u002d\u002dcontrast-2)","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-date","useDefaultMoreLink":false,"excerptLength":15} -->
<p class="gb-headline gb-headline-aac028b2 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->

4. Display Latest Posts

<!-- wp:generateblocks/container {"uniqueId":"40f97fc7","isDynamic":true,"blockVersion":3,"marginTop":"20","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true} -->
<!-- wp:generateblocks/container {"uniqueId":"7d9a8727","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/grid {"uniqueId":"8d92ea6f","columns":2,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"a569e7af","isGrid":true,"gridId":"8d92ea6f","isDynamic":true,"blockVersion":3,"sizing":{"width":"70%","widthMobile":"100%","widthTablet":"55%"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"343a7984","columns":2,"isDynamic":true,"blockVersion":3,"className":"wpf-mag-header"} -->
<!-- wp:generateblocks/container {"uniqueId":"ee130d80","isGrid":true,"gridId":"343a7984","isDynamic":true,"blockVersion":3,"sizing":{"width":"50%","widthMobile":"100%"},"paddingTop":"10"} -->
<!-- wp:generateblocks/headline {"uniqueId":"90dd27f7","element":"h3","blockVersion":2,"display":"flex","alignItems":"center","textTransform":"uppercase","fontSize":20,"letterSpacing":0.02,"backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","className":"section-title"} -->
<h3 class="gb-headline gb-headline-90dd27f7 gb-headline-text section-title"><strong>latest blog posts</strong></h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"ac2b5fe9","isGrid":true,"gridId":"343a7984","isDynamic":true,"blockVersion":3,"display":"flex","justifyContent":"flex-end","sizing":{"width":"50%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/button {"uniqueId":"eae17b94","hasUrl":true,"blockVersion":3,"display":"inline-flex","alignItems":"center","textTransform":"uppercase","fontSize":14,"paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","textColorHover":"var(\u002d\u002dcontrast-2)","gradientDirection":90,"gradientColorOne":"rgba(255, 255, 255, 0.1)","gradientColorTwo":"rgba(0, 0, 0, 0.30)","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5","iconSize":1.5} -->
<a class="gb-button gb-button-eae17b94" href="http://localhost/gpf5yt/category/news/"><span class="gb-button-text">View All</span><span class="gb-icon"><svg viewBox="0 0 512 243.58" clip-rule="evenodd" fill-rule="evenodd" image-rendering="optimizeQuality" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" xmlns="http://www.w3.org/2000/svg"><path d="M373.57 0 512 120.75 371.53 243.58l-20.92-23.91 94.93-83L0 137.09v-31.75l445.55-.41-92.89-81.02z" fill-rule="nonzero"></path></svg></span></a>
<!-- /wp:generateblocks/button -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->

<!-- wp:generateblocks/query-loop {"uniqueId":"4a65583d","query":{"post_type":"post","per_page":"5"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"b711cb5f","columns":1,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"46a29e94","isGrid":true,"isQueryLoopItem":true,"gridId":"b711cb5f","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true},"className":"home-grid"} -->
<!-- wp:generateblocks/grid {"uniqueId":"b33512c0","columns":2,"horizontalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"c1cfb2d9","isGrid":true,"gridId":"b33512c0","isDynamic":true,"blockVersion":3,"sizing":{"width":"50%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/image {"uniqueId":"734e942c","sizeSlug":"full","marginBottom":"0","marginBottomMobile":"20","useDynamicData":true,"dynamicContentType":"featured-image"} /-->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"4a9fbe06","isGrid":true,"gridId":"b33512c0","isDynamic":true,"blockVersion":3,"sizing":{"width":"50%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"b752ec14","element":"h3","blockVersion":2,"fontSize":20,"lineHeight":26,"lineHeightUnit":"px","marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-b752ec14 gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"8c46237d","element":"p","blockVersion":2,"fontSize":14,"marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-date"} -->
<p class="gb-headline gb-headline-8c46237d gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/headline {"uniqueId":"07567e76","element":"p","blockVersion":2,"fontSize":15,"marginTop":"10","marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-excerpt","excerptLength":18} -->
<p class="gb-headline gb-headline-07567e76 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"8e3e3cb4","isGrid":true,"gridId":"8d92ea6f","isDynamic":true,"blockVersion":3,"sizing":{"width":"30%","widthMobile":"100%","widthTablet":"55%"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"4f4e2ae6","columns":1,"isDynamic":true,"blockVersion":3,"className":"wpf-mag-header"} -->
<!-- wp:generateblocks/container {"uniqueId":"22da1ae5","isGrid":true,"gridId":"4f4e2ae6","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"10"} -->
<!-- wp:generateblocks/headline {"uniqueId":"42979355","element":"h3","blockVersion":2,"display":"flex","alignItems":"center","textTransform":"uppercase","fontSize":18,"letterSpacing":0.02,"backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","className":"section-title"} -->
<h3 class="gb-headline gb-headline-42979355 gb-headline-text section-title"><strong>trending posts</strong></h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->

<!-- wp:generateblocks/query-loop {"uniqueId":"e20eb690","query":{"post_type":"post","per_page":"6"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"419840b1","columns":1,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"5bb210fd","isGrid":true,"isQueryLoopItem":true,"gridId":"419840b1","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true},"className":"home-grid"} -->
<!-- wp:generateblocks/grid {"uniqueId":"2b154fa1","columns":1,"horizontalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"c71bd44b","isGrid":true,"gridId":"2b154fa1","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"5b2c2deb","element":"h5","blockVersion":2,"display":"flex","alignItems":"center","fontWeight":"normal","fontSize":16,"lineHeight":26,"lineHeightUnit":"px","marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","hasIcon":true,"iconColor":"","iconSize":1.5,"useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h5 class="gb-headline gb-headline-5b2c2deb"><span class="gb-icon"><svg aria-hidden="true" role="img" height="1em" width="1em" viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z"></path></svg></span><span class="gb-headline-text"></span></h5>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->
I regularly post videos about building WordPress Websites from scratch using free and premium themes. If you like to watch more similar contents, please subscribe to my YouTube channel!