This commit introduces a more reliable and consistent approach to setting up the development environment using backups: - Add setup-from-backup.sh script for environment setup from existing backups - Standardize script naming and organization - Move obsolete scripts to bin/obsolete directory - Update documentation with new workflow instructions - Create migration guide for transitioning to new workflow - Update Memory Bank with workflow improvements The new workflow provides: - More reliable environment setup - Faster setup process - Offline development capability - Consistent development environments across team members Breaking changes: - setup-dev.sh is replaced by setup-from-backup.sh - sync-and-setup.sh is replaced by separate scripts - verify-with-wpcli.sh is no longer used Migration path is documented in MIGRATION_GUIDE.md
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * Title: Posts with featured images only, 3 columns
 | |
|  * Slug: twentytwentyfour/posts-images-only-3-col
 | |
|  * Categories: query
 | |
|  * Block Types: core/query
 | |
|  * Description: A list of posts with featured images only, 3 columns.
 | |
|  */
 | |
| ?>
 | |
| 
 | |
| <!-- wp:query {"query":{"perPage":10,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} -->
 | |
| <div class="wp-block-query alignwide">
 | |
| 	<!-- wp:query-no-results -->
 | |
| 	<!-- wp:pattern {"slug":"twentytwentyfour/hidden-no-results"} /-->
 | |
| 	<!-- /wp:query-no-results -->
 | |
| 
 | |
| 	<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
 | |
| 	<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
 | |
| 
 | |
| 		<!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"grid","columnCount":3}} -->
 | |
| 		<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/4","style":{"spacing":{"margin":{"bottom":"0"},"padding":{"bottom":"var:preset|spacing|20"}}}} /-->
 | |
| 		<!-- /wp:post-template -->
 | |
| 
 | |
| 		<!-- wp:spacer {"height":"var:preset|spacing|40","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
 | |
| 		<div style="margin-top:0;margin-bottom:0;height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
 | |
| 		<!-- /wp:spacer -->
 | |
| 
 | |
| 		<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
 | |
| 		<!-- wp:query-pagination-previous /-->
 | |
| 		<!-- wp:query-pagination-next /-->
 | |
| 		<!-- /wp:query-pagination -->
 | |
| 
 | |
| 	</div>
 | |
| 	<!-- /wp:group -->
 | |
| </div>
 | |
| <!-- /wp:query -->
 |