diff --git a/README.md b/README.md index 96e621d..eacfd48 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # fourth-wall-embed-wp -A WordPress Plugin to embed a fourth wall embed \ No newline at end of file +A WordPress Plugin to embed a fourth wall embed. + +### How to use the plugin + +* Download the latest release from [releases](https://repo.anhonesthost.net/CyberCoveLLC/fourth-wall-embed-wp/releases) +* Upload the Plugin to WordPress +* In the WordPress Dashboard, Navigate to the Fourthwall settings page, and paste your store url. +* On the page you want have your store displayed, add the shortcode ```[fourthwall]``` + +This is an early release of the plugin, and if you can think of things that could be improved or find any bugs, please open an issue on the repository. \ No newline at end of file diff --git a/libs/settings.php b/libs/settings.php index f9864ac..ead56c3 100644 --- a/libs/settings.php +++ b/libs/settings.php @@ -64,6 +64,7 @@ class fourthwall_settings { submit_button(); echo ' ' . "\n"; + echo '

To use the fourthwall Embed, use the shortcode [fourthwall]

'; echo '' . "\n"; } diff --git a/libs/shortcode.php b/libs/shortcode.php index 0cea0c2..0906c87 100644 --- a/libs/shortcode.php +++ b/libs/shortcode.php @@ -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 = '
' . PHP_EOL . $store_html . PHP_EOL . '
'; return $store_render;