Changeset 2317298
- Timestamp:
- 06/03/2020 11:41:22 AM (6 years ago)
- Location:
- audiate-me/trunk
- Files:
-
- 3 edited
-
audiate.php (modified) (2 diffs)
-
includes/audiate-widget.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
audiate-me/trunk/audiate.php
r2309548 r2317298 39 39 require_once AUDIATE_PLUGIN_DIR . 'includes/audiate-widget.php'; 40 40 41 if(class_exists('Audiate Admin') ){41 if(class_exists('AudiateWidget') ){ 42 42 $audiateWidget = new AudiateWidget(); 43 43 } … … 48 48 return $links; 49 49 } 50 51 function getShortCode() { 52 53 global $audiateWidget; 54 55 return $audiateWidget->get_code(); 56 } 50 57 $plugin = plugin_basename(__FILE__); 51 58 add_filter("plugin_action_links_$plugin", 'my_plugin_settings_link' ); -
audiate-me/trunk/includes/audiate-widget.php
r2308766 r2317298 90 90 if(isset($this->options['widget_id_0'])) { 91 91 add_filter('the_content', array($this, 'add_code_to_post_title'), 0 ); 92 add_shortcode('audiate-widget', 'getShortCode'); 92 93 } 94 } 95 96 public function get_code() { 97 return '<div class="audiate-widget"><ins data-ea data-ea-id="'.$this->options['widget_id_0'].'"></ins> 98 <script async src=\'https://cdn.audiate.me/audio/widgets/Loader.js\'></script></div>'; 93 99 } 94 100 … … 100 106 if (get_post_type() === 'post' && is_single()) { 101 107 102 $widget = '<div class="audiate-widget"><ins data-ea data-ea-id="'.$this->options['widget_id_0'].'"></ins> 103 <script async src=\'https://cdn.audiate.me/audio/widgets/Loader.js\'></script></div>'; 108 $widget = $this->get_code(); 104 109 105 110 if ($this->options['show_on_all_posts_1'] === 'yes') { -
audiate-me/trunk/readme.txt
r2308730 r2317298 6 6 License URI: http://www.gnu.org/licenses/gpl-2.0.html 7 7 Tested up to: 5.4 8 Stable tag: 1.0.1 8 9 9 10 Elevate Your Content with Audio. Transform your content into audio to reach a larger audience with our Text-to-Speech widget. 10 11 11 12 == Description == 12 Audiate.Me plugin enables advanced audio widgets for WordPress publishers with seamless integration. 13 =AUDIATE.ME GIVES YOUR STORY A VOICE= 14 Our content extension tool helps online publishers automate the process of transforming existing text into audio content. Consumers are able to enjoy more accessible audio content without compromising quality. 15 Audiate.me enriches your content by adding the native Text-to-Speech widget in line within the content that the user is consuming, allowing for a seamless functionality. 13 16 14 Audiate.Me helps publishers automate the process of transforming existing content into audio, making it more accessible to their users by utilizing advanced AI-based technology to engage, grow, and monetize their audience.15 The plugin will automatically place the text-to-speech widget on your WP pages. You can either upload the widget on all pages, or on select WP pages.16 17 17 **To start using Audiate.me:** 18 1. Create a free account at: <https://audiate.me/dashboard> 19 2. Edit your user profile and add your website’s URL.20 3. Go to 'My Widgets' and create a new widget by clicking on the “+” symbol.18 =WHY AUDIATE.ME?= 19 Nowadays, digital content consumers are multi-taskers, have short attention spans, and are easily distracted. Podcasts and audio content consumption are on the rise - and are often costly. 20 Digital content creators have archives full of valuable, and relevant content that’s not being accessed or utilized. Creating an audio version will refresh content, and increase your story’s distribution. Content creators are eager to adapt in order to meet the needs of their consumers, and to reach new audiences. 21 Audiate.me introduces a perfect solution. Extend your content with our technology, for FREE. 21 22 22 **To use Audiate.me on your WordPress website:** 23 1. Install the Audiate.me plugin and activate it. 24 2. Go to [Audiate.me](https://Audiate.me) website, login, navigate to \’My Widgets\’ page and select a widget. 25 3. Copy the widget id from the URL and paste it in your WordPress at settings -> audiate 26 4. Choose whether to show the widget on all posts or only on selected ones. 23 =HOW DOES IT WORK?= 24 1. Create a free account at: https://audiate.me 25 2. Edit your user profile and add your site\'s URL. 26 3. Create a new widget 27 27 28 For support please contact us at: <support@audiate.me> 28 =AUDIATE.ME IN WORDPRESS= 29 1. Install the Audiate.me plugin and activate it 30 2. Go to https://Audiate.me website, login, navigate to \'My Widgets\' page and select a widget. 31 3. Copy the widget id from the URL and paste it in your WordPress at settings -> audiate 32 4. Choose whether to show the widget on all posts or only on selected ones. 29 33 34 =SHORT CODE= 35 Another way to display the widget in posts or pages is to ues Wordpress shortcode. 36 Simply paste [audiate-widget] in your text.
Note: See TracChangeset
for help on using the changeset viewer.