-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [#80] setting up the hero banner pattern files * [#80] updating pattern layout changing name * [#80] adding e to esc_attr
- Loading branch information
1 parent
64d8f16
commit 28afc40
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* Pattern: GoodBids Hero | ||
* | ||
* @since 1.0.0 | ||
* @package GoodBids | ||
*/ | ||
|
||
?> | ||
|
||
<!-- wp:media-text {"align":"wide","mediaPosition":"right","mediaId":61,"mediaLink":"http://goodbids.vipdev.lndo.site/sample-page/e-commerce-logistics-_-present-gift-box-package-delivery-shipping-giveaway/","mediaType":"image","mediaSizeSlug":"full","verticalAlignment":"top","imageFill":false,"style":{"spacing":{"margin":{"bottom":"80px"},"padding":{"top":"0","bottom":"0"}}}} --> | ||
<div class="wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-top" style="margin-bottom:80px;padding-top:0;padding-bottom:0"> | ||
<div class="wp-block-media-text__content"> | ||
<!-- wp:heading {"level":1} --> | ||
<h1 class="wp-block-heading"><?php esc_html_e( 'Lorem ipsum dolor sit amet', 'goodbids' ); ?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p> | ||
<?php esc_html_e( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam', 'goodbids' ); ?> | ||
</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:buttons {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} --> | ||
<div class="wp-block-buttons" style="margin-bottom:var(--wp--preset--spacing--40)"> | ||
<!-- wp:button --> | ||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="#"><?php esc_html_e( 'Lorem Ipsum', 'goodbids' ); ?></a></div> | ||
<!-- /wp:button --> | ||
</div> | ||
<!-- /wp:buttons --> | ||
</div> | ||
<figure class="wp-block-media-text__media"><img src="" alt="<?php esc_attr_e( 'Short description of the image', 'goodbids' ); ?>" class="size-full" /></figure> | ||
</div> | ||
<!-- /wp:media-text --> |