add themes
This commit is contained in:
42
transsocial-theme/patterns/columns-with-images.php
Normal file
42
transsocial-theme/patterns/columns-with-images.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Columns with circular images
|
||||
* Slug: transsocial-theme/columns-with-images
|
||||
* Categories: featured
|
||||
* Block Types: core/image, core/columns
|
||||
*
|
||||
* @package transsocial-theme
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<!-- wp:columns {"align":"wide"} -->
|
||||
<div class="wp-block-columns alignwide">
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:image {"align":"center","width":200,"height":200,"sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image aligncenter size-large is-resized is-style-rounded"><img src="<?php echo esc_url( get_theme_file_uri( 'assets/images/woman-tshirt.jpg' ) ); ?>" alt="" width="200" height="200"/></figure>
|
||||
<!-- /wp:image -->
|
||||
<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center"><?php echo esc_html_x( 'Sample content. Replace the text with your own content.', 'sample content', 'transsocial-theme' ); ?></p><!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center"><?php echo esc_html_x( 'Sample content. Replace the text with your own content.', 'sample content', 'transsocial-theme' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
<!-- wp:image {"align":"center","width":200,"height":200,"sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image aligncenter size-large is-resized is-style-rounded"><img src="<?php echo esc_url( get_theme_file_uri( 'assets/images/woman-curls.jpg' ) ); ?>" alt="" width="200" height="200"/></figure>
|
||||
<!-- /wp:image -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:image {"align":"center","width":200,"height":200,"sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<div class="wp-block-image is-style-rounded"><figure class="aligncenter size-large is-resized"><img src="<?php echo esc_url( get_theme_file_uri( 'assets/images/woman-headphones.jpg' ) ); ?>" alt="" width="200" height="200"/></figure></div>
|
||||
<!-- /wp:image -->
|
||||
<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center"><?php echo esc_html_x( 'Sample content. Replace the text with your own content.', 'sample content', 'transsocial-theme' ); ?></p><!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
20
transsocial-theme/patterns/hidden-404.php
Normal file
20
transsocial-theme/patterns/hidden-404.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: 404
|
||||
* Slug: transsocial-theme/404
|
||||
* Categories: text
|
||||
* inserter: no
|
||||
*
|
||||
* @package transsocial-theme
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<!-- wp:heading {"textAlign":"center","fontSize":"x-large"} -->
|
||||
<h2 class="has-text-align-center has-x-large-font-size"><?php esc_html_e( 'Page not found', 'transsocial-theme' ); ?></h2>
|
||||
<!-- /wp:heading -->
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search?', 'transsocial-theme' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
<!-- wp:search {"label":"Search","showLabel":false,"buttonText":"Search"} /-->
|
||||
<!-- /wp:group -->
|
23
transsocial-theme/patterns/hidden-footer-links.php
Normal file
23
transsocial-theme/patterns/hidden-footer-links.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Footer links
|
||||
* Slug: transsocial-theme/footer-links
|
||||
* Categories: text
|
||||
* Inserter: no
|
||||
*
|
||||
* @package transsocial-theme
|
||||
* @since 1.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:paragraph {"fontSize":"extra-small"} -->
|
||||
<p class="has-extra-small-font-size"><?php echo esc_html__( 'Copyright', 'transsocial-theme' ) . ' ' . date_i18n( _x( 'Y', 'copyright date format', 'transsocial-theme' ) ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
<!-- wp:site-title {"level":0,"isLink":false,"fontSize":"extra-small"} /-->
|
||||
<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"var(--wp--preset--color--contrast)","className":"has-icon-color is-style-logos-only"} -->
|
||||
<ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /--></ul>
|
||||
<!-- /wp:social-links -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
Reference in New Issue
Block a user