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
		
			
				
	
	
		
			43 lines
		
	
	
	
		
			2.6 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
	
		
			2.6 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * Title: Centered call to action
 | |
|  * Slug: twentytwentyfour/cta-subscribe-centered
 | |
|  * Categories: call-to-action
 | |
|  * Keywords: newsletter, subscribe, button
 | |
|  * Description: Subscribers CTA section with a title, a paragraph and a CTA button.
 | |
|  */
 | |
| ?>
 | |
| 
 | |
| <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
 | |
| <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
 | |
| 	<!-- wp:group {"align":"wide","style":{"border":{"radius":"16px"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"base-2","layout":{"type":"constrained"}} -->
 | |
| 	<div class="wp-block-group alignwide has-base-2-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)">
 | |
| 		<!-- wp:spacer {"height":"var:preset|spacing|10"} -->
 | |
| 		<div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
 | |
| 		<!-- /wp:spacer -->
 | |
| 
 | |
| 		<!-- wp:heading {"textAlign":"center","fontSize":"x-large"} -->
 | |
| 		<h2 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html_x( 'Join 900+ subscribers', 'Sample text for Subscriber Heading with numbers', 'twentytwentyfour' ); ?></h2>
 | |
| 		<!-- /wp:heading -->
 | |
| 
 | |
| 		<!-- wp:paragraph {"align":"center"} -->
 | |
| 		<p class="has-text-align-center"><?php echo esc_html_x( 'Stay in the loop with everything you need to know.', 'Sample text for Subscriber Description', 'twentytwentyfour' ); ?></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 echo esc_html_x( 'Sign up', 'Sample text for Sign Up Button', 'twentytwentyfour' ); ?></a>
 | |
| 			</div>
 | |
| 			<!-- /wp:button -->
 | |
| 		</div>
 | |
| 		<!-- /wp:buttons -->
 | |
| 
 | |
| 		<!-- wp:spacer {"height":"var:preset|spacing|10"} -->
 | |
| 		<div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
 | |
| 		<!-- /wp:spacer -->
 | |
| 	</div>
 | |
| 	<!-- /wp:group -->
 | |
| </div>
 | |
| <!-- /wp:group -->
 |