Changeset 3443319
- Timestamp:
- 01/20/2026 02:01:52 PM (2 months ago)
- Location:
- trinity-audio/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
inc/common.php (modified) (1 diff)
-
inc/constants.php (modified) (2 diffs)
-
inc/templates.php (modified) (4 diffs)
-
trinity.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trinity-audio/trunk/README.txt
r3442287 r3443319 174 174 == Changelog == 175 175 176 = 5.25.1 = 177 *Release Date - Jan 20, 2026* 178 * Updated banner texts 179 176 180 = 5.25.0 = 177 181 *Release Date - Jan 19, 2026* -
trinity-audio/trunk/inc/common.php
r3430436 r3443319 468 468 function trinity_audio_ajax_remove_post_banner() { 469 469 check_ajax_referer('remove_post_banner_action', TRINITY_AUDIO_AJAX_NONCE_NAME); 470 471 update_option(TRINITY_AUDIO_REMOVE_POST_BANNER, '0'); 470 update_option(TRINITY_AUDIO_REMOVE_POST_BANNER, time()); 472 471 } 473 472 -
trinity-audio/trunk/inc/constants.php
r3371934 r3443319 29 29 30 30 const BREAK_MACRO = '⏸'; 31 const TRINITY_AUDIO_BANNER_TTL_SECONDS = 7 * 24 * 60 * 60; 31 32 const BLOCK_MACRO = '▇'; 32 33 … … 114 115 const TRINITY_AUDIO_FEEDBACK_MESSAGE = 'trinity_audio_feedback_message'; 115 116 116 const TRINITY_AUDIO_PACKAGES_DATA = array(117 'Free' => array(118 'translation' => 'No',119 'description' => 'For blog and content creators with up to 5 articles per month',120 'player_features' => 'No',121 'support' => 'No',122 'dashboard' => 'No'123 ),124 'Wordpress' => array(125 'translation' => 'No',126 'description' => 'For blog and content creators with up to 5 articles per month',127 'player_features' => 'No',128 'support' => 'No',129 'dashboard' => 'No'130 ),131 'Basic' => array(132 'translation' => 'Yes',133 'description' => 'Perfect for Blogs & Small publications',134 'player_features' => 'Basic',135 'support' => 'Up to 2 business days',136 'dashboard' => 'No'137 ),138 'Standard' => array(139 'translation' => 'Yes',140 'description' => 'Perfect for medium publications with larger content volume',141 'player_features' => 'Upgraded',142 'support' => 'Up to 1 business days',143 'dashboard' => 'Yes'144 ),145 'Premium' => array(146 'translation' => 'Yes',147 'description' => 'A custom solution for all publications',148 'player_features' => 'Custom',149 'support' => '24/7',150 'dashboard' => 'Yes'151 ),152 );153 154 117 const TRINITY_AUDIO_POST_MANAGEMENT_SUCCESS_MESSAGES = [ 155 118 'activate-all-posts' => 'Trinity Audio Player enabled for all ##AMOUNT## posts', -
trinity-audio/trunk/inc/templates.php
r3430436 r3443319 54 54 if ($package_name === 'Wordpress') $package_name = 'Free'; 55 55 56 $packageInfo = TRINITY_AUDIO_PACKAGES_DATA[$package_name]; 57 $cap_type = $package_data->capType; 56 $cap_type = $package_data->capType; 58 57 59 58 $result['html'] .= "<div class='plan-banner-wrapper'> … … 69 68 } 70 69 71 $result['html'] .= "<div class='plan-name'>" . esc_html($package_name) . "</div> 72 <div class='description'>" . esc_html($packageInfo['description']) . "</div>"; 70 $result['html'] .= "<div class='plan-name'>" . esc_html($package_name) . "</div>"; 73 71 74 72 if ($cap_type === 'chars') { … … 147 145 <div class="upgrade-odds"> 148 146 <ul> 149 <li>Convert more article</li> 150 <li>Natural voices & accents</li> 151 <li>Edit & customize your audio</li> 147 <li>Get more credits</li> 148 <li>GenAI voices</li> 149 <li>Create podcasts</li> 150 <li>Monetize your content</li> 152 151 </ul> 153 152 </div> … … 179 178 180 179 function trinity_post_management_banner() { 181 $messages = [ 182 "Get additional credits to convert more content into audio each month.", 183 "Create and edit pronunciation rules for accuracy and the highest level of audio experience.", 184 "Get access to premium and natural-sounding AI voices.", 185 "Get access to your personal dashboard with usability analytics.", 186 "Select the player’s theme that best suits your website’s branding elements." 180 $messages = [ 181 "Convert unlimited articles with premium voices and advanced features.", 182 "Get detailed analytics and insights about your audio engagement.", 183 "Access voice cloning and custom pronunciation controls.", 184 "Distribute your audio content to Spotify, Apple, and Google Podcasts.", 185 "Access AI-powered content summaries and background music.", 186 "Clone your own voice for consistent brand narration.", 187 "Add background music and create professional podcast episodes." 187 188 ]; 188 $message = array_rand($messages); 189 $show_banner = get_option(TRINITY_AUDIO_REMOVE_POST_BANNER); 190 191 if ($show_banner !== '0'): ?> 189 $message = array_rand($messages); 190 191 $banner_dismissed_time = get_option(TRINITY_AUDIO_REMOVE_POST_BANNER); 192 $should_show_banner = true; 193 194 if ($banner_dismissed_time) { 195 $should_show_banner = (time() - intval($banner_dismissed_time)) > TRINITY_AUDIO_BANNER_TTL_SECONDS; 196 } 197 198 if ($should_show_banner): ?> 192 199 <div class="container"> 193 200 <div class="header"> -
trinity-audio/trunk/trinity.php
r3442287 r3443319 9 9 * Plugin URI: https://www.trinityaudio.ai/the-trinity-audio-wordpress-plugin-implementation-guide 10 10 * Description: This plugin generates an audio version of the post, for absolutely FREE. You can choose the language and the gender of the voice reading your content. You also have the option to add Trinity Audio's player on select posts or have it audiofy all of your content. In both cases, it only takes a few simple clicks to get it done. The plugin is built through collaboration with the Amazon Polly team. 11 * Version: 5.25. 011 * Version: 5.25.1 12 12 * Author: Trinity Audio 13 13 * Author URI: https://trinityaudio.ai/
Note: See TracChangeset
for help on using the changeset viewer.