In this video tutorial, I will show you, how to create a Magazine Style Website using WordPress and free version of GeneratePress theme. You can download the latest version of GeneratePress free theme from WordPress repository or from the GeneratePress website directly.
It’s a quick and short video, so please watch the video without skipping.
Table of Contents
- Recommended Hosting
- Required Theme
- Required Plugins
- Color Palette
- Home Page Gutenberg Blocks (GenerateBlocks)
- Custom CSS Code
- PHP Code Snippets
Recommended Hosting
Required Theme
- GeneratePress (Free Version)
Required Plugins
Color Palette
CSS Variable Name | Hexa Code | Actual Color |
---|---|---|
contrast | #222222 | |
contrast-2 | #575760 | |
contrast-3 | #b2b2be | |
base | #f0f0f0 | |
base-2 | #f7f8f9 | |
base-3 | #ffffff | |
accent | #1a4178 | |
accent-2 | #17af4b |
Home Page Gutenberg Blocks (GenerateBlocks)
1. Featured Contents Block
<!-- wp:generateblocks/container {"uniqueId":"87a83a81","isDynamic":true,"blockVersion":3,"paddingBottom":"20"} -->
<!-- wp:generateblocks/container {"uniqueId":"92463035","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/headline {"uniqueId":"43d49486","element":"h3","blockVersion":2,"fontWeight":"700","marginBottom":"0","paddingTop":"30","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":""} -->
<h3 class="gb-headline gb-headline-43d49486 gb-headline-text">Our Featured Content</h3>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/grid {"uniqueId":"24d15685","columns":2,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"0c075a0f","isGrid":true,"gridId":"24d15685","isDynamic":true,"blockVersion":3,"sizing":{"width":"60%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/query-loop {"uniqueId":"21bacda4","query":{"post_type":"post","per_page":"1"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"4214c2e4","columns":1,"horizontalGap":20,"verticalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"5885920d","isGrid":true,"isQueryLoopItem":true,"gridId":"4214c2e4","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}} -->
<!-- wp:generateblocks/image {"uniqueId":"8b678e08","sizeSlug":"full","marginBottom":"30","useDynamicData":true,"dynamicContentType":"featured-image","dynamicLinkType":"single-post"} /-->
<!-- wp:generateblocks/headline {"uniqueId":"9a0075ea","element":"p","blockVersion":2,"display":"inline-flex","fontSize":14,"marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-date","className":"post-date-meta"} -->
<p class="gb-headline gb-headline-9a0075ea gb-headline-text post-date-meta"></p>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"f1f018df","element":"p","blockVersion":2,"display":"inline-flex","flexDirection":"row","fontSize":14,"marginBottom":"5","marginLeft":"2","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"author-name"} -->
<p class="gb-headline gb-headline-f1f018df gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"e26ac3e5","blockVersion":2,"fontWeight":"700","fontSize":30,"marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h2 class="gb-headline gb-headline-e26ac3e5 gb-headline-text"></h2>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- wp:generateblocks/container {"uniqueId":"2ae9025b","isGrid":true,"gridId":"24d15685","isDynamic":true,"blockVersion":3,"sizing":{"width":"40%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/query-loop {"uniqueId":"6024c55b","query":{"post_type":"post","per_page":"5"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"452311bc","columns":1,"horizontalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"4c77b872","isGrid":true,"isQueryLoopItem":true,"gridId":"452311bc","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"},"paddingTop":"20","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","lock":{"remove":true,"move":true}} -->
<!-- wp:generateblocks/grid {"uniqueId":"b340a6db","columns":1,"horizontalGap":20,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"670e51ca","isGrid":true,"gridId":"b340a6db","isDynamic":true,"blockVersion":3,"sizing":{"width":"100%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"66359331","element":"h3","blockVersion":2,"fontSize":19,"lineHeight":1.5,"marginTop":"5","marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-66359331 gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"2475a208","element":"p","blockVersion":2,"display":"inline-flex","flexDirection":"row","fontSize":14,"marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-date","className":"post-date-meta"} -->
<p class="gb-headline gb-headline-2475a208 gb-headline-text post-date-meta"></p>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"ec44bf76","element":"p","blockVersion":2,"display":"inline-flex","flexDirection":"row","fontSize":14,"marginBottom":"5","marginLeft":"2","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"author-name"} -->
<p class="gb-headline gb-headline-ec44bf76 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- wp:separator {"backgroundColor":"base","className":"separator-1"} -->
<hr class="wp-block-separator has-text-color has-base-color has-alpha-channel-opacity has-base-background-color has-background separator-1"/>
<!-- /wp:separator -->
<!-- /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. Reviews and Guides Block
<!-- wp:generateblocks/container {"uniqueId":"601814f1","backgroundColor":"var(\u002d\u002dbase-2)","isDynamic":true,"blockVersion":3,"paddingTop":"30","paddingBottom":"30"} -->
<!-- wp:generateblocks/container {"uniqueId":"7924b514","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/grid {"uniqueId":"5de3a106","columns":2,"verticalAlignment":"center","isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"de45f43d","isGrid":true,"gridId":"5de3a106","isDynamic":true,"blockVersion":3,"sizing":{"width":"66.66%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"85b5cf5b","element":"h3","blockVersion":2,"fontWeight":"700","paddingLeft":"10","paddingLeftMobile":"20","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":""} -->
<h3 class="gb-headline gb-headline-85b5cf5b gb-headline-text">Recent Buying Guides and Reviews</h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- wp:generateblocks/container {"uniqueId":"da5370a0","isGrid":true,"gridId":"5de3a106","isDynamic":true,"blockVersion":3,"sizing":{"width":"33.33%","widthMobile":"100%"},"alignment":"right","alignmentMobile":"center","paddingRight":"20"} -->
<!-- wp:generateblocks/button {"uniqueId":"163d811d","hasUrl":true,"blockVersion":3,"display":"inline-flex","alignItems":"center","fontWeight":"500","letterSpacing":0.05,"paddingTop":"5","paddingRight":"20","paddingBottom":"5","paddingLeft":"20","borderRadiusTopRight":"5","borderRadiusBottomRight":"5","borderRadiusBottomLeft":"5","borderRadiusTopLeft":"5","backgroundColor":"var(\u002d\u002daccent-2)","backgroundColorHover":"var(\u002d\u002daccent)","textColor":"var(\u002d\u002dbase-3)","textColorHover":"var(\u002d\u002dbase-3)","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5"} -->
<a class="gb-button gb-button-163d811d" href="https://localhost/t004/category/guides/"><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":"e4d04441","query":{"post_type":"post","per_page":"6"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"900ba630","columns":1,"horizontalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"a9b994b3","isGrid":true,"isQueryLoopItem":true,"gridId":"900ba630","backgroundColor":"var(\u002d\u002dbase-2)","isDynamic":true,"blockVersion":3,"sizing":{"width":"33.33%","widthMobile":"100%"},"paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","paddingTopMobile":"20","paddingRightMobile":"20","paddingBottomMobile":"20","paddingLeftMobile":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true}} -->
<!-- wp:generateblocks/image {"uniqueId":"c52af043","sizeSlug":"full","marginBottom":"30","useDynamicData":true,"dynamicContentType":"featured-image","dynamicLinkType":"single-post"} /-->
<!-- wp:generateblocks/headline {"uniqueId":"c0eace62","element":"h3","blockVersion":2,"fontSize":19,"lineHeight":1.5,"marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-c0eace62 gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"2e030870","element":"p","blockVersion":2,"display":"inline-flex","fontSize":14,"marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","useDynamicData":true,"dynamicContentType":"post-date","className":"post-date-meta"} -->
<p class="gb-headline gb-headline-2e030870 gb-headline-text post-date-meta"></p>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"93725b80","element":"p","blockVersion":2,"display":"inline-flex","flexDirection":"row","fontSize":14,"marginBottom":"5","marginLeft":"2","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"author-name"} -->
<p class="gb-headline gb-headline-93725b80 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->
3. Custom Categories Block
<!-- wp:generateblocks/container {"uniqueId":"b4658b21","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"paddingTop":"30","paddingBottom":"30"} -->
<!-- wp:generateblocks/container {"uniqueId":"3e7c3978","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/grid {"uniqueId":"90c34ebe","columns":2,"verticalAlignment":"center","isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"d7012fbf","isGrid":true,"gridId":"90c34ebe","isDynamic":true,"blockVersion":3,"sizing":{"width":"66.66%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"12ef64ba","element":"h3","blockVersion":2,"fontWeight":"700","paddingLeft":"10","paddingLeftMobile":"20","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":""} -->
<h3 class="gb-headline gb-headline-12ef64ba gb-headline-text">Backyard Designs</h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- wp:generateblocks/container {"uniqueId":"dfb1891b","isGrid":true,"gridId":"90c34ebe","isDynamic":true,"blockVersion":3,"sizing":{"width":"33.33%","widthMobile":"100%"},"alignment":"right","alignmentMobile":"center","paddingRight":"20"} -->
<!-- wp:generateblocks/button {"uniqueId":"16e0e0ae","hasUrl":true,"blockVersion":3,"display":"inline-flex","alignItems":"center","fontWeight":"500","letterSpacing":0.05,"paddingTop":"5","paddingRight":"20","paddingBottom":"5","paddingLeft":"20","borderRadiusTopRight":"5","borderRadiusBottomRight":"5","borderRadiusBottomLeft":"5","borderRadiusTopLeft":"5","backgroundColor":"var(\u002d\u002daccent-2)","backgroundColorHover":"var(\u002d\u002daccent)","textColor":"var(\u002d\u002dbase-3)","textColorHover":"var(\u002d\u002dbase-3)","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5"} -->
<a class="gb-button gb-button-16e0e0ae" href="https://localhost/t004/category/guides/"><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":"45d48f9e","query":{"post_type":"post","per_page":"6"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"e52eecf5","columns":1,"horizontalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"80d4e922","isGrid":true,"isQueryLoopItem":true,"gridId":"e52eecf5","backgroundColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"sizing":{"width":"33.33%","widthMobile":"100%"},"paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","paddingTopMobile":"20","paddingRightMobile":"20","paddingBottomMobile":"20","paddingLeftMobile":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true}} -->
<!-- wp:generateblocks/image {"uniqueId":"991a2765","sizeSlug":"full","marginBottom":"30","useDynamicData":true,"dynamicContentType":"featured-image","dynamicLinkType":"single-post"} /-->
<!-- wp:generateblocks/headline {"uniqueId":"cf8c4119","element":"h3","blockVersion":2,"fontSize":19,"lineHeight":1.5,"marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-cf8c4119 gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"ff9c5e3e","element":"p","blockVersion":2,"display":"inline-flex","fontSize":14,"marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","useDynamicData":true,"dynamicContentType":"post-date","className":"post-date-meta"} -->
<p class="gb-headline gb-headline-ff9c5e3e gb-headline-text post-date-meta"></p>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"45e49065","element":"p","blockVersion":2,"display":"inline-flex","flexDirection":"row","fontSize":14,"marginBottom":"5","marginLeft":"2","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"author-name"} -->
<p class="gb-headline gb-headline-45e49065 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->
4. Latest Blog Post Block
<!-- wp:generateblocks/container {"uniqueId":"bca34d1f","backgroundColor":"var(\u002d\u002dbase-2)","isDynamic":true,"blockVersion":3,"paddingTop":"30","paddingBottom":"30"} -->
<!-- wp:generateblocks/container {"uniqueId":"b2968a6e","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} -->
<!-- wp:generateblocks/grid {"uniqueId":"a721509c","columns":2,"verticalAlignment":"center","isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"49555497","isGrid":true,"gridId":"a721509c","isDynamic":true,"blockVersion":3,"sizing":{"width":"66.66%","widthMobile":"100%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"a3429a7f","element":"h3","blockVersion":2,"fontWeight":"700","paddingLeft":"10","paddingLeftMobile":"20","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":""} -->
<h3 class="gb-headline gb-headline-a3429a7f gb-headline-text">Latest Blog Posts</h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- wp:generateblocks/container {"uniqueId":"8490efdc","isGrid":true,"gridId":"a721509c","isDynamic":true,"blockVersion":3,"sizing":{"width":"33.33%","widthMobile":"100%"},"alignment":"right","alignmentMobile":"center","paddingRight":"20"} -->
<!-- wp:generateblocks/button {"uniqueId":"4f9cac34","hasUrl":true,"blockVersion":3,"display":"inline-flex","alignItems":"center","fontWeight":"500","letterSpacing":0.05,"paddingTop":"5","paddingRight":"20","paddingBottom":"5","paddingLeft":"20","borderRadiusTopRight":"5","borderRadiusBottomRight":"5","borderRadiusBottomLeft":"5","borderRadiusTopLeft":"5","backgroundColor":"var(\u002d\u002daccent-2)","backgroundColorHover":"var(\u002d\u002daccent)","textColor":"var(\u002d\u002dbase-3)","textColorHover":"var(\u002d\u002dbase-3)","hasIcon":true,"iconLocation":"right","iconPaddingRight":"","iconPaddingLeft":"0.5"} -->
<a class="gb-button gb-button-4f9cac34" href="https://localhost/t004/category/guides/"><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":"15d22a95","query":{"post_type":"post","per_page":"6"}} -->
<!-- wp:generateblocks/grid {"uniqueId":"bb46fab2","columns":1,"horizontalGap":20,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"f12a428b","isGrid":true,"isQueryLoopItem":true,"gridId":"bb46fab2","backgroundColor":"var(\u002d\u002dbase-2)","isDynamic":true,"blockVersion":3,"sizing":{"width":"33.33%","widthMobile":"100%"},"paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","paddingTopMobile":"20","paddingRightMobile":"20","paddingBottomMobile":"20","paddingLeftMobile":"20","paddingSyncUnits":true,"lock":{"remove":true,"move":true}} -->
<!-- wp:generateblocks/image {"uniqueId":"eea7da41","sizeSlug":"full","marginBottom":"30","useDynamicData":true,"dynamicContentType":"featured-image","dynamicLinkType":"single-post"} /-->
<!-- wp:generateblocks/headline {"uniqueId":"9909e9bc","element":"h3","blockVersion":2,"fontSize":19,"lineHeight":1.5,"marginBottom":"5","backgroundColor":"","textColor":"","linkColor":"","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-9909e9bc gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"6329e5f9","element":"p","blockVersion":2,"display":"inline-flex","fontSize":14,"marginBottom":"0","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"post-date","className":"post-date-meta"} -->
<p class="gb-headline gb-headline-6329e5f9 gb-headline-text post-date-meta"></p>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"5d9624b6","element":"p","blockVersion":2,"display":"inline-flex","flexDirection":"row","fontSize":14,"marginBottom":"5","marginLeft":"2","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","iconColor":"","useDynamicData":true,"dynamicContentType":"author-name"} -->
<p class="gb-headline gb-headline-5d9624b6 gb-headline-text"></p>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->
Custom CSS Code
.main-navigation {
border-bottom: 5px solid var(--accent-2);
}
.sidebar .widget {
border-top: 5px solid var(--accent-2);
}
.post-date-meta::after {
content: ",";
}
hr.separator-1 {
margin-top: 10px;
margin-bottom: 0px;
}
PHP Code Snippets
GeneratePress Custom Copyright Text
add_filter( 'generate_copyright','wpframer_gp_custom_copyright' );
if (!function_exists('wpframer_gp_custom_copyright')) {
function wpframer_gp_custom_copyright() {
$year = date("Y");
?>
© <?php echo $year ?> WordPress Site Development• All Rights Reserved!
<?php
}
}