From b4f17c80b3e79ffd647bad5f2c012ee445af3329 Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Tue, 24 Jun 2025 11:40:08 -0700 Subject: [PATCH] Add fourthwall_random shortcode examples to admin settings page - 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 --- libs/settings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/settings.php b/libs/settings.php index 950ddd3..1df17f3 100644 --- a/libs/settings.php +++ b/libs/settings.php @@ -91,6 +91,9 @@ class fourthwall_settings { echo '

' . __( 'Display entire store:', 'fourthwall_text_domain' ) . ' [fourthwall]

' . "\n"; echo '

' . __( 'Display single product:', 'fourthwall_text_domain' ) . ' [fourthwall_single url="https://your-store.fourthwall.com/products/product-name"]

' . "\n"; echo '

' . __( 'With description:', 'fourthwall_text_domain' ) . ' [fourthwall_single url="https://your-store.fourthwall.com/products/product-name" show_description="true"]

' . "\n"; + echo '

' . __( 'Display random products:', 'fourthwall_text_domain' ) . ' [fourthwall_random count="5"]

' . "\n"; + echo '

' . __( 'Random from specific URLs:', 'fourthwall_text_domain' ) . ' [fourthwall_random count="3" urls="https://store.com/product1,https://store.com/product2,https://store.com/product3"]

' . "\n"; + echo '

' . __( 'Random from different store:', 'fourthwall_text_domain' ) . ' [fourthwall_random count="2" store_url="https://different-store.fourthwall.com"]

' . "\n"; echo '

' . __( 'Note: Disable SSL verification only for local development. Keep enabled for production sites.', 'fourthwall_text_domain' ) . '

' . "\n"; echo ' ' . "\n"; echo '' . "\n";