Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Use consistent pattern titles, slugs and file names #672

Merged
merged 29 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a7b49bb
text-centered-statement
richtabor Oct 16, 2023
3429986
Team and FAQ
richtabor Oct 16, 2023
6bc620c
Feature grid, 3 columns
richtabor Oct 16, 2023
ac99aa1
Text with alternating images
richtabor Oct 16, 2023
f3328a1
Remove Blogging Home from the text category
richtabor Oct 16, 2023
4521911
Update page-01-business-home.php
richtabor Oct 16, 2023
947fbc6
Update footer.php
richtabor Oct 16, 2023
bd373ae
Offset galleries
richtabor Oct 16, 2023
78d0528
Hero
richtabor Oct 16, 2023
f03d2f1
404
richtabor Oct 16, 2023
2563a0a
Comments
richtabor Oct 16, 2023
2d4d7c4
Remove some featured patterns
richtabor Oct 16, 2023
0338624
Make full screen image pattern available in the inserter
richtabor Oct 16, 2023
11ee5b3
hidden-portfolio-hero
richtabor Oct 16, 2023
0fc5092
Hidden patterns
richtabor Oct 16, 2023
8436ea8
Update gallery-full-screen-image.php
richtabor Oct 16, 2023
01a4961
cta-content-image-on-right
richtabor Oct 16, 2023
a9d1eba
posts-offset-images-only-4-col
richtabor Oct 16, 2023
16f4ed2
Posts patterns
richtabor Oct 16, 2023
f8bf22b
Pricing
richtabor Oct 16, 2023
c170c56
project-description
richtabor Oct 16, 2023
5ece653
Another round
richtabor Oct 16, 2023
ec9cf49
More patterns
richtabor Oct 16, 2023
590d84e
Renaming templates and page patterns
richtabor Oct 16, 2023
ccd17fd
More renaming
richtabor Oct 16, 2023
44b2a66
Minor title tweaks
richtabor Oct 16, 2023
1216731
Add twentytwentyfour/page-home-gallery pattern
richtabor Oct 16, 2023
bf09495
Update page-home-portfolio.php
richtabor Oct 16, 2023
ac9f84d
Update template-home-portfolio.php
richtabor Oct 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion parts/post-meta.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!-- wp:pattern {"slug":"twentytwentyfour/post-meta"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/hidden-post-meta"} /-->
2 changes: 1 addition & 1 deletion parts/sidebar.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!-- wp:pattern {"slug":"twentytwentyfour/sidebar"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/hidden-sidebar"} /-->
2 changes: 1 addition & 1 deletion patterns/hero.php → patterns/banner-hero.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Hero
* Slug: twentytwentyfour/hero
* Slug: twentytwentyfour/banner-hero
* Categories: banner, call-to-action, featured
* Viewport width: 1400
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Title: Project description
* Slug: twentytwentyfour/project-description
* Categories: featured, banner, about
* Slug: twentytwentyfour/banner-project-description
* Categories: featured, banner, about, portfolio
* Viewport width: 1400
*/
?>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Title: Left Aligned Call to Action with Image
* Slug: twentytwentyfour/left-aligned-cta-image
* Categories: call-to-action
* Title: Call to action with image on right
* Slug: twentytwentyfour/cta-content-image-on-right
* Categories: call-to-action, banner
* Viewport width: 1400
*/
?>
Expand Down
2 changes: 1 addition & 1 deletion patterns/pricing.php → patterns/cta-pricing.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Pricing
* Slug: twentytwentyfour/pricing
* Slug: twentytwentyfour/cta-pricing
* Categories: call-to-action, services
* Viewport width: 1400
*/
Expand Down
2 changes: 1 addition & 1 deletion patterns/rsvp.php → patterns/cta-rsvp.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: RSVP
* Slug: twentytwentyfour/rsvp
* Slug: twentytwentyfour/cta-rsvp
* Categories: call-to-action, featured
* Viewport width: 1100
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Services - Call To Action
* Slug: twentytwentyfour/services-cta
* Title: Services call to action with image on left
* Slug: twentytwentyfour/cta-services-image-left
* Categories: call-to-action, banner, featured, services
* Viewport width: 1400
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Centered Call To Action
* Slug: twentytwentyfour/text-centered-cta-subscribe
* Title: Centered call to action
* Slug: twentytwentyfour/cta-subscribe-centered
* Categories: call-to-action
* Keywords: newsletter, subscribe, button
*/
Expand Down
2 changes: 1 addition & 1 deletion patterns/footer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Title: Footer with colophon, four columns
* Title: Footer with colophon, 4 columns
* Slug: twentytwentyfour/footer
* Categories: footer
* Block Types: core/template-part/footer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Title: Full Screen Image
* Slug: twentytwentyfour/full-screen-image
* Inserter: no
* Title: Full screen image
* Slug: twentytwentyfour/gallery-full-screen-image
* Categories: gallery, portfolio
*/
?>

Expand All @@ -13,8 +13,8 @@
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/art-gallery.webp)">
</div>
<div class="wp-block-cover__inner-container">
<!-- wp:spacer {"height":"var:preset|spacing|60"} -->
<div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- wp:spacer {"height":"500px"} -->
<div style="height:500px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Title: Offset Image Grid, 2 Columns
* Slug: twentytwentyfour/gallery-offset-image-grid-2-col
* Categories: gallery, featured, portfolio
* Title: Offset gallery, 2 columns
* Slug: twentytwentyfour/gallery-offset-images-grid-2-col
* Categories: gallery, portfolio
* Keywords: project, images, media, masonry, columns
* Viewport width: 1400
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Title: Offset Image Grid, 3 Columns
* Slug: twentytwentyfour/gallery-offset-image-grid-3-col
* Categories: gallery, featured, portfolio
* Title: Offset gallery, 3 columns
* Slug: twentytwentyfour/gallery-offset-images-grid-2-col
* Categories: gallery, portfolio
* Keywords: project, images, media, masonry, columns
* Viewport width: 1400
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Offset Image Grid, 4 Columns
* Slug: twentytwentyfour/gallery-offset-image-grid-4-col
* Title: Offset gallery, 4 columns
* Slug: twentytwentyfour/gallery-offset-images-grid-4-col
* Categories: gallery, featured, portfolio
* Keywords: project, images, media, masonry, columns
* Viewport width: 1400
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Project Layout
* Slug: twentytwentyfour/project-layout
* Title: Project layout
* Slug: twentytwentyfour/gallery-project-layout
* Categories: gallery, featured, portfolio
* Viewport width: 1600
*/
Expand Down
6 changes: 3 additions & 3 deletions patterns/hidden-404.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: A 404 page
* Slug: twentytwentyfour/404
* Title: 404
* Slug: twentytwentyfour/hidden-404
* Inserter: no
*/
?>
Expand All @@ -12,4 +12,4 @@
<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'The page you are looking for does not exist, or it has been moved. Please try searching using the form below.', 'Message to convey that a webpage could not be found', 'twentytwentyfour' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:pattern {"slug":"twentytwentyfour/search"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/hidden-search"} /-->
2 changes: 1 addition & 1 deletion patterns/hidden-comments.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Comments
* Slug: twentytwentyfour/comments
* Slug: twentytwentyfour/hidden-comments
* Inserter: no
*/
?>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: twentytwentyfour/no-results-content
* Title: No results
* Slug: twentytwentyfour/hidden-no-results
* Inserter: no
*/
?>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Title: Heading on left
* Slug: twentytwentyfour/intro-text-left
* Categories: text
* Title: Portfolio hero
* Slug: twentytwentyfour/hidden-portfolio-hero
* Inserter: no
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions patterns/hidden-post-meta.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Post Meta
* Slug: twentytwentyfour/post-meta
* Title: Post meta
* Slug: twentytwentyfour/hidden-post-meta
* Inserter: no
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions patterns/hidden-post-navigation.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Title: Post navigation
* slug: twentytwentyfour/post-navigation
* inserter: no
* Slug: twentytwentyfour/hidden-post-navigation
* Inserter: no
*/
?>

Expand Down
4 changes: 2 additions & 2 deletions patterns/hidden-search.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Title: Hidden Search form
* Slug: twentytwentyfour/search
* Title: Search
* Slug: twentytwentyfour/hidden-search
* Inserter: no
*/
?>
Expand Down
5 changes: 2 additions & 3 deletions patterns/hidden-sidebar.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Title: sidebar
* Slug: twentytwentyfour/sidebar
* Categories: hidden
* Title: Sidebar
* Slug: twentytwentyfour/hidden-sidebar
* Inserter: no
*/
?>
Expand Down
18 changes: 0 additions & 18 deletions patterns/page-01-business-home.php

This file was deleted.

19 changes: 0 additions & 19 deletions patterns/page-02-business-about.php

This file was deleted.

17 changes: 0 additions & 17 deletions patterns/page-03-portfolio-overview.php

This file was deleted.

14 changes: 0 additions & 14 deletions patterns/page-05-portfolio-home.php

This file was deleted.

19 changes: 19 additions & 0 deletions patterns/page-about-business.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
/**
* Title: About
* Slug: twentytwentyfour/page-about-business
* Categories: page
* Keywords: starter
* Block Types: core/post-content
* Post Types: page, wp_template
* Viewport width: 1400
*/
?>

<!-- wp:pattern {"slug":"twentytwentyfour/text-title-left-image-right"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/text-project-details"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/cta-services-image-left"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/team-4-col"} /-->
<!-- wp:pattern {"slug":"clients-section"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/text-faq"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/cta-content-image-on-right"} /-->
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php
/**
* Title: Blogging Home
* Slug: twentytwentyfour/blogging-home
* Categories: text, page
* Title: Blogging home
* Slug: twentytwentyfour/page-home-blogging
* Categories: page
* Keywords: page, starter
* Post Types: page, wp_template
* Viewport width: 1400
*/
?>

<!-- wp:pattern {"slug":"twentytwentyfour/text-centered-title"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/text-centered-statement-small"} /-->

<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
Expand Down Expand Up @@ -53,7 +53,7 @@
<!-- /wp:query-pagination -->

<!-- wp:query-no-results -->
<!-- wp:pattern {"slug":"twentytwentyfour/no-results-content"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/hidden-no-results"} /-->
<!-- /wp:query-no-results -->
</div>
<!-- /wp:query -->
Expand All @@ -80,4 +80,4 @@
</div>
<!-- /wp:group -->

<!-- wp:pattern {"slug":"twentytwentyfour/text-centered-cta-subscribe"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/cta-subscribe-centered"} /-->
18 changes: 18 additions & 0 deletions patterns/page-home-business.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php
/**
* Title: Business home
* Slug: twentytwentyfour/home-business
* Categories: page
* Keywords: starter
* Block Types: core/post-content
* Post Types: page, wp_template
* Viewport width: 1400
*/
?>

<!-- wp:pattern {"slug":"twentytwentyfour/banner-hero"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/text-feature-grid-3-col"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/text-alternating-images"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/testimonial-centered"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/posts-grid-2-col"} /-->
<!-- wp:pattern {"slug":"twentytwentyfour/cta-subscribe-centered"} /-->
Loading
Loading