Changeset 3253941
- Timestamp:
- 03/11/2025 10:24:39 AM (12 months ago)
- Location:
- custom-feed-for-tiktok
- Files:
-
- 60 added
- 7 edited
-
tags/1.1.5 (added)
-
tags/1.1.5/app (added)
-
tags/1.1.5/app/Application.php (added)
-
tags/1.1.5/app/Hooks (added)
-
tags/1.1.5/app/Hooks/Handlers (added)
-
tags/1.1.5/app/Hooks/Handlers/PlatformHandler.php (added)
-
tags/1.1.5/app/Hooks/Handlers/ShortcodeHandler.php (added)
-
tags/1.1.5/app/Hooks/Handlers/TiktokTemplateHandler.php (added)
-
tags/1.1.5/app/Hooks/actions.php (added)
-
tags/1.1.5/app/Hooks/filters.php (added)
-
tags/1.1.5/app/Http (added)
-
tags/1.1.5/app/Http/Routes (added)
-
tags/1.1.5/app/Http/Routes/api.php (added)
-
tags/1.1.5/app/Services (added)
-
tags/1.1.5/app/Services/Platforms (added)
-
tags/1.1.5/app/Services/Platforms/Feeds (added)
-
tags/1.1.5/app/Services/Platforms/Feeds/Tiktok (added)
-
tags/1.1.5/app/Services/Platforms/Feeds/Tiktok/Config.php (added)
-
tags/1.1.5/app/Services/Platforms/Feeds/Tiktok/Helper.php (added)
-
tags/1.1.5/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php (added)
-
tags/1.1.5/app/Services/Widgets (added)
-
tags/1.1.5/app/Services/Widgets/Beaver (added)
-
tags/1.1.5/app/Services/Widgets/Beaver/BeaverWidget.php (added)
-
tags/1.1.5/app/Services/Widgets/Beaver/TikTok (added)
-
tags/1.1.5/app/Services/Widgets/Beaver/TikTok/TikTokWidget.php (added)
-
tags/1.1.5/app/Services/Widgets/Beaver/TikTok/includes (added)
-
tags/1.1.5/app/Services/Widgets/Beaver/TikTok/includes/frontend.css.php (added)
-
tags/1.1.5/app/Services/Widgets/Beaver/TikTok/includes/frontend.php (added)
-
tags/1.1.5/app/Services/Widgets/ElementorWidget.php (added)
-
tags/1.1.5/app/Services/Widgets/Oxygen (added)
-
tags/1.1.5/app/Services/Widgets/Oxygen/OxygenEl.php (added)
-
tags/1.1.5/app/Services/Widgets/Oxygen/OxygenWidget.php (added)
-
tags/1.1.5/app/Services/Widgets/Oxygen/TikTokWidget.php (added)
-
tags/1.1.5/app/Services/Widgets/TikTokWidget.php (added)
-
tags/1.1.5/app/Traits (added)
-
tags/1.1.5/app/Traits/LoadView.php (added)
-
tags/1.1.5/app/Views (added)
-
tags/1.1.5/app/Views/admin (added)
-
tags/1.1.5/app/Views/public (added)
-
tags/1.1.5/app/Views/public/feeds-templates (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements/author-name.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements/author.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements/description.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements/icon.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements/item-parent-wrapper.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements/load-more.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/elements/media.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/footer.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/header.php (added)
-
tags/1.1.5/app/Views/public/feeds-templates/tiktok/template1.php (added)
-
tags/1.1.5/app/index.php (added)
-
tags/1.1.5/custom-feed-for-tiktok-boot.php (added)
-
tags/1.1.5/custom-feed-for-tiktok.php (added)
-
tags/1.1.5/index.php (added)
-
tags/1.1.5/language (added)
-
tags/1.1.5/language/custom-feed-for-tiktok.pot (added)
-
tags/1.1.5/language/index.php (added)
-
tags/1.1.5/readme.txt (added)
-
trunk/app/Hooks/Handlers/ShortcodeHandler.php (modified) (1 diff)
-
trunk/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php (modified) (3 diffs)
-
trunk/app/Services/Widgets/Oxygen/TikTokWidget.php (modified) (20 diffs)
-
trunk/custom-feed-for-tiktok-boot.php (modified) (1 diff)
-
trunk/custom-feed-for-tiktok.php (modified) (1 diff)
-
trunk/language/custom-feed-for-tiktok.pot (modified) (32 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-feed-for-tiktok/trunk/app/Hooks/Handlers/ShortcodeHandler.php
r3242615 r3253941 65 65 $create_time = Arr::get($feed, 'created_at'); 66 66 /* translators: %s: Human-readable time difference. */ 67 $feeds[$index]['time_ago'] = sprintf(__('%s ago' ), human_time_diff($create_time));67 $feeds[$index]['time_ago'] = sprintf(__('%s ago', 'custom-feed-for-tiktok'), human_time_diff($create_time)); 68 68 } 69 69 $shortcodeHandler->makePopupModal($feeds, $settings['header'], $settings['feed_settings'], $templateId, $platform); -
custom-feed-for-tiktok/trunk/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php
r3164196 r3253941 358 358 359 359 if (empty($errorMessage)) { 360 // translators: %s: Account username or display name 360 361 $errorMessage = sprintf(__('There has been a problem with your account (%s). Please reconnect your account.', 'custom-feed-for-tiktok'), $userName); 361 362 } 362 363 363 364 if($has_account_error_code === 401){ 365 // translators: %s: Account username or display name 364 366 $errorMessage = sprintf(__('There has been a problem with your account (%s). The user has not authorized application or revoked permission. Please reconnect your account.', 'custom-feed-for-tiktok'), $userName); 365 367 } 366 368 367 369 if($has_account_error_code === 'invalid_grant'){ 370 // translators: %s: Account username or display name 368 371 $errorMessage = sprintf(__('There has been a problem with your account(%s). Your access token is invalid has expired. Please reconnect your account. Otherwise, the feed will no longer work.', 'custom-feed-for-tiktok'), $userName); 369 372 } … … 425 428 $settings['dynamic']['items'] = []; 426 429 $settings['dynamic']['header'] = []; 427 $settings['dynamic']['error_message']['error_message'] = __('TikTok feeds are not being displayed due to the "optimize images" option being disabled. If the GDPR settings are set to "Yes," it is necessary to enable the optimize images option.', ' wp-social-reviews');430 $settings['dynamic']['error_message']['error_message'] = __('TikTok feeds are not being displayed due to the "optimize images" option being disabled. If the GDPR settings are set to "Yes," it is necessary to enable the optimize images option.', 'custom-feed-for-tiktok'); 428 431 } 429 432 … … 539 542 } 540 543 else{ 541 $base_error_message = __('The account ID(%s) associated with your configuration settings has been deleted. To view your feed from this account, please reauthorize and reconnect it.', 'wp-social-reviews'); 544 // translators: %s: Account ID linked to the configuration 545 $base_error_message = __('The account ID (%s) linked to your configuration has been deleted. To continue displaying your feed from this account, please reauthorize and reconnect it in the configuration settings. Then, go to the template editor, navigate to Source → Select Account, and choose the account again.', 'custom-feed-for-tiktok'); 542 546 if ($multipleAccountsConnected) { 543 $error_message = __('There are multiple accounts being used on this template. ', ' wp-social-reviews') . sprintf($base_error_message, $id);547 $error_message = __('There are multiple accounts being used on this template. ', 'custom-feed-for-tiktok') . sprintf($base_error_message, $id); 544 548 } else { 545 549 $error_message = sprintf($base_error_message, $id); -
custom-feed-for-tiktok/trunk/app/Services/Widgets/Oxygen/TikTokWidget.php
r3049639 r3253941 38 38 array( 39 39 'type' => 'dropdown', 40 'name' => __('Select Template' , " wp-social-reviews"),40 'name' => __('Select Template' , "custom-feed-for-tiktok"), 41 41 'slug' => 'wpsr_tiktok', 42 42 'value' => $templates, … … 50 50 * Header 51 51 *****************************/ 52 $tiktok_header_section = $this->addControlSection( "wpsr_tiktok_header_section", __("Header", " wp-social-reviews"), "assets/icon.png", $this );52 $tiktok_header_section = $this->addControlSection( "wpsr_tiktok_header_section", __("Header", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 53 53 54 54 /***************************** 55 55 * Header username 56 56 *****************************/ 57 $tiktok_header_un = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_username_section", __("Username", " wp-social-reviews"), "assets/icon.png", $this );57 $tiktok_header_un = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_username_section", __("Username", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 58 58 $tiktok_header_un->addStyleControls( 59 59 array( 60 60 array( 61 "name" => __('Color', " wp-social-reviews"),61 "name" => __('Color', "custom-feed-for-tiktok"), 62 62 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-name-wrapper a', 63 63 "property" => 'color', 64 64 ), 65 65 array( 66 "name" => __('Font Size', " wp-social-reviews"),66 "name" => __('Font Size', "custom-feed-for-tiktok"), 67 67 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-name-wrapper a', 68 68 "property" => 'font-size', … … 70 70 ), 71 71 array( 72 "name" => __('Font Weight', " wp-social-reviews"),72 "name" => __('Font Weight', "custom-feed-for-tiktok"), 73 73 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-name-wrapper a', 74 74 "property" => 'font-weight', 75 75 ), 76 76 array( 77 "name" => __('Line Height', " wp-social-reviews"),77 "name" => __('Line Height', "custom-feed-for-tiktok"), 78 78 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-name-wrapper a', 79 79 "property" => 'line-height', 80 80 ), 81 81 array( 82 "name" => __('Bottom Spacing', " wp-social-reviews"),82 "name" => __('Bottom Spacing', "custom-feed-for-tiktok"), 83 83 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-name-wrapper a', 84 84 "property" => 'margin-bottom', … … 92 92 * Header description 93 93 *****************************/ 94 $tiktok_header_des = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_des_section", __("Description", " wp-social-reviews"), "assets/icon.png", $this );94 $tiktok_header_des = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_des_section", __("Description", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 95 95 $tiktok_header_des->addStyleControls( 96 96 array( 97 97 array( 98 "name" => __('Color', " wp-social-reviews"),98 "name" => __('Color', "custom-feed-for-tiktok"), 99 99 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-description p', 100 100 "property" => 'color', 101 101 ), 102 102 array( 103 "name" => __('Font Size', " wp-social-reviews"),103 "name" => __('Font Size', "custom-feed-for-tiktok"), 104 104 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-description p', 105 105 "property" => 'font-size', … … 107 107 ), 108 108 array( 109 "name" => __('Font Weight', " wp-social-reviews"),109 "name" => __('Font Weight', "custom-feed-for-tiktok"), 110 110 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-description p', 111 111 "property" => 'font-weight', 112 112 ), 113 113 array( 114 "name" => __('Line Height', " wp-social-reviews"),114 "name" => __('Line Height', "custom-feed-for-tiktok"), 115 115 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-info-description p', 116 116 "property" => 'line-height', … … 122 122 * Header statistics 123 123 *****************************/ 124 $tiktok_header_stat = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_stat_section", __("Statistics", " wp-social-reviews"), "assets/icon.png", $this );124 $tiktok_header_stat = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_stat_section", __("Statistics", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 125 125 $tiktok_header_stat->addStyleControls( 126 126 array( 127 127 array( 128 "name" => __('Text Color', " wp-social-reviews"),128 "name" => __('Text Color', "custom-feed-for-tiktok"), 129 129 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-statistics span', 130 130 "property" => 'color', 131 131 ), 132 132 array( 133 "name" => __('Font Size', " wp-social-reviews"),133 "name" => __('Font Size', "custom-feed-for-tiktok"), 134 134 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-statistics span', 135 135 "property" => 'font-size', … … 137 137 ), 138 138 array( 139 "name" => __('Font Weight', " wp-social-reviews"),139 "name" => __('Font Weight', "custom-feed-for-tiktok"), 140 140 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-statistics span', 141 141 "property" => 'font-weight', 142 142 ), 143 143 array( 144 "name" => __('Line Height', " wp-social-reviews"),144 "name" => __('Line Height', "custom-feed-for-tiktok"), 145 145 "selector" => '.wpsr-tiktok-feed-header .wpsr-tiktok-feed-user-info-wrapper .wpsr-tiktok-feed-user-info-head .wpsr-tiktok-feed-header-info .wpsr-tiktok-feed-user-info .wpsr-tiktok-feed-user-statistics span', 146 146 "property" => 'line-height', … … 152 152 * Header Box 153 153 *****************************/ 154 $tiktok_header_box = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_box_section", __("Box", " wp-social-reviews"), "assets/icon.png", $this );154 $tiktok_header_box = $tiktok_header_section->addControlSection( "wpsr_tiktok_header_box_section", __("Box", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 155 155 $tiktok_header_box->addStyleControls( 156 156 array( … … 195 195 * Content 196 196 *****************************/ 197 $tiktok_content_section = $this->addControlSection( "wpsr_tiktok_content_section", __("Content", " wp-social-reviews"), "assets/icon.png", $this );198 $tiktok_content_section->typographySection( __('Post Text' ), '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-feed-description-link .wpsr-feed-description-text', $this );197 $tiktok_content_section = $this->addControlSection( "wpsr_tiktok_content_section", __("Content", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 198 $tiktok_content_section->typographySection( __('Post Text', 'custom-feed-for-tiktok'), '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-feed-description-link .wpsr-feed-description-text', $this ); 199 199 $tiktok_content_section->addPreset( 200 200 "padding", 201 201 "wpsr_tiktok_content_padding", 202 __("Padding", " wp-social-reviews"),202 __("Padding", "custom-feed-for-tiktok"), 203 203 '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-feed-description-link .wpsr-feed-description-text' 204 204 )->whiteList(); 205 205 206 $tiktok_author_section = $tiktok_content_section->addControlSection( "wpsr_tiktok_author_section", __("Author", " wp-social-reviews"), "assets/icon.png", $this );206 $tiktok_author_section = $tiktok_content_section->addControlSection( "wpsr_tiktok_author_section", __("Author", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 207 207 $tiktok_author_section->addStyleControls( 208 208 array( 209 209 array( 210 "name" => __('Color', " wp-social-reviews"),210 "name" => __('Color', "custom-feed-for-tiktok"), 211 211 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-author-name', 212 212 "property" => 'color', 213 213 ), 214 214 array( 215 "name" => __('Font Size', " wp-social-reviews"),215 "name" => __('Font Size', "custom-feed-for-tiktok"), 216 216 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-author-name', 217 217 "property" => 'font-size', … … 219 219 ), 220 220 array( 221 "name" => __('Font Weight', " wp-social-reviews"),221 "name" => __('Font Weight', "custom-feed-for-tiktok"), 222 222 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-author-name', 223 223 "property" => 'font-weight', 224 224 ), 225 225 array( 226 "name" => __('Line Height', " wp-social-reviews"),226 "name" => __('Line Height', "custom-feed-for-tiktok"), 227 227 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-author-name', 228 228 "property" => 'line-height', 229 229 ), 230 230 array( 231 "name" => __('Bottom Spacing', " wp-social-reviews"),231 "name" => __('Bottom Spacing', "custom-feed-for-tiktok"), 232 232 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-author-name', 233 233 "property" => 'margin-bottom', … … 238 238 ); 239 239 240 $tiktok_date_section = $tiktok_content_section->addControlSection( "wpsr_tiktok_date_section", __("Date", " wp-social-reviews"), "assets/icon.png", $this );240 $tiktok_date_section = $tiktok_content_section->addControlSection( "wpsr_tiktok_date_section", __("Date", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 241 241 $tiktok_date_section->addStyleControls( 242 242 array( 243 243 array( 244 "name" => __('Color', " wp-social-reviews"),244 "name" => __('Color', "custom-feed-for-tiktok"), 245 245 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-time', 246 246 "property" => 'color', 247 247 ), 248 248 array( 249 "name" => __('Font Size', " wp-social-reviews"),249 "name" => __('Font Size', "custom-feed-for-tiktok"), 250 250 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-time', 251 251 "property" => 'font-size', … … 253 253 ), 254 254 array( 255 "name" => __('Font Weight', " wp-social-reviews"),255 "name" => __('Font Weight', "custom-feed-for-tiktok"), 256 256 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-time', 257 257 "property" => 'font-weight', 258 258 ), 259 259 array( 260 "name" => __('Line Height', " wp-social-reviews"),260 "name" => __('Line Height', "custom-feed-for-tiktok"), 261 261 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-time', 262 262 "property" => 'line-height', 263 263 ), 264 264 array( 265 "name" => __('Bottom Spacing', " wp-social-reviews"),265 "name" => __('Bottom Spacing', "custom-feed-for-tiktok"), 266 266 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-time', 267 267 "property" => 'margin-bottom', … … 272 272 ); 273 273 274 $tiktok_statistics_count_section = $tiktok_content_section->addControlSection( "wpsr_tiktok_statistics_count_section", __("Statistics Count", " wp-social-reviews"), "assets/icon.png", $this );274 $tiktok_statistics_count_section = $tiktok_content_section->addControlSection( "wpsr_tiktok_statistics_count_section", __("Statistics Count", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 275 275 $tiktok_statistics_count_section->addStyleControls( 276 276 array( 277 277 array( 278 "name" => __('Color', " wp-social-reviews"),278 "name" => __('Color', "custom-feed-for-tiktok"), 279 279 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-statistics .wpsr-tiktok-feed-reaction-count', 280 280 "property" => 'color', 281 281 ), 282 282 array( 283 "name" => __('Font Size', " wp-social-reviews"),283 "name" => __('Font Size', "custom-feed-for-tiktok"), 284 284 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-statistics .wpsr-tiktok-feed-reaction-count', 285 285 "property" => 'font-size', … … 287 287 ), 288 288 array( 289 "name" => __('Font Weight', " wp-social-reviews"),289 "name" => __('Font Weight', "custom-feed-for-tiktok"), 290 290 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-statistics .wpsr-tiktok-feed-reaction-count', 291 291 "property" => 'font-weight', 292 292 ), 293 293 array( 294 "name" => __('Line Height', " wp-social-reviews"),294 "name" => __('Line Height', "custom-feed-for-tiktok"), 295 295 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-statistics .wpsr-tiktok-feed-reaction-count', 296 296 "property" => 'line-height', 297 297 ), 298 298 array( 299 "name" => __('Bottom Spacing', " wp-social-reviews"),299 "name" => __('Bottom Spacing', "custom-feed-for-tiktok"), 300 300 "selector" => '.wpsr-tiktok-feed-wrapper .wpsr-tiktok-feed-item .wpsr-tiktok-feed-statistics .wpsr-tiktok-feed-reaction-count', 301 301 "property" => 'margin-bottom', … … 310 310 *follow btn 311 311 *****************************/ 312 $tiktok_follow_section = $this->addControlSection( "wpsr_tiktok_follow_section", __("Follow Button", " wp-social-reviews"), "assets/icon.png", $this );312 $tiktok_follow_section = $this->addControlSection( "wpsr_tiktok_follow_section", __("Follow Button", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 313 313 $tiktok_follow_section_fz = $tiktok_follow_section->addStyleControl( 314 314 array( 315 "name" => __('Font Size', " wp-social-reviews"),315 "name" => __('Font Size', "custom-feed-for-tiktok"), 316 316 "selector" => '.wpsr-tiktok-feed-follow-button-group .wpsr-tiktok-feed-btn a', 317 317 "property" => 'font-size', … … 350 350 * Pagination 351 351 *****************************/ 352 $pagination_section = $this->addControlSection( "wpsr_tiktok_pagination_section", __("Pagination", " wp-social-reviews"), "assets/icon.png", $this );353 $pagination_section->typographySection( __('Typography' ), '.wpsr_more', $this );352 $pagination_section = $this->addControlSection( "wpsr_tiktok_pagination_section", __("Pagination", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 353 $pagination_section->typographySection( __('Typography', 'custom-feed-for-tiktok'), '.wpsr_more', $this ); 354 354 $pagination_section->addStyleControls( 355 355 array( … … 376 376 )->whiteList(); 377 377 378 $pagination_section_border = $pagination_section->addControlSection( "wpsr_tiktok_pagination_border_section", __("Border", " wp-social-reviews"), "assets/icon.png", $this );378 $pagination_section_border = $pagination_section->addControlSection( "wpsr_tiktok_pagination_border_section", __("Border", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 379 379 $pagination_section_border->addPreset( 380 380 "border", … … 394 394 * Box 395 395 *****************************/ 396 $tiktok_box_section = $this->addControlSection( "wpsr_tiktok_box_section", __("Item Box", " wp-social-reviews"), "assets/icon.png", $this );396 $tiktok_box_section = $this->addControlSection( "wpsr_tiktok_box_section", __("Item Box", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 397 397 $selector = '.wpsr-tiktok-feed-item .wpsr-tiktok-feed-inner'; 398 398 $tiktok_box_section->addStyleControls( … … 405 405 ) 406 406 ); 407 $tiktok_box_sp = $tiktok_box_section->addControlSection( "wpsr_tiktok_box_sp_section", __("Spacing", " wp-social-reviews"), "assets/icon.png", $this );407 $tiktok_box_sp = $tiktok_box_section->addControlSection( "wpsr_tiktok_box_sp_section", __("Spacing", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 408 408 $tiktok_box_sp->addPreset( 409 409 "padding", … … 420 420 )->whiteList(); 421 421 422 $tiktok_box_border = $tiktok_box_section->addControlSection( "wpsr_tiktok_box_border_section", __("Border", " wp-social-reviews"), "assets/icon.png", $this );422 $tiktok_box_border = $tiktok_box_section->addControlSection( "wpsr_tiktok_box_border_section", __("Border", "custom-feed-for-tiktok"), "assets/icon.png", $this ); 423 423 $tiktok_box_border->addPreset( 424 424 "border", -
custom-feed-for-tiktok/trunk/custom-feed-for-tiktok-boot.php
r3242615 r3253941 6 6 !defined('WPINC') && die; 7 7 8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1. 4');8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1.5'); 9 9 define('CUSTOM_FEED_FOR_TIKTOK', true); 10 10 define('CUSTOM_FEED_FOR_TIKTOK_URL', plugin_dir_url(__FILE__)); -
custom-feed-for-tiktok/trunk/custom-feed-for-tiktok.php
r3242615 r3253941 4 4 Plugin URI: https://github.com/WPManageNinja/custom-feed-for-tiktok 5 5 Description: Create eye-catchy and responsive TikTok feed on your WordPress website. 6 Version: 1.1. 46 Version: 1.1.5 7 7 Author: Social Feed - WP Social Ninja Team 8 8 Author URI: https://wpsocialninja.com/platforms/tiktok-feed/ -
custom-feed-for-tiktok/trunk/language/custom-feed-for-tiktok.pot
r3153967 r3253941 4 4 "Project-Id-Version: Custom Feed for TikTok\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 202 4-09-18 09:32+0000\n"6 "POT-Creation-Date: 2025-03-11 10:10+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 17 17 "X-Domain: custom-feed-for-tiktok" 18 18 19 #. %s: Human-readable time difference. 20 #: app/Hooks/Handlers/ShortcodeHandler.php:67 21 #, php-format 22 msgid "%s ago" 23 msgstr "" 24 19 25 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:98 20 26 msgid "Account Name Color" … … 26 32 27 33 #: app/Services/Widgets/TikTokWidget.php:265 34 #: app/Services/Widgets/Oxygen/TikTokWidget.php:206 28 35 #: app/Services/Platforms/Feeds/Tiktok/Config.php:204 29 36 msgid "Author" … … 58 65 59 66 #: app/Services/Widgets/Oxygen/TikTokWidget.php:182 67 #: app/Services/Widgets/Oxygen/TikTokWidget.php:378 60 68 #: app/Services/Widgets/Oxygen/TikTokWidget.php:382 69 #: app/Services/Widgets/Oxygen/TikTokWidget.php:422 61 70 #: app/Services/Widgets/Oxygen/TikTokWidget.php:426 62 71 msgid "Border" … … 74 83 #: app/Services/Widgets/TikTokWidget.php:393 75 84 #: app/Services/Widgets/TikTokWidget.php:441 85 #: app/Services/Widgets/Oxygen/TikTokWidget.php:82 86 #: app/Services/Widgets/Oxygen/TikTokWidget.php:231 87 #: app/Services/Widgets/Oxygen/TikTokWidget.php:265 88 #: app/Services/Widgets/Oxygen/TikTokWidget.php:299 76 89 #: app/Services/Platforms/Feeds/Tiktok/Config.php:137 77 90 #: app/Services/Platforms/Feeds/Tiktok/Config.php:156 … … 80 93 81 94 #: app/Services/Widgets/TikTokWidget.php:489 95 #: app/Services/Widgets/Oxygen/TikTokWidget.php:154 82 96 #: app/Services/Platforms/Feeds/Tiktok/Config.php:184 83 97 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:350 … … 89 103 msgstr "" 90 104 91 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php: 999105 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:1010 92 106 msgid "Cache cleared successfully!" 93 107 msgstr "" … … 102 116 103 117 #: app/Services/Widgets/TikTokWidget.php:468 118 #: app/Services/Widgets/Oxygen/TikTokWidget.php:61 119 #: app/Services/Widgets/Oxygen/TikTokWidget.php:98 120 #: app/Services/Widgets/Oxygen/TikTokWidget.php:210 121 #: app/Services/Widgets/Oxygen/TikTokWidget.php:244 122 #: app/Services/Widgets/Oxygen/TikTokWidget.php:278 104 123 #: app/Services/Widgets/Oxygen/TikTokWidget.php:327 105 124 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:208 … … 110 129 111 130 #: app/Services/Widgets/TikTokWidget.php:257 131 #: app/Services/Widgets/Oxygen/TikTokWidget.php:197 112 132 #: app/Services/Platforms/Feeds/Tiktok/Config.php:201 113 133 msgid "Content" … … 122 142 msgstr "" 123 143 144 #: app/Services/Widgets/Oxygen/TikTokWidget.php:240 145 msgid "Date" 146 msgstr "" 147 124 148 #: app/Services/Widgets/TikTokWidget.php:302 125 149 msgid "Date Color" … … 127 151 128 152 #: app/Services/Widgets/TikTokWidget.php:412 153 #: app/Services/Widgets/Oxygen/TikTokWidget.php:94 129 154 #: app/Services/Platforms/Feeds/Tiktok/Config.php:149 130 155 msgid "Description" … … 140 165 141 166 #: app/Services/Widgets/TikTokWidget.php:199 167 #: app/Services/Widgets/Oxygen/TikTokWidget.php:312 142 168 #: app/Services/Platforms/Feeds/Tiktok/Config.php:284 143 169 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:262 … … 149 175 msgstr "" 150 176 177 #: app/Services/Widgets/Oxygen/TikTokWidget.php:66 178 #: app/Services/Widgets/Oxygen/TikTokWidget.php:103 179 #: app/Services/Widgets/Oxygen/TikTokWidget.php:133 180 #: app/Services/Widgets/Oxygen/TikTokWidget.php:215 181 #: app/Services/Widgets/Oxygen/TikTokWidget.php:249 182 #: app/Services/Widgets/Oxygen/TikTokWidget.php:283 183 #: app/Services/Widgets/Oxygen/TikTokWidget.php:315 184 msgid "Font Size" 185 msgstr "" 186 187 #: app/Services/Widgets/Oxygen/TikTokWidget.php:72 188 #: app/Services/Widgets/Oxygen/TikTokWidget.php:109 189 #: app/Services/Widgets/Oxygen/TikTokWidget.php:139 190 #: app/Services/Widgets/Oxygen/TikTokWidget.php:221 191 #: app/Services/Widgets/Oxygen/TikTokWidget.php:255 192 #: app/Services/Widgets/Oxygen/TikTokWidget.php:289 193 msgid "Font Weight" 194 msgstr "" 195 151 196 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:66 152 197 msgid "General" … … 154 199 155 200 #: app/Services/Widgets/TikTokWidget.php:356 201 #: app/Services/Widgets/Oxygen/TikTokWidget.php:52 156 202 #: app/Services/Platforms/Feeds/Tiktok/Config.php:127 157 203 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:84 … … 167 213 msgstr "" 168 214 215 #. URI of the plugin 216 msgid "https://github.com/WPManageNinja/custom-feed-for-tiktok" 217 msgstr "" 218 169 219 #. Author URI of the plugin 170 msgid "https://github.com/devutpol"171 msgstr ""172 173 #. URI of the plugin174 220 msgid "https://wpsocialninja.com/platforms/tiktok-feed/" 175 221 msgstr "" 176 222 177 223 #: app/Services/Widgets/TikTokWidget.php:557 224 #: app/Services/Widgets/Oxygen/TikTokWidget.php:396 178 225 #: app/Services/Platforms/Feeds/Tiktok/Config.php:334 179 226 msgid "Item Box" … … 182 229 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:146 183 230 msgid "Likes Counter Typography" 231 msgstr "" 232 233 #: app/Services/Widgets/Oxygen/TikTokWidget.php:77 234 #: app/Services/Widgets/Oxygen/TikTokWidget.php:114 235 #: app/Services/Widgets/Oxygen/TikTokWidget.php:144 236 #: app/Services/Widgets/Oxygen/TikTokWidget.php:226 237 #: app/Services/Widgets/Oxygen/TikTokWidget.php:260 238 #: app/Services/Widgets/Oxygen/TikTokWidget.php:294 239 msgid "Line Height" 184 240 msgstr "" 185 241 … … 209 265 #: app/Services/Widgets/TikTokWidget.php:587 210 266 #: app/Services/Widgets/Oxygen/TikTokWidget.php:168 267 #: app/Services/Widgets/Oxygen/TikTokWidget.php:202 211 268 #: app/Services/Widgets/Oxygen/TikTokWidget.php:345 212 269 #: app/Services/Widgets/Oxygen/TikTokWidget.php:367 … … 216 273 217 274 #: app/Services/Widgets/TikTokWidget.php:101 275 #: app/Services/Widgets/Oxygen/TikTokWidget.php:352 218 276 #: app/Services/Platforms/Feeds/Tiktok/Config.php:309 219 277 msgid "Pagination" … … 235 293 236 294 #: app/Services/Widgets/TikTokWidget.php:323 295 #: app/Services/Widgets/Oxygen/TikTokWidget.php:198 237 296 #: app/Services/Platforms/Feeds/Tiktok/Config.php:236 238 297 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:204 … … 257 316 msgstr "" 258 317 318 #: app/Services/Widgets/Oxygen/TikTokWidget.php:40 319 msgid "Select Template" 320 msgstr "" 321 259 322 #. Author of the plugin 260 323 msgid "Social Feed - WP Social Ninja Team" … … 266 329 msgstr "" 267 330 268 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:9 25331 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:933 269 332 msgid "Something went wrong" 270 333 msgstr "" 271 334 335 #: app/Services/Widgets/Oxygen/TikTokWidget.php:407 336 msgid "Spacing" 337 msgstr "" 338 272 339 #: app/Services/Widgets/TikTokWidget.php:460 340 #: app/Services/Widgets/Oxygen/TikTokWidget.php:124 273 341 #: app/Services/Platforms/Feeds/Tiktok/Config.php:168 274 342 msgid "Statistics" … … 279 347 msgstr "" 280 348 349 #: app/Services/Widgets/Oxygen/TikTokWidget.php:274 281 350 #: app/Services/Platforms/Feeds/Tiktok/Config.php:252 282 351 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:238 … … 288 357 msgstr "" 289 358 290 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:4 53359 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:460 291 360 msgid "Success" 292 361 msgstr "" … … 296 365 msgstr "" 297 366 298 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:48 2367 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:489 299 368 msgid "Template Saved Successfully!!" 300 369 msgstr "" … … 305 374 #: app/Services/Widgets/TikTokWidget.php:372 306 375 #: app/Services/Widgets/TikTokWidget.php:420 376 #: app/Services/Widgets/Oxygen/TikTokWidget.php:128 307 377 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:160 308 378 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:184 … … 323 393 msgstr "" 324 394 325 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:360 395 #. %s: Account ID linked to the configuration 396 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:545 397 #, php-format 398 msgid "" 399 "The account ID (%s) linked to your configuration has been deleted. To " 400 "continue displaying your feed from this account, please reauthorize and " 401 "reconnect it in the configuration settings. Then, go to the template editor, " 402 "navigate to Source → Select Account, and choose the account again." 403 msgstr "" 404 405 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:547 406 msgid "There are multiple accounts being used on this template. " 407 msgstr "" 408 409 #. %s: Account username or display name 410 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:361 326 411 #, php-format 327 412 msgid "" … … 330 415 msgstr "" 331 416 332 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:364 417 #. %s: Account username or display name 418 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:366 333 419 #, php-format 334 420 msgid "" … … 337 423 msgstr "" 338 424 339 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:368 425 #. %s: Account username or display name 426 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:371 340 427 #, php-format 341 428 msgid "" … … 352 439 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:34 353 440 msgid "TikTok Feeds" 441 msgstr "" 442 443 #: app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php:430 444 msgid "" 445 "TikTok feeds are not being displayed due to the \"optimize images\" option " 446 "being disabled. If the GDPR settings are set to \"Yes,\" it is necessary to " 447 "enable the optimize images option." 354 448 msgstr "" 355 449 … … 362 456 #: app/Services/Widgets/TikTokWidget.php:433 363 457 #: app/Services/Widgets/TikTokWidget.php:481 458 #: app/Services/Widgets/Oxygen/TikTokWidget.php:353 364 459 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:170 365 460 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:194 … … 376 471 msgstr "" 377 472 473 #: app/Services/Widgets/Oxygen/TikTokWidget.php:57 474 msgid "Username" 475 msgstr "" 476 378 477 #: app/Services/Widgets/Beaver/TikTok/TikTokWidget.php:36 379 478 msgid "WP Social Ninja" … … 384 483 msgstr "" 385 484 386 #: app/Views/public/feeds-templates/tiktok/template1.php:1 6485 #: app/Views/public/feeds-templates/tiktok/template1.php:17 387 486 msgid "You need to upgrade to pro to use this feature." 388 487 msgstr "" -
custom-feed-for-tiktok/trunk/readme.txt
r3242615 r3253941 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 1.1. 47 Stable tag: 1.1.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 184 184 185 185 == Changelog == 186 1.1.5 187 - Added missing text domains for better translation support. 188 - Included string comments for translators. 189 186 190 1.1.4 187 191 - Fixed TikTok feed display issue on mobile devices
Note: See TracChangeset
for help on using the changeset viewer.