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
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * Title: Centered heading
 | |
|  * Slug: twentytwentyfive/cta-centered-heading
 | |
|  * Categories: call-to-action
 | |
|  * Description: A hero with a centered heading, paragraph and button.
 | |
|  *
 | |
|  * @package WordPress
 | |
|  * @subpackage Twenty_Twenty_Five
 | |
|  * @since Twenty Twenty-Five 1.0
 | |
|  */
 | |
| 
 | |
| ?>
 | |
| <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":"0vh"}},"layout":{"type":"constrained"}} -->
 | |
| <div class="wp-block-group alignfull" style="min-height:0vh;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--40)">
 | |
| 	<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
 | |
| 	<div class="wp-block-group">
 | |
| 		<!-- wp:heading {"textAlign":"center","style":{"spacing":{"margin":{"right":"0","left":"0"},"padding":{"right":"0","left":"0"}}},"fontSize":"xx-large"} -->
 | |
| 		<h2 class="wp-block-heading has-text-align-center has-xx-large-font-size" style="margin-right:0;margin-left:0;padding-right:0;padding-left:0"><?php esc_html_e( 'Tell your story', 'twentytwentyfive' ); ?></h2>
 | |
| 		<!-- /wp:heading -->
 | |
| 		<!-- wp:paragraph {"align":"center"} -->
 | |
| 		<p class="has-text-align-center"><?php esc_html_e( 'Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience, revealing hidden wonders.', 'twentytwentyfive' ); ?></p>
 | |
| 		<!-- /wp:paragraph -->
 | |
| 
 | |
| 		<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
 | |
| 		<div class="wp-block-buttons">
 | |
| 			<!-- wp:button -->
 | |
| 			<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Learn more', 'twentytwentyfive' ); ?></a></div>
 | |
| 			<!-- /wp:button --></div>
 | |
| 		<!-- /wp:buttons -->
 | |
| 		</div>
 | |
| 	<!-- /wp:group -->
 | |
| 	</div>
 | |
| <!-- /wp:group -->
 |