updating docs and settings for release

This commit is contained in:
2025-01-10 19:57:13 -08:00
parent 084d769cb6
commit faf1a4ec87
3 changed files with 12 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ class fourthwall_settings {
submit_button();
echo ' </form>' . "\n";
echo ' <div><p>To use the fourthwall Embed, use the shortcode [fourthwall]</p></div>';
echo '</div>' . "\n";
}

View File

@@ -48,7 +48,7 @@ function fwembed_parse_html($url = null) {
function fwembed_shortcode( $atts ) {
$options = get_option( 'fourthwall_settings_name' );
$value = isset( $options['fourth_url'] ) ? $options['fourth_url'] : 'https://latinosagainstspookyshit-shop.fourthwall.com';
$value = isset( $options['fourth_url'] ) ? $options['fourth_url'] : 'https://fourthwall.com';
$store_html = fwembed_parse_html($value);
$store_render = '<div class="fw-store-parent">' . PHP_EOL . $store_html . PHP_EOL . '</div>';
return $store_render;