Add fourthwall_random shortcode examples to admin settings page
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Create Release / build (push) Successful in 2s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Create Release / build (push) Successful in 2s
				
			- Add three usage examples for the new [fourthwall_random] shortcode - Include examples for basic random products, specific URLs, and different stores - Place examples alongside existing shortcode documentation in admin panel - Improve user experience by providing clear usage guidance
This commit is contained in:
		@@ -91,6 +91,9 @@ class fourthwall_settings {
 | 
			
		||||
		echo '   <p><strong>' . __( 'Display entire store:', 'fourthwall_text_domain' ) . '</strong> <code>[fourthwall]</code></p>' . "\n";
 | 
			
		||||
		echo '   <p><strong>' . __( 'Display single product:', 'fourthwall_text_domain' ) . '</strong> <code>[fourthwall_single url="https://your-store.fourthwall.com/products/product-name"]</code></p>' . "\n";
 | 
			
		||||
		echo '   <p><strong>' . __( 'With description:', 'fourthwall_text_domain' ) . '</strong> <code>[fourthwall_single url="https://your-store.fourthwall.com/products/product-name" show_description="true"]</code></p>' . "\n";
 | 
			
		||||
		echo '   <p><strong>' . __( 'Display random products:', 'fourthwall_text_domain' ) . '</strong> <code>[fourthwall_random count="5"]</code></p>' . "\n";
 | 
			
		||||
		echo '   <p><strong>' . __( 'Random from specific URLs:', 'fourthwall_text_domain' ) . '</strong> <code>[fourthwall_random count="3" urls="https://store.com/product1,https://store.com/product2,https://store.com/product3"]</code></p>' . "\n";
 | 
			
		||||
		echo '   <p><strong>' . __( 'Random from different store:', 'fourthwall_text_domain' ) . '</strong> <code>[fourthwall_random count="2" store_url="https://different-store.fourthwall.com"]</code></p>' . "\n";
 | 
			
		||||
		echo '   <p><em>' . __( 'Note: Disable SSL verification only for local development. Keep enabled for production sites.', 'fourthwall_text_domain' ) . '</em></p>' . "\n";
 | 
			
		||||
		echo ' </div>' . "\n";
 | 
			
		||||
		echo '</div>' . "\n";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user