Changeset 3097701
- Timestamp:
- 06/05/2024 06:22:05 AM (22 months ago)
- Location:
- linkgenius
- Files:
-
- 2 added
- 14 edited
- 10 copied
-
tags/1.1.5 (copied) (copied from linkgenius/trunk)
-
tags/1.1.5/assets/js/linkgenius-posttype.js (copied) (copied from linkgenius/trunk/assets/js/linkgenius-posttype.js)
-
tags/1.1.5/excludes (added)
-
tags/1.1.5/includes/Discloser.php (modified) (1 diff)
-
tags/1.1.5/includes/Editor.php (modified) (1 diff)
-
tags/1.1.5/includes/LinkBuilder.php (copied) (copied from linkgenius/trunk/includes/LinkBuilder.php) (2 diffs)
-
tags/1.1.5/includes/Metabox.php (copied) (copied from linkgenius/trunk/includes/Metabox.php) (2 diffs)
-
tags/1.1.5/includes/Redirect.php (copied) (copied from linkgenius/trunk/includes/Redirect.php)
-
tags/1.1.5/includes/Settings.php (copied) (copied from linkgenius/trunk/includes/Settings.php)
-
tags/1.1.5/includes/Shortcode.php (modified) (1 diff)
-
tags/1.1.5/languages/linkgenius-fallback.mo (modified) (previous)
-
tags/1.1.5/languages/linkgenius-fallback.po (copied) (copied from linkgenius/trunk/languages/linkgenius-fallback.po) (11 diffs)
-
tags/1.1.5/languages/linkgenius.pot (copied) (copied from linkgenius/trunk/languages/linkgenius.pot) (8 diffs)
-
tags/1.1.5/linkgenius.php (copied) (copied from linkgenius/trunk/linkgenius.php) (1 diff)
-
tags/1.1.5/readme.txt (copied) (copied from linkgenius/trunk/readme.txt) (2 diffs)
-
trunk/excludes (added)
-
trunk/includes/Discloser.php (modified) (1 diff)
-
trunk/includes/Editor.php (modified) (1 diff)
-
trunk/includes/LinkBuilder.php (modified) (2 diffs)
-
trunk/includes/Metabox.php (modified) (2 diffs)
-
trunk/includes/Shortcode.php (modified) (1 diff)
-
trunk/languages/linkgenius-fallback.mo (modified) (previous)
-
trunk/languages/linkgenius-fallback.po (modified) (11 diffs)
-
trunk/languages/linkgenius.pot (modified) (8 diffs)
-
trunk/linkgenius.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linkgenius/tags/1.1.5/includes/Discloser.php
r2969592 r3097701 26 26 }); 27 27 add_action('shutdown', function() { 28 ob_end_flush(); 28 if (ob_get_length() > 0) { 29 ob_end_flush(); 30 } 29 31 }, 0); 30 32 } -
linkgenius/tags/1.1.5/includes/Editor.php
r2970836 r3097701 150 150 */ 151 151 function replace_linkgenius_tag_with_link($content) { 152 $pattern = '/<linkgenius-link.*?linkgenius_id="(?<id>[0-9]+)" .*?>(?<text>.*?)<\/linkgenius-link>/';152 $pattern = '/<linkgenius-link.*?linkgenius_id="(?<id>[0-9]+)"(?<atts>.*?)>(?<text>.*?)<\/linkgenius-link>/'; 153 153 return preg_replace_callback($pattern, function($matches) { 154 154 $id = $matches['id'] ?? ""; 155 return do_shortcode("[linkgenius-link id={$id} ]{$matches['text']}[/linkgenius-link]");155 return do_shortcode("[linkgenius-link id={$id} extra_atts='".esc_attr($matches['atts'])."']{$matches['text']}[/linkgenius-link]"); 156 156 }, $content); 157 157 } -
linkgenius/tags/1.1.5/includes/LinkBuilder.php
r3064466 r3097701 18 18 } 19 19 20 public function get_link($link_id, $text) { 20 public function get_link($link_id, $text, $additional_attributes = []) { 21 21 22 [ 22 23 "attributes" => $attributes, … … 25 26 ] = $this->get_link_data($link_id); 26 27 // Output the link 28 $attributes = array_merge($additional_attributes, $attributes); 27 29 $output = array_reduce(array_keys($attributes??[]), fn($carry, $k) => $carry . " ".$k . "='". $attributes[$k]."'", "<a") 28 30 .">".$text.$after_text."</a>".$after_output; -
linkgenius/tags/1.1.5/includes/Metabox.php
r3064466 r3097701 278 278 $fields = array_merge($fields, array( 279 279 array( 280 'name' => __('D efault Disclosure Tooltip', 'linkgenius'),280 'name' => __('Disclosure Tooltip', 'linkgenius'), 281 281 'id' => 'disclosure_tooltip', 282 282 'type' => 'text', … … 288 288 'id' => 'disclosure_text_after', 289 289 'type' => 'text', 290 'desc' => 'after_link_text_desc',290 'desc' => __('default_after_link_text_desc', 'linkgenius'), 291 291 'default' => $defaults['disclosure_text_after'] 292 292 ), -
linkgenius/tags/1.1.5/includes/Shortcode.php
r2993080 r3097701 12 12 function linkgenius_link_shortcode($atts, $content) { 13 13 $atts = shortcode_atts(array( 14 'id' => '' 14 'id' => '', 15 'extra_atts' => '' 15 16 ), $atts); 16 17 17 18 $link_id = intval($atts['id']); 18 return LinkBuilder::instance()->get_link($link_id, $content) ?? "Link not found"; 19 $extra_atts = shortcode_parse_atts(htmlspecialchars_decode($atts['extra_atts'])); 20 return LinkBuilder::instance()->get_link($link_id, $content, $extra_atts) ?? "Link not found"; 19 21 } 20 22 -
linkgenius/tags/1.1.5/languages/linkgenius-fallback.po
r3064466 r3097701 46 46 msgstr "" 47 47 48 #: includes/Metabox.php:3 8648 #: includes/Metabox.php:391 49 49 msgid "Intro text autolink" 50 50 msgstr "Automatically create links to this LinkGenius link on if Keywords or URLs occur in the page or post content. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=autolink\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature." 51 51 52 #: includes/Metabox.php:1 0753 #: includes/Metabox.php:3 8952 #: includes/Metabox.php:112 53 #: includes/Metabox.php:394 54 54 #: assets/app/src/linkgenius-taxonomy-selector.js:72 55 55 #: assets/js/editor/editor.js:2 … … 57 57 msgstr "" 58 58 59 #: includes/Metabox.php:40 159 #: includes/Metabox.php:406 60 60 msgid "Keywords" 61 61 msgstr "" 62 62 63 #: includes/Metabox.php:40 463 #: includes/Metabox.php:409 64 64 msgid "Enter keywords that will automatically create a link to this LinkGenius link if they occur in the page or post content. One keyword per line, case-insensitive." 65 65 msgstr "" 66 66 67 #: includes/Metabox.php:4 0767 #: includes/Metabox.php:412 68 68 msgid "URLs" 69 69 msgstr "" 70 70 71 #: includes/Metabox.php:41 071 #: includes/Metabox.php:415 72 72 msgid "Enter URLs that will automatically be replaced with this LinkGenius link. One url per line." 73 73 msgstr "" 74 74 75 #: includes/Metabox.php:4 2575 #: includes/Metabox.php:430 76 76 msgid "Intro text expiration" 77 77 msgstr "Make this link expire after a certain date or number of clicks. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=expiration\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature." 78 78 79 #: includes/Metabox.php:43 179 #: includes/Metabox.php:436 80 80 msgid "Date after which link expires. (optional)" 81 81 msgstr "" 82 82 83 #: includes/Metabox.php:43 483 #: includes/Metabox.php:439 84 84 msgid "Expiration Clicks" 85 85 msgstr "" 86 86 87 #: includes/Metabox.php:44 387 #: includes/Metabox.php:448 88 88 msgid "Number of clicks after which the link expires. (optional)" 89 89 msgstr "" 90 90 91 #: includes/Metabox.php:45 291 #: includes/Metabox.php:457 92 92 msgid "Redirect After Expiry" 93 93 msgstr "" 94 94 95 #: includes/Metabox.php:4 5595 #: includes/Metabox.php:460 96 96 msgid "The url to redirect to after link expired (used only if date or clicks are set)." 97 97 msgstr "" … … 141 141 142 142 #: includes/Metabox.php:60 143 #: includes/Metabox.php:8 5144 #: includes/Metabox.php:16 1145 #: includes/Metabox.php:2 65143 #: includes/Metabox.php:86 144 #: includes/Metabox.php:166 145 #: includes/Metabox.php:270 146 146 msgid "Default (%s)" 147 147 msgstr "" 148 148 149 #: includes/Metabox.php: 98149 #: includes/Metabox.php:103 150 150 msgid "Target URL*" 151 151 msgstr "" 152 152 153 #: includes/Metabox.php:10 4153 #: includes/Metabox.php:109 154 154 msgid "The target (affiliate) link." 155 155 msgstr "" 156 156 157 #: includes/Metabox.php:1 16157 #: includes/Metabox.php:121 158 158 msgid "The order for the link, used when displaying all links of a tag or category" 159 159 msgstr "" 160 160 161 #: includes/Metabox.php:12 2161 #: includes/Metabox.php:127 162 162 msgid "Link Prefix" 163 163 msgstr "" 164 164 165 #: includes/Metabox.php:1 26165 #: includes/Metabox.php:131 166 166 msgid "The prefix for your link, for example <i>go, recommends, out, link, affiliate</i>. The link will look like <b>%1$sprefix/slug</b>." 167 167 msgstr "" 168 168 169 #: includes/Metabox.php:14 4169 #: includes/Metabox.php:149 170 170 msgid "Defaults" 171 171 msgstr "" 172 172 173 #: includes/Metabox.php:1 46173 #: includes/Metabox.php:151 174 174 msgid "Intro default general setings" 175 175 msgstr "" 176 176 177 #: includes/Metabox.php:15 1177 #: includes/Metabox.php:156 178 178 msgid "Redirect Type" 179 179 msgstr "" … … 181 181 #: includes/Metabox.php:60 182 182 #: includes/Metabox.php:61 183 #: includes/Metabox.php:16 1184 #: includes/Metabox.php:16 2185 #: includes/Metabox.php:35 2183 #: includes/Metabox.php:166 184 #: includes/Metabox.php:167 185 #: includes/Metabox.php:357 186 186 msgid "Enabled" 187 187 msgstr "" … … 189 189 #: includes/Metabox.php:60 190 190 #: includes/Metabox.php:62 191 #: includes/Metabox.php:16 1192 #: includes/Metabox.php:16 3191 #: includes/Metabox.php:166 192 #: includes/Metabox.php:168 193 193 msgid "Disabled" 194 194 msgstr "" 195 195 196 #: includes/Metabox.php:2 25196 #: includes/Metabox.php:230 197 197 msgid "Default Link appearance" 198 198 msgstr "" 199 199 200 #: includes/Metabox.php:18 0200 #: includes/Metabox.php:185 201 201 msgid "Intro text appearance" 202 202 msgstr "Determine how the link will appear in your content." 203 203 204 #: includes/Metabox.php:18 3204 #: includes/Metabox.php:188 205 205 msgid "Global CSS Classes" 206 206 msgstr "" 207 207 208 #: includes/Metabox.php:18 3208 #: includes/Metabox.php:188 209 209 msgid "CSS Classes" 210 210 msgstr "" 211 211 212 #: includes/Metabox.php:1 86212 #: includes/Metabox.php:191 213 213 msgid "Comma separated list of CSS classes" 214 214 msgstr "" 215 215 216 #: includes/Metabox.php:19 2216 #: includes/Metabox.php:197 217 217 msgid "Open in New Tab" 218 218 msgstr "" 219 219 220 #: includes/Metabox.php:19 4220 #: includes/Metabox.php:199 221 221 msgid "Open the URL in a new tab when clicked. Done by adding target=\"_blank\" tag." 222 222 msgstr "" 223 223 224 #: includes/Metabox.php: 197224 #: includes/Metabox.php:202 225 225 msgid "Parameter Forwarding" 226 226 msgstr "" 227 227 228 #: includes/Metabox.php:20 1228 #: includes/Metabox.php:206 229 229 msgid "Sponsored Attribute" 230 230 msgstr "" 231 231 232 #: includes/Metabox.php:2 05232 #: includes/Metabox.php:210 233 233 msgid "Nofollow Attribute" 234 234 msgstr "" 235 235 236 #: includes/Metabox.php:21 0236 #: includes/Metabox.php:215 237 237 msgid "Global Additional Rel Tags" 238 238 msgstr "" 239 239 240 #: includes/Metabox.php:21 0240 #: includes/Metabox.php:215 241 241 msgid "Additional Rel Tags" 242 242 msgstr "" 243 243 244 #: includes/Metabox.php:21 3244 #: includes/Metabox.php:218 245 245 msgid "Comma separated list of additional rel tags" 246 246 msgstr "" 247 247 248 #: includes/Metabox.php:24 0248 #: includes/Metabox.php:245 249 249 msgid "None" 250 250 msgstr "" 251 251 252 #: includes/Metabox.php:24 1252 #: includes/Metabox.php:246 253 253 msgid "Tooltip" 254 254 msgstr "" 255 255 256 #: includes/Metabox.php:24 2257 #: includes/Metabox.php:28 2258 #: includes/Metabox.php:32 4256 #: includes/Metabox.php:247 257 #: includes/Metabox.php:287 258 #: includes/Metabox.php:329 259 259 msgid "Text After Link" 260 260 msgstr "" 261 261 262 #: includes/Metabox.php:24 3262 #: includes/Metabox.php:248 263 263 msgid "Content Statement" 264 264 msgstr "" 265 265 266 #: includes/Metabox.php:2 48266 #: includes/Metabox.php:253 267 267 msgid "Intro text disclosure" 268 268 msgstr "Show an (affiliate link) disclosure statement when this link appears in your content." 269 269 270 #: includes/Metabox.php:26 1270 #: includes/Metabox.php:266 271 271 msgid "Disclosure Type" 272 272 msgstr "" 273 273 274 #: includes/Metabox.php:2 75275 msgid "D efault Disclosure Tooltip"276 msgstr " "277 278 #: includes/Metabox.php:2 78274 #: includes/Metabox.php:280 275 msgid "Disclosure Tooltip" 276 msgstr "Disclosure Tooltip" 277 278 #: includes/Metabox.php:283 279 279 msgid "default_tooltip_desc" 280 msgstr " "281 282 #: includes/Metabox.php:29 4280 msgstr "The default tooltip that will be displayed when the disclosure type is Tooltip." 281 282 #: includes/Metabox.php:299 283 283 msgid "Content Disclosure Location" 284 284 msgstr "" 285 285 286 #: includes/Metabox.php: 298286 #: includes/Metabox.php:303 287 287 msgid "End of Post" 288 288 msgstr "" 289 289 290 #: includes/Metabox.php: 299290 #: includes/Metabox.php:304 291 291 msgid "Beginning of Post" 292 292 msgstr "" 293 293 294 #: includes/Metabox.php:30 0294 #: includes/Metabox.php:305 295 295 msgid "Custom (Via Shortcode or Action)" 296 296 msgstr "" 297 297 298 #: includes/Metabox.php:3 05298 #: includes/Metabox.php:310 299 299 msgid "Content Disclosure Text" 300 300 msgstr "" 301 301 302 #: includes/Metabox.php:31 4302 #: includes/Metabox.php:319 303 303 msgid "Disclosure Text" 304 304 msgstr "" 305 305 306 #: includes/Metabox.php:3 18307 #: includes/Metabox.php:3 29306 #: includes/Metabox.php:323 307 #: includes/Metabox.php:334 308 308 msgid "Default: %s" 309 309 msgstr "" 310 310 311 #: includes/Metabox.php: 327312 msgid " after_link_text_desc"313 msgstr " "314 315 #: includes/Metabox.php:3 47311 #: includes/Metabox.php:290 312 msgid "default_after_link_text_desc" 313 msgstr "The default text that will be displayed after the link if the disclosure type is After Link." 314 315 #: includes/Metabox.php:352 316 316 msgid "Intro text GA tracking" 317 317 msgstr "Track clicks with Google Analytics. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=tracking\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature." 318 318 319 #: includes/Metabox.php:3 56319 #: includes/Metabox.php:361 320 320 msgid "Event Name" 321 321 msgstr "" 322 322 323 #: includes/Metabox.php:36 4323 #: includes/Metabox.php:369 324 324 msgid "Event Parameters" 325 325 msgstr "" … … 356 356 msgstr "This page contains affiliate links managed using the <a href=\"https://all-affiliates.com/linkgenius\" target=\"_blank\"/>LinkGenius</a> plugin. If you click through and purchase an item, I may earn a commission. See my terms of service for details." 357 357 358 #: includes/Shortcode.php: 59358 #: includes/Shortcode.php:61 359 359 msgid "You must specify a category or tag" 360 360 msgstr "" … … 462 462 msgstr "" 463 463 464 #: includes/Metabox.php:8 7464 #: includes/Metabox.php:88 465 465 msgid "Slug*" 466 466 msgstr "" … … 470 470 msgstr "" 471 471 472 #: includes/Metabox.php:4 28472 #: includes/Metabox.php:433 473 473 msgid "Expiration Date" 474 474 msgstr "" … … 489 489 #: includes/CPT.php:468 490 490 msgid "Intro text useragent" 491 msgstr " "491 msgstr "Redirect to different URLs based on the visitor's useragent. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=useragent\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature. 492 492 493 493 #: includes/CPT.php:474 … … 499 499 msgstr "" 500 500 501 #: includes/Metabox.php:94 502 msgid "<a href=\"#\" id=\"copy_url\">Copy</a><p>The url to link to in your content.</p>" 503 msgstr "" 504 505 #: includes/Metabox.php:130 501 #: includes/Metabox.php:135 506 502 msgid "Mimimum Role Linkmanagement" 507 503 msgstr "" 508 504 509 #: includes/Metabox.php:13 3505 #: includes/Metabox.php:138 510 506 msgid "Administrator" 511 507 msgstr "" 512 508 513 #: includes/Metabox.php:13 4509 #: includes/Metabox.php:139 514 510 msgid "Editor" 515 511 msgstr "" 516 512 517 #: includes/Metabox.php:1 35513 #: includes/Metabox.php:140 518 514 msgid "Author" 519 515 msgstr "" 520 516 521 #: includes/Metabox.php:1 36517 #: includes/Metabox.php:141 522 518 msgid "Contributor" 523 519 msgstr "" 524 520 525 #: includes/Metabox.php:1 37521 #: includes/Metabox.php:142 526 522 msgid "Subscriber" 527 523 msgstr "" 528 524 529 #: includes/Metabox.php:14 0525 #: includes/Metabox.php:145 530 526 msgid "The minimum role a user needs in order to create, edit or delete LinkGenius Links. The settings page will remain visible for administrators only." 531 527 msgstr "" 532 528 533 #: includes/Metabox.php:2 26534 #: includes/Metabox.php:2 56529 #: includes/Metabox.php:231 530 #: includes/Metabox.php:261 535 531 msgid "Default settings, can be overriden per individual link." 536 532 msgstr "" 537 533 538 #: includes/Metabox.php:2 55534 #: includes/Metabox.php:260 539 535 msgid "Default disclosure settings" 540 536 msgstr "" 541 537 542 #: includes/Metabox.php:29 1538 #: includes/Metabox.php:296 543 539 msgid "Content disclosure settings" 544 540 msgstr "" 545 541 546 #: includes/Metabox.php: 398542 #: includes/Metabox.php:403 547 543 msgid "A lower order means earlier execution when dealing with conflicting keywords or urls" 548 544 msgstr "" … … 589 585 msgstr "" 590 586 591 #: includes/Metabox.php:1 67587 #: includes/Metabox.php:172 592 588 msgid "No Branding" 593 589 msgstr "" 594 590 595 #: includes/Metabox.php:1 69591 #: includes/Metabox.php:174 596 592 msgid "When enabled affiliate url of LinkGenius Links will be outputted in content instead of the slug." 597 593 msgstr "" 598 594 599 #: includes/Metabox.php:3 68595 #: includes/Metabox.php:373 600 596 msgid "Default: %s" 601 597 msgstr "" 602 598 603 #: includes/Metabox.php:37 0599 #: includes/Metabox.php:375 604 600 msgid "You can use the variables %s" 605 601 msgstr "" 602 603 #: includes/Metabox.php:94 604 msgid "Used for the URL you can link to." 605 msgstr "" 606 607 #: includes/Metabox.php:97 608 msgid "<p>LinkGenius Link URL: <a id=\"linkgenius_url\" href=\"%1$s\" target=\"_blank\">%1$s</a><br><a href=\"#\" id=\"copy_linkgenius_url\">Copy Url</a></p>" 609 msgstr "" 610 611 #: includes/Metabox.php:332 612 msgid "after_link_text_desc" 613 msgstr "" -
linkgenius/tags/1.1.5/languages/linkgenius.pot
r3064466 r3097701 1 # Copyright (C) 202 3all-affiliates.com1 # Copyright (C) 2024 all-affiliates.com 2 2 # This file is distributed under the GPL2. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: LinkGenius 1.1. 3\n"5 "Project-Id-Version: LinkGenius 1.1.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/linkgenius\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 3-11-18T10:47:18+00:00\n"12 "POT-Creation-Date: 2024-06-04T14:22:37+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.7.1\n" … … 149 149 150 150 #: includes/Metabox.php:60 151 #: includes/Metabox.php:8 5152 #: includes/Metabox.php:16 1153 #: includes/Metabox.php:2 65151 #: includes/Metabox.php:86 152 #: includes/Metabox.php:166 153 #: includes/Metabox.php:270 154 154 msgid "Default (%s)" 155 155 msgstr "" … … 157 157 #: includes/Metabox.php:60 158 158 #: includes/Metabox.php:61 159 #: includes/Metabox.php:16 1160 #: includes/Metabox.php:16 2161 #: includes/Metabox.php:35 2159 #: includes/Metabox.php:166 160 #: includes/Metabox.php:167 161 #: includes/Metabox.php:357 162 162 msgid "Enabled" 163 163 msgstr "" … … 165 165 #: includes/Metabox.php:60 166 166 #: includes/Metabox.php:62 167 #: includes/Metabox.php:16 1168 #: includes/Metabox.php:16 3167 #: includes/Metabox.php:166 168 #: includes/Metabox.php:168 169 169 msgid "Disabled" 170 170 msgstr "" … … 182 182 msgstr "" 183 183 184 #: includes/Metabox.php:8 7184 #: includes/Metabox.php:88 185 185 msgid "Slug*" 186 186 msgstr "" 187 187 188 188 #: includes/Metabox.php:94 189 msgid "<a href=\"#\" id=\"copy_url\">Copy</a><p>The url to link to in your content.</p>" 190 msgstr "" 191 192 #: includes/Metabox.php:98 189 msgid "Used for the URL you can link to." 190 msgstr "" 191 192 #: includes/Metabox.php:97 193 msgid "<p>LinkGenius Link URL: <a id=\"linkgenius_url\" href=\"%1$s\" target=\"_blank\">%1$s</a><br><a href=\"#\" id=\"copy_linkgenius_url\">Copy Url</a></p>" 194 msgstr "" 195 196 #: includes/Metabox.php:103 193 197 msgid "Target URL*" 194 198 msgstr "" 195 199 196 #: includes/Metabox.php:10 4200 #: includes/Metabox.php:109 197 201 msgid "The target (affiliate) link." 198 202 msgstr "" 199 203 200 #: includes/Metabox.php:1 07201 #: includes/Metabox.php:3 89204 #: includes/Metabox.php:112 205 #: includes/Metabox.php:394 202 206 #: assets/app/src/linkgenius-taxonomy-selector.js:72 203 207 #: assets/js/editor/editor.js:2 … … 205 209 msgstr "" 206 210 207 #: includes/Metabox.php:1 16211 #: includes/Metabox.php:121 208 212 msgid "The order for the link, used when displaying all links of a tag or category" 209 213 msgstr "" 210 214 211 #: includes/Metabox.php:12 2215 #: includes/Metabox.php:127 212 216 msgid "Link Prefix" 213 217 msgstr "" 214 218 215 #: includes/Metabox.php:1 26219 #: includes/Metabox.php:131 216 220 msgid "The prefix for your link, for example <i>go, recommends, out, link, affiliate</i>. The link will look like <b>%1$sprefix/slug</b>." 217 221 msgstr "" 218 222 219 #: includes/Metabox.php:13 0223 #: includes/Metabox.php:135 220 224 msgid "Mimimum Role Linkmanagement" 221 225 msgstr "" 222 226 223 #: includes/Metabox.php:13 3227 #: includes/Metabox.php:138 224 228 msgid "Administrator" 225 229 msgstr "" 226 230 227 #: includes/Metabox.php:13 4231 #: includes/Metabox.php:139 228 232 msgid "Editor" 229 233 msgstr "" 230 234 231 #: includes/Metabox.php:1 35235 #: includes/Metabox.php:140 232 236 msgid "Author" 233 237 msgstr "" 234 238 235 #: includes/Metabox.php:1 36239 #: includes/Metabox.php:141 236 240 msgid "Contributor" 237 241 msgstr "" 238 242 239 #: includes/Metabox.php:1 37243 #: includes/Metabox.php:142 240 244 msgid "Subscriber" 241 245 msgstr "" 242 246 243 #: includes/Metabox.php:14 0247 #: includes/Metabox.php:145 244 248 msgid "The minimum role a user needs in order to create, edit or delete LinkGenius Links. The settings page will remain visible for administrators only." 245 249 msgstr "" 246 250 247 #: includes/Metabox.php:14 4251 #: includes/Metabox.php:149 248 252 msgid "Defaults" 249 253 msgstr "" 250 254 251 #: includes/Metabox.php:1 46255 #: includes/Metabox.php:151 252 256 msgid "Intro default general setings" 253 257 msgstr "" 254 258 255 #: includes/Metabox.php:15 1259 #: includes/Metabox.php:156 256 260 msgid "Redirect Type" 257 261 msgstr "" 258 262 259 #: includes/Metabox.php:1 67263 #: includes/Metabox.php:172 260 264 msgid "No Branding" 261 265 msgstr "" 262 266 263 #: includes/Metabox.php:1 69267 #: includes/Metabox.php:174 264 268 msgid "When enabled affiliate url of LinkGenius Links will be outputted in content instead of the slug." 265 269 msgstr "" 266 270 267 #: includes/Metabox.php:18 0271 #: includes/Metabox.php:185 268 272 msgid "Intro text appearance" 269 273 msgstr "" 270 274 271 #: includes/Metabox.php:18 3275 #: includes/Metabox.php:188 272 276 msgid "Global CSS Classes" 273 277 msgstr "" 274 278 275 #: includes/Metabox.php:18 3279 #: includes/Metabox.php:188 276 280 msgid "CSS Classes" 277 281 msgstr "" 278 282 279 #: includes/Metabox.php:1 86283 #: includes/Metabox.php:191 280 284 msgid "Comma separated list of CSS classes" 281 285 msgstr "" 282 286 283 #: includes/Metabox.php:19 2287 #: includes/Metabox.php:197 284 288 msgid "Open in New Tab" 285 289 msgstr "" 286 290 287 #: includes/Metabox.php:19 4291 #: includes/Metabox.php:199 288 292 msgid "Open the URL in a new tab when clicked. Done by adding target=\"_blank\" tag." 289 293 msgstr "" 290 294 291 #: includes/Metabox.php: 197295 #: includes/Metabox.php:202 292 296 msgid "Parameter Forwarding" 293 297 msgstr "" 294 298 295 #: includes/Metabox.php:20 1299 #: includes/Metabox.php:206 296 300 msgid "Sponsored Attribute" 297 301 msgstr "" 298 302 299 #: includes/Metabox.php:2 05303 #: includes/Metabox.php:210 300 304 msgid "Nofollow Attribute" 301 305 msgstr "" 302 306 303 #: includes/Metabox.php:21 0307 #: includes/Metabox.php:215 304 308 msgid "Global Additional Rel Tags" 305 309 msgstr "" 306 310 307 #: includes/Metabox.php:21 0311 #: includes/Metabox.php:215 308 312 msgid "Additional Rel Tags" 309 313 msgstr "" 310 314 311 #: includes/Metabox.php:21 3315 #: includes/Metabox.php:218 312 316 msgid "Comma separated list of additional rel tags" 313 317 msgstr "" 314 318 315 #: includes/Metabox.php:2 25319 #: includes/Metabox.php:230 316 320 msgid "Default Link appearance" 317 321 msgstr "" 318 322 319 #: includes/Metabox.php:2 26320 #: includes/Metabox.php:2 56323 #: includes/Metabox.php:231 324 #: includes/Metabox.php:261 321 325 msgid "Default settings, can be overriden per individual link." 322 326 msgstr "" 323 327 324 #: includes/Metabox.php:24 0328 #: includes/Metabox.php:245 325 329 msgid "None" 326 330 msgstr "" 327 331 328 #: includes/Metabox.php:24 1332 #: includes/Metabox.php:246 329 333 msgid "Tooltip" 330 334 msgstr "" 331 335 332 #: includes/Metabox.php:24 2333 #: includes/Metabox.php:28 2334 #: includes/Metabox.php:32 4336 #: includes/Metabox.php:247 337 #: includes/Metabox.php:287 338 #: includes/Metabox.php:329 335 339 msgid "Text After Link" 336 340 msgstr "" 337 341 338 #: includes/Metabox.php:24 3342 #: includes/Metabox.php:248 339 343 msgid "Content Statement" 340 344 msgstr "" 341 345 342 #: includes/Metabox.php:2 48346 #: includes/Metabox.php:253 343 347 msgid "Intro text disclosure" 344 348 msgstr "" 345 349 346 #: includes/Metabox.php:2 55350 #: includes/Metabox.php:260 347 351 msgid "Default disclosure settings" 348 352 msgstr "" 349 353 350 #: includes/Metabox.php:26 1354 #: includes/Metabox.php:266 351 355 msgid "Disclosure Type" 352 356 msgstr "" 353 357 354 #: includes/Metabox.php:2 75355 msgid "D efault Disclosure Tooltip"356 msgstr "" 357 358 #: includes/Metabox.php:2 78358 #: includes/Metabox.php:280 359 msgid "Disclosure Tooltip" 360 msgstr "" 361 362 #: includes/Metabox.php:283 359 363 msgid "default_tooltip_desc" 360 364 msgstr "" 361 365 362 #: includes/Metabox.php:291 366 #: includes/Metabox.php:290 367 msgid "default_after_link_text_desc" 368 msgstr "" 369 370 #: includes/Metabox.php:296 363 371 msgid "Content disclosure settings" 364 372 msgstr "" 365 373 366 #: includes/Metabox.php:29 4374 #: includes/Metabox.php:299 367 375 msgid "Content Disclosure Location" 368 376 msgstr "" 369 377 370 #: includes/Metabox.php: 298378 #: includes/Metabox.php:303 371 379 msgid "End of Post" 372 380 msgstr "" 373 381 374 #: includes/Metabox.php: 299382 #: includes/Metabox.php:304 375 383 msgid "Beginning of Post" 376 384 msgstr "" 377 385 378 #: includes/Metabox.php:30 0386 #: includes/Metabox.php:305 379 387 msgid "Custom (Via Shortcode or Action)" 380 388 msgstr "" 381 389 382 #: includes/Metabox.php:3 05390 #: includes/Metabox.php:310 383 391 msgid "Content Disclosure Text" 384 392 msgstr "" 385 393 386 #: includes/Metabox.php:31 4394 #: includes/Metabox.php:319 387 395 msgid "Disclosure Text" 388 396 msgstr "" 389 397 390 #: includes/Metabox.php:3 18391 #: includes/Metabox.php:3 29398 #: includes/Metabox.php:323 399 #: includes/Metabox.php:334 392 400 msgid "Default: %s" 393 401 msgstr "" 394 402 395 #: includes/Metabox.php:3 27403 #: includes/Metabox.php:332 396 404 msgid "after_link_text_desc" 397 405 msgstr "" 398 406 399 #: includes/Metabox.php:3 47407 #: includes/Metabox.php:352 400 408 msgid "Intro text GA tracking" 401 409 msgstr "" 402 410 403 #: includes/Metabox.php:3 56411 #: includes/Metabox.php:361 404 412 msgid "Event Name" 405 413 msgstr "" 406 414 407 #: includes/Metabox.php:36 4415 #: includes/Metabox.php:369 408 416 msgid "Event Parameters" 409 417 msgstr "" 410 418 411 #: includes/Metabox.php:3 68419 #: includes/Metabox.php:373 412 420 msgid "Default: %s" 413 421 msgstr "" 414 422 415 #: includes/Metabox.php:37 0423 #: includes/Metabox.php:375 416 424 msgid "You can use the variables %s" 417 425 msgstr "" 418 426 419 #: includes/Metabox.php:3 86427 #: includes/Metabox.php:391 420 428 msgid "Intro text autolink" 421 429 msgstr "" 422 430 423 #: includes/Metabox.php: 398431 #: includes/Metabox.php:403 424 432 msgid "A lower order means earlier execution when dealing with conflicting keywords or urls" 425 433 msgstr "" 426 434 427 #: includes/Metabox.php:40 1435 #: includes/Metabox.php:406 428 436 msgid "Keywords" 429 437 msgstr "" 430 438 431 #: includes/Metabox.php:40 4439 #: includes/Metabox.php:409 432 440 msgid "Enter keywords that will automatically create a link to this LinkGenius link if they occur in the page or post content. One keyword per line, case-insensitive." 433 441 msgstr "" 434 442 435 #: includes/Metabox.php:4 07443 #: includes/Metabox.php:412 436 444 msgid "URLs" 437 445 msgstr "" 438 446 439 #: includes/Metabox.php:41 0447 #: includes/Metabox.php:415 440 448 msgid "Enter URLs that will automatically be replaced with this LinkGenius link. One url per line." 441 449 msgstr "" 442 450 443 #: includes/Metabox.php:4 25451 #: includes/Metabox.php:430 444 452 msgid "Intro text expiration" 445 453 msgstr "" 446 454 447 #: includes/Metabox.php:4 28455 #: includes/Metabox.php:433 448 456 msgid "Expiration Date" 449 457 msgstr "" 450 458 451 #: includes/Metabox.php:43 1459 #: includes/Metabox.php:436 452 460 msgid "Date after which link expires. (optional)" 453 461 msgstr "" 454 462 455 #: includes/Metabox.php:43 4463 #: includes/Metabox.php:439 456 464 msgid "Expiration Clicks" 457 465 msgstr "" 458 466 459 #: includes/Metabox.php:44 3467 #: includes/Metabox.php:448 460 468 msgid "Number of clicks after which the link expires. (optional)" 461 469 msgstr "" 462 470 463 #: includes/Metabox.php:45 2471 #: includes/Metabox.php:457 464 472 msgid "Redirect After Expiry" 465 473 msgstr "" 466 474 467 #: includes/Metabox.php:4 55475 #: includes/Metabox.php:460 468 476 msgid "The url to redirect to after link expired (used only if date or clicks are set)." 469 477 msgstr "" … … 500 508 msgstr "" 501 509 502 #: includes/Shortcode.php: 59510 #: includes/Shortcode.php:61 503 511 msgid "You must specify a category or tag" 504 512 msgstr "" -
linkgenius/tags/1.1.5/linkgenius.php
r3064466 r3097701 4 4 Plugin URI: https://all-affiliates.com/linkgenius/ 5 5 Description: LinkGenius is a powerful (affiliate) link management plugin. With LinkGenius, you can effortlessly organize, optimize, and track your (affiliate) links, unlocking a new level of efficiency. 6 Version: 1.1. 46 Version: 1.1.5 7 7 Author: all-affiliates.com 8 8 Author URI: https://all-affiliates.com -
linkgenius/tags/1.1.5/readme.txt
r3064527 r3097701 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 48 Stable tag: 1.1.5 9 9 License: GPL2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 111 111 == Changelog == 112 112 113 = 1.1.5 = 114 - Added ability to pass additional link-attributes to the linkgenius-link shortcode and tag 115 - Added and updated translations 116 - Removed potential notice of buffer close, when maximum memory limit is reached 117 113 118 = 1.1.4 = 114 119 - Added linkgenius_additional_headers filter to allow adding or modifying additional headers on redirect 115 120 - Improved copy to clipboard functionality for unusual permalinks 116 121 - Introduced variables for tracking and destinations 122 - Tested on WordPress 6.5 117 123 118 124 = 1.1.3 = -
linkgenius/trunk/includes/Discloser.php
r2969592 r3097701 26 26 }); 27 27 add_action('shutdown', function() { 28 ob_end_flush(); 28 if (ob_get_length() > 0) { 29 ob_end_flush(); 30 } 29 31 }, 0); 30 32 } -
linkgenius/trunk/includes/Editor.php
r2970836 r3097701 150 150 */ 151 151 function replace_linkgenius_tag_with_link($content) { 152 $pattern = '/<linkgenius-link.*?linkgenius_id="(?<id>[0-9]+)" .*?>(?<text>.*?)<\/linkgenius-link>/';152 $pattern = '/<linkgenius-link.*?linkgenius_id="(?<id>[0-9]+)"(?<atts>.*?)>(?<text>.*?)<\/linkgenius-link>/'; 153 153 return preg_replace_callback($pattern, function($matches) { 154 154 $id = $matches['id'] ?? ""; 155 return do_shortcode("[linkgenius-link id={$id} ]{$matches['text']}[/linkgenius-link]");155 return do_shortcode("[linkgenius-link id={$id} extra_atts='".esc_attr($matches['atts'])."']{$matches['text']}[/linkgenius-link]"); 156 156 }, $content); 157 157 } -
linkgenius/trunk/includes/LinkBuilder.php
r3064466 r3097701 18 18 } 19 19 20 public function get_link($link_id, $text) { 20 public function get_link($link_id, $text, $additional_attributes = []) { 21 21 22 [ 22 23 "attributes" => $attributes, … … 25 26 ] = $this->get_link_data($link_id); 26 27 // Output the link 28 $attributes = array_merge($additional_attributes, $attributes); 27 29 $output = array_reduce(array_keys($attributes??[]), fn($carry, $k) => $carry . " ".$k . "='". $attributes[$k]."'", "<a") 28 30 .">".$text.$after_text."</a>".$after_output; -
linkgenius/trunk/includes/Metabox.php
r3064466 r3097701 278 278 $fields = array_merge($fields, array( 279 279 array( 280 'name' => __('D efault Disclosure Tooltip', 'linkgenius'),280 'name' => __('Disclosure Tooltip', 'linkgenius'), 281 281 'id' => 'disclosure_tooltip', 282 282 'type' => 'text', … … 288 288 'id' => 'disclosure_text_after', 289 289 'type' => 'text', 290 'desc' => 'after_link_text_desc',290 'desc' => __('default_after_link_text_desc', 'linkgenius'), 291 291 'default' => $defaults['disclosure_text_after'] 292 292 ), -
linkgenius/trunk/includes/Shortcode.php
r2993080 r3097701 12 12 function linkgenius_link_shortcode($atts, $content) { 13 13 $atts = shortcode_atts(array( 14 'id' => '' 14 'id' => '', 15 'extra_atts' => '' 15 16 ), $atts); 16 17 17 18 $link_id = intval($atts['id']); 18 return LinkBuilder::instance()->get_link($link_id, $content) ?? "Link not found"; 19 $extra_atts = shortcode_parse_atts(htmlspecialchars_decode($atts['extra_atts'])); 20 return LinkBuilder::instance()->get_link($link_id, $content, $extra_atts) ?? "Link not found"; 19 21 } 20 22 -
linkgenius/trunk/languages/linkgenius-fallback.po
r3064466 r3097701 46 46 msgstr "" 47 47 48 #: includes/Metabox.php:3 8648 #: includes/Metabox.php:391 49 49 msgid "Intro text autolink" 50 50 msgstr "Automatically create links to this LinkGenius link on if Keywords or URLs occur in the page or post content. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=autolink\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature." 51 51 52 #: includes/Metabox.php:1 0753 #: includes/Metabox.php:3 8952 #: includes/Metabox.php:112 53 #: includes/Metabox.php:394 54 54 #: assets/app/src/linkgenius-taxonomy-selector.js:72 55 55 #: assets/js/editor/editor.js:2 … … 57 57 msgstr "" 58 58 59 #: includes/Metabox.php:40 159 #: includes/Metabox.php:406 60 60 msgid "Keywords" 61 61 msgstr "" 62 62 63 #: includes/Metabox.php:40 463 #: includes/Metabox.php:409 64 64 msgid "Enter keywords that will automatically create a link to this LinkGenius link if they occur in the page or post content. One keyword per line, case-insensitive." 65 65 msgstr "" 66 66 67 #: includes/Metabox.php:4 0767 #: includes/Metabox.php:412 68 68 msgid "URLs" 69 69 msgstr "" 70 70 71 #: includes/Metabox.php:41 071 #: includes/Metabox.php:415 72 72 msgid "Enter URLs that will automatically be replaced with this LinkGenius link. One url per line." 73 73 msgstr "" 74 74 75 #: includes/Metabox.php:4 2575 #: includes/Metabox.php:430 76 76 msgid "Intro text expiration" 77 77 msgstr "Make this link expire after a certain date or number of clicks. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=expiration\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature." 78 78 79 #: includes/Metabox.php:43 179 #: includes/Metabox.php:436 80 80 msgid "Date after which link expires. (optional)" 81 81 msgstr "" 82 82 83 #: includes/Metabox.php:43 483 #: includes/Metabox.php:439 84 84 msgid "Expiration Clicks" 85 85 msgstr "" 86 86 87 #: includes/Metabox.php:44 387 #: includes/Metabox.php:448 88 88 msgid "Number of clicks after which the link expires. (optional)" 89 89 msgstr "" 90 90 91 #: includes/Metabox.php:45 291 #: includes/Metabox.php:457 92 92 msgid "Redirect After Expiry" 93 93 msgstr "" 94 94 95 #: includes/Metabox.php:4 5595 #: includes/Metabox.php:460 96 96 msgid "The url to redirect to after link expired (used only if date or clicks are set)." 97 97 msgstr "" … … 141 141 142 142 #: includes/Metabox.php:60 143 #: includes/Metabox.php:8 5144 #: includes/Metabox.php:16 1145 #: includes/Metabox.php:2 65143 #: includes/Metabox.php:86 144 #: includes/Metabox.php:166 145 #: includes/Metabox.php:270 146 146 msgid "Default (%s)" 147 147 msgstr "" 148 148 149 #: includes/Metabox.php: 98149 #: includes/Metabox.php:103 150 150 msgid "Target URL*" 151 151 msgstr "" 152 152 153 #: includes/Metabox.php:10 4153 #: includes/Metabox.php:109 154 154 msgid "The target (affiliate) link." 155 155 msgstr "" 156 156 157 #: includes/Metabox.php:1 16157 #: includes/Metabox.php:121 158 158 msgid "The order for the link, used when displaying all links of a tag or category" 159 159 msgstr "" 160 160 161 #: includes/Metabox.php:12 2161 #: includes/Metabox.php:127 162 162 msgid "Link Prefix" 163 163 msgstr "" 164 164 165 #: includes/Metabox.php:1 26165 #: includes/Metabox.php:131 166 166 msgid "The prefix for your link, for example <i>go, recommends, out, link, affiliate</i>. The link will look like <b>%1$sprefix/slug</b>." 167 167 msgstr "" 168 168 169 #: includes/Metabox.php:14 4169 #: includes/Metabox.php:149 170 170 msgid "Defaults" 171 171 msgstr "" 172 172 173 #: includes/Metabox.php:1 46173 #: includes/Metabox.php:151 174 174 msgid "Intro default general setings" 175 175 msgstr "" 176 176 177 #: includes/Metabox.php:15 1177 #: includes/Metabox.php:156 178 178 msgid "Redirect Type" 179 179 msgstr "" … … 181 181 #: includes/Metabox.php:60 182 182 #: includes/Metabox.php:61 183 #: includes/Metabox.php:16 1184 #: includes/Metabox.php:16 2185 #: includes/Metabox.php:35 2183 #: includes/Metabox.php:166 184 #: includes/Metabox.php:167 185 #: includes/Metabox.php:357 186 186 msgid "Enabled" 187 187 msgstr "" … … 189 189 #: includes/Metabox.php:60 190 190 #: includes/Metabox.php:62 191 #: includes/Metabox.php:16 1192 #: includes/Metabox.php:16 3191 #: includes/Metabox.php:166 192 #: includes/Metabox.php:168 193 193 msgid "Disabled" 194 194 msgstr "" 195 195 196 #: includes/Metabox.php:2 25196 #: includes/Metabox.php:230 197 197 msgid "Default Link appearance" 198 198 msgstr "" 199 199 200 #: includes/Metabox.php:18 0200 #: includes/Metabox.php:185 201 201 msgid "Intro text appearance" 202 202 msgstr "Determine how the link will appear in your content." 203 203 204 #: includes/Metabox.php:18 3204 #: includes/Metabox.php:188 205 205 msgid "Global CSS Classes" 206 206 msgstr "" 207 207 208 #: includes/Metabox.php:18 3208 #: includes/Metabox.php:188 209 209 msgid "CSS Classes" 210 210 msgstr "" 211 211 212 #: includes/Metabox.php:1 86212 #: includes/Metabox.php:191 213 213 msgid "Comma separated list of CSS classes" 214 214 msgstr "" 215 215 216 #: includes/Metabox.php:19 2216 #: includes/Metabox.php:197 217 217 msgid "Open in New Tab" 218 218 msgstr "" 219 219 220 #: includes/Metabox.php:19 4220 #: includes/Metabox.php:199 221 221 msgid "Open the URL in a new tab when clicked. Done by adding target=\"_blank\" tag." 222 222 msgstr "" 223 223 224 #: includes/Metabox.php: 197224 #: includes/Metabox.php:202 225 225 msgid "Parameter Forwarding" 226 226 msgstr "" 227 227 228 #: includes/Metabox.php:20 1228 #: includes/Metabox.php:206 229 229 msgid "Sponsored Attribute" 230 230 msgstr "" 231 231 232 #: includes/Metabox.php:2 05232 #: includes/Metabox.php:210 233 233 msgid "Nofollow Attribute" 234 234 msgstr "" 235 235 236 #: includes/Metabox.php:21 0236 #: includes/Metabox.php:215 237 237 msgid "Global Additional Rel Tags" 238 238 msgstr "" 239 239 240 #: includes/Metabox.php:21 0240 #: includes/Metabox.php:215 241 241 msgid "Additional Rel Tags" 242 242 msgstr "" 243 243 244 #: includes/Metabox.php:21 3244 #: includes/Metabox.php:218 245 245 msgid "Comma separated list of additional rel tags" 246 246 msgstr "" 247 247 248 #: includes/Metabox.php:24 0248 #: includes/Metabox.php:245 249 249 msgid "None" 250 250 msgstr "" 251 251 252 #: includes/Metabox.php:24 1252 #: includes/Metabox.php:246 253 253 msgid "Tooltip" 254 254 msgstr "" 255 255 256 #: includes/Metabox.php:24 2257 #: includes/Metabox.php:28 2258 #: includes/Metabox.php:32 4256 #: includes/Metabox.php:247 257 #: includes/Metabox.php:287 258 #: includes/Metabox.php:329 259 259 msgid "Text After Link" 260 260 msgstr "" 261 261 262 #: includes/Metabox.php:24 3262 #: includes/Metabox.php:248 263 263 msgid "Content Statement" 264 264 msgstr "" 265 265 266 #: includes/Metabox.php:2 48266 #: includes/Metabox.php:253 267 267 msgid "Intro text disclosure" 268 268 msgstr "Show an (affiliate link) disclosure statement when this link appears in your content." 269 269 270 #: includes/Metabox.php:26 1270 #: includes/Metabox.php:266 271 271 msgid "Disclosure Type" 272 272 msgstr "" 273 273 274 #: includes/Metabox.php:2 75275 msgid "D efault Disclosure Tooltip"276 msgstr " "277 278 #: includes/Metabox.php:2 78274 #: includes/Metabox.php:280 275 msgid "Disclosure Tooltip" 276 msgstr "Disclosure Tooltip" 277 278 #: includes/Metabox.php:283 279 279 msgid "default_tooltip_desc" 280 msgstr " "281 282 #: includes/Metabox.php:29 4280 msgstr "The default tooltip that will be displayed when the disclosure type is Tooltip." 281 282 #: includes/Metabox.php:299 283 283 msgid "Content Disclosure Location" 284 284 msgstr "" 285 285 286 #: includes/Metabox.php: 298286 #: includes/Metabox.php:303 287 287 msgid "End of Post" 288 288 msgstr "" 289 289 290 #: includes/Metabox.php: 299290 #: includes/Metabox.php:304 291 291 msgid "Beginning of Post" 292 292 msgstr "" 293 293 294 #: includes/Metabox.php:30 0294 #: includes/Metabox.php:305 295 295 msgid "Custom (Via Shortcode or Action)" 296 296 msgstr "" 297 297 298 #: includes/Metabox.php:3 05298 #: includes/Metabox.php:310 299 299 msgid "Content Disclosure Text" 300 300 msgstr "" 301 301 302 #: includes/Metabox.php:31 4302 #: includes/Metabox.php:319 303 303 msgid "Disclosure Text" 304 304 msgstr "" 305 305 306 #: includes/Metabox.php:3 18307 #: includes/Metabox.php:3 29306 #: includes/Metabox.php:323 307 #: includes/Metabox.php:334 308 308 msgid "Default: %s" 309 309 msgstr "" 310 310 311 #: includes/Metabox.php: 327312 msgid " after_link_text_desc"313 msgstr " "314 315 #: includes/Metabox.php:3 47311 #: includes/Metabox.php:290 312 msgid "default_after_link_text_desc" 313 msgstr "The default text that will be displayed after the link if the disclosure type is After Link." 314 315 #: includes/Metabox.php:352 316 316 msgid "Intro text GA tracking" 317 317 msgstr "Track clicks with Google Analytics. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=tracking\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature." 318 318 319 #: includes/Metabox.php:3 56319 #: includes/Metabox.php:361 320 320 msgid "Event Name" 321 321 msgstr "" 322 322 323 #: includes/Metabox.php:36 4323 #: includes/Metabox.php:369 324 324 msgid "Event Parameters" 325 325 msgstr "" … … 356 356 msgstr "This page contains affiliate links managed using the <a href=\"https://all-affiliates.com/linkgenius\" target=\"_blank\"/>LinkGenius</a> plugin. If you click through and purchase an item, I may earn a commission. See my terms of service for details." 357 357 358 #: includes/Shortcode.php: 59358 #: includes/Shortcode.php:61 359 359 msgid "You must specify a category or tag" 360 360 msgstr "" … … 462 462 msgstr "" 463 463 464 #: includes/Metabox.php:8 7464 #: includes/Metabox.php:88 465 465 msgid "Slug*" 466 466 msgstr "" … … 470 470 msgstr "" 471 471 472 #: includes/Metabox.php:4 28472 #: includes/Metabox.php:433 473 473 msgid "Expiration Date" 474 474 msgstr "" … … 489 489 #: includes/CPT.php:468 490 490 msgid "Intro text useragent" 491 msgstr " "491 msgstr "Redirect to different URLs based on the visitor's useragent. <strong><a href=\"https://all-affiliates.com/linkgenius/pro?utm_source=plugin&utm_medium=editor&utm_campain=useragent\" target=\"_blank\">Get LinkGenius Pro</a></strong> to unlock this feature. 492 492 493 493 #: includes/CPT.php:474 … … 499 499 msgstr "" 500 500 501 #: includes/Metabox.php:94 502 msgid "<a href=\"#\" id=\"copy_url\">Copy</a><p>The url to link to in your content.</p>" 503 msgstr "" 504 505 #: includes/Metabox.php:130 501 #: includes/Metabox.php:135 506 502 msgid "Mimimum Role Linkmanagement" 507 503 msgstr "" 508 504 509 #: includes/Metabox.php:13 3505 #: includes/Metabox.php:138 510 506 msgid "Administrator" 511 507 msgstr "" 512 508 513 #: includes/Metabox.php:13 4509 #: includes/Metabox.php:139 514 510 msgid "Editor" 515 511 msgstr "" 516 512 517 #: includes/Metabox.php:1 35513 #: includes/Metabox.php:140 518 514 msgid "Author" 519 515 msgstr "" 520 516 521 #: includes/Metabox.php:1 36517 #: includes/Metabox.php:141 522 518 msgid "Contributor" 523 519 msgstr "" 524 520 525 #: includes/Metabox.php:1 37521 #: includes/Metabox.php:142 526 522 msgid "Subscriber" 527 523 msgstr "" 528 524 529 #: includes/Metabox.php:14 0525 #: includes/Metabox.php:145 530 526 msgid "The minimum role a user needs in order to create, edit or delete LinkGenius Links. The settings page will remain visible for administrators only." 531 527 msgstr "" 532 528 533 #: includes/Metabox.php:2 26534 #: includes/Metabox.php:2 56529 #: includes/Metabox.php:231 530 #: includes/Metabox.php:261 535 531 msgid "Default settings, can be overriden per individual link." 536 532 msgstr "" 537 533 538 #: includes/Metabox.php:2 55534 #: includes/Metabox.php:260 539 535 msgid "Default disclosure settings" 540 536 msgstr "" 541 537 542 #: includes/Metabox.php:29 1538 #: includes/Metabox.php:296 543 539 msgid "Content disclosure settings" 544 540 msgstr "" 545 541 546 #: includes/Metabox.php: 398542 #: includes/Metabox.php:403 547 543 msgid "A lower order means earlier execution when dealing with conflicting keywords or urls" 548 544 msgstr "" … … 589 585 msgstr "" 590 586 591 #: includes/Metabox.php:1 67587 #: includes/Metabox.php:172 592 588 msgid "No Branding" 593 589 msgstr "" 594 590 595 #: includes/Metabox.php:1 69591 #: includes/Metabox.php:174 596 592 msgid "When enabled affiliate url of LinkGenius Links will be outputted in content instead of the slug." 597 593 msgstr "" 598 594 599 #: includes/Metabox.php:3 68595 #: includes/Metabox.php:373 600 596 msgid "Default: %s" 601 597 msgstr "" 602 598 603 #: includes/Metabox.php:37 0599 #: includes/Metabox.php:375 604 600 msgid "You can use the variables %s" 605 601 msgstr "" 602 603 #: includes/Metabox.php:94 604 msgid "Used for the URL you can link to." 605 msgstr "" 606 607 #: includes/Metabox.php:97 608 msgid "<p>LinkGenius Link URL: <a id=\"linkgenius_url\" href=\"%1$s\" target=\"_blank\">%1$s</a><br><a href=\"#\" id=\"copy_linkgenius_url\">Copy Url</a></p>" 609 msgstr "" 610 611 #: includes/Metabox.php:332 612 msgid "after_link_text_desc" 613 msgstr "" -
linkgenius/trunk/languages/linkgenius.pot
r3064466 r3097701 1 # Copyright (C) 202 3all-affiliates.com1 # Copyright (C) 2024 all-affiliates.com 2 2 # This file is distributed under the GPL2. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: LinkGenius 1.1. 3\n"5 "Project-Id-Version: LinkGenius 1.1.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/linkgenius\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 3-11-18T10:47:18+00:00\n"12 "POT-Creation-Date: 2024-06-04T14:22:37+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.7.1\n" … … 149 149 150 150 #: includes/Metabox.php:60 151 #: includes/Metabox.php:8 5152 #: includes/Metabox.php:16 1153 #: includes/Metabox.php:2 65151 #: includes/Metabox.php:86 152 #: includes/Metabox.php:166 153 #: includes/Metabox.php:270 154 154 msgid "Default (%s)" 155 155 msgstr "" … … 157 157 #: includes/Metabox.php:60 158 158 #: includes/Metabox.php:61 159 #: includes/Metabox.php:16 1160 #: includes/Metabox.php:16 2161 #: includes/Metabox.php:35 2159 #: includes/Metabox.php:166 160 #: includes/Metabox.php:167 161 #: includes/Metabox.php:357 162 162 msgid "Enabled" 163 163 msgstr "" … … 165 165 #: includes/Metabox.php:60 166 166 #: includes/Metabox.php:62 167 #: includes/Metabox.php:16 1168 #: includes/Metabox.php:16 3167 #: includes/Metabox.php:166 168 #: includes/Metabox.php:168 169 169 msgid "Disabled" 170 170 msgstr "" … … 182 182 msgstr "" 183 183 184 #: includes/Metabox.php:8 7184 #: includes/Metabox.php:88 185 185 msgid "Slug*" 186 186 msgstr "" 187 187 188 188 #: includes/Metabox.php:94 189 msgid "<a href=\"#\" id=\"copy_url\">Copy</a><p>The url to link to in your content.</p>" 190 msgstr "" 191 192 #: includes/Metabox.php:98 189 msgid "Used for the URL you can link to." 190 msgstr "" 191 192 #: includes/Metabox.php:97 193 msgid "<p>LinkGenius Link URL: <a id=\"linkgenius_url\" href=\"%1$s\" target=\"_blank\">%1$s</a><br><a href=\"#\" id=\"copy_linkgenius_url\">Copy Url</a></p>" 194 msgstr "" 195 196 #: includes/Metabox.php:103 193 197 msgid "Target URL*" 194 198 msgstr "" 195 199 196 #: includes/Metabox.php:10 4200 #: includes/Metabox.php:109 197 201 msgid "The target (affiliate) link." 198 202 msgstr "" 199 203 200 #: includes/Metabox.php:1 07201 #: includes/Metabox.php:3 89204 #: includes/Metabox.php:112 205 #: includes/Metabox.php:394 202 206 #: assets/app/src/linkgenius-taxonomy-selector.js:72 203 207 #: assets/js/editor/editor.js:2 … … 205 209 msgstr "" 206 210 207 #: includes/Metabox.php:1 16211 #: includes/Metabox.php:121 208 212 msgid "The order for the link, used when displaying all links of a tag or category" 209 213 msgstr "" 210 214 211 #: includes/Metabox.php:12 2215 #: includes/Metabox.php:127 212 216 msgid "Link Prefix" 213 217 msgstr "" 214 218 215 #: includes/Metabox.php:1 26219 #: includes/Metabox.php:131 216 220 msgid "The prefix for your link, for example <i>go, recommends, out, link, affiliate</i>. The link will look like <b>%1$sprefix/slug</b>." 217 221 msgstr "" 218 222 219 #: includes/Metabox.php:13 0223 #: includes/Metabox.php:135 220 224 msgid "Mimimum Role Linkmanagement" 221 225 msgstr "" 222 226 223 #: includes/Metabox.php:13 3227 #: includes/Metabox.php:138 224 228 msgid "Administrator" 225 229 msgstr "" 226 230 227 #: includes/Metabox.php:13 4231 #: includes/Metabox.php:139 228 232 msgid "Editor" 229 233 msgstr "" 230 234 231 #: includes/Metabox.php:1 35235 #: includes/Metabox.php:140 232 236 msgid "Author" 233 237 msgstr "" 234 238 235 #: includes/Metabox.php:1 36239 #: includes/Metabox.php:141 236 240 msgid "Contributor" 237 241 msgstr "" 238 242 239 #: includes/Metabox.php:1 37243 #: includes/Metabox.php:142 240 244 msgid "Subscriber" 241 245 msgstr "" 242 246 243 #: includes/Metabox.php:14 0247 #: includes/Metabox.php:145 244 248 msgid "The minimum role a user needs in order to create, edit or delete LinkGenius Links. The settings page will remain visible for administrators only." 245 249 msgstr "" 246 250 247 #: includes/Metabox.php:14 4251 #: includes/Metabox.php:149 248 252 msgid "Defaults" 249 253 msgstr "" 250 254 251 #: includes/Metabox.php:1 46255 #: includes/Metabox.php:151 252 256 msgid "Intro default general setings" 253 257 msgstr "" 254 258 255 #: includes/Metabox.php:15 1259 #: includes/Metabox.php:156 256 260 msgid "Redirect Type" 257 261 msgstr "" 258 262 259 #: includes/Metabox.php:1 67263 #: includes/Metabox.php:172 260 264 msgid "No Branding" 261 265 msgstr "" 262 266 263 #: includes/Metabox.php:1 69267 #: includes/Metabox.php:174 264 268 msgid "When enabled affiliate url of LinkGenius Links will be outputted in content instead of the slug." 265 269 msgstr "" 266 270 267 #: includes/Metabox.php:18 0271 #: includes/Metabox.php:185 268 272 msgid "Intro text appearance" 269 273 msgstr "" 270 274 271 #: includes/Metabox.php:18 3275 #: includes/Metabox.php:188 272 276 msgid "Global CSS Classes" 273 277 msgstr "" 274 278 275 #: includes/Metabox.php:18 3279 #: includes/Metabox.php:188 276 280 msgid "CSS Classes" 277 281 msgstr "" 278 282 279 #: includes/Metabox.php:1 86283 #: includes/Metabox.php:191 280 284 msgid "Comma separated list of CSS classes" 281 285 msgstr "" 282 286 283 #: includes/Metabox.php:19 2287 #: includes/Metabox.php:197 284 288 msgid "Open in New Tab" 285 289 msgstr "" 286 290 287 #: includes/Metabox.php:19 4291 #: includes/Metabox.php:199 288 292 msgid "Open the URL in a new tab when clicked. Done by adding target=\"_blank\" tag." 289 293 msgstr "" 290 294 291 #: includes/Metabox.php: 197295 #: includes/Metabox.php:202 292 296 msgid "Parameter Forwarding" 293 297 msgstr "" 294 298 295 #: includes/Metabox.php:20 1299 #: includes/Metabox.php:206 296 300 msgid "Sponsored Attribute" 297 301 msgstr "" 298 302 299 #: includes/Metabox.php:2 05303 #: includes/Metabox.php:210 300 304 msgid "Nofollow Attribute" 301 305 msgstr "" 302 306 303 #: includes/Metabox.php:21 0307 #: includes/Metabox.php:215 304 308 msgid "Global Additional Rel Tags" 305 309 msgstr "" 306 310 307 #: includes/Metabox.php:21 0311 #: includes/Metabox.php:215 308 312 msgid "Additional Rel Tags" 309 313 msgstr "" 310 314 311 #: includes/Metabox.php:21 3315 #: includes/Metabox.php:218 312 316 msgid "Comma separated list of additional rel tags" 313 317 msgstr "" 314 318 315 #: includes/Metabox.php:2 25319 #: includes/Metabox.php:230 316 320 msgid "Default Link appearance" 317 321 msgstr "" 318 322 319 #: includes/Metabox.php:2 26320 #: includes/Metabox.php:2 56323 #: includes/Metabox.php:231 324 #: includes/Metabox.php:261 321 325 msgid "Default settings, can be overriden per individual link." 322 326 msgstr "" 323 327 324 #: includes/Metabox.php:24 0328 #: includes/Metabox.php:245 325 329 msgid "None" 326 330 msgstr "" 327 331 328 #: includes/Metabox.php:24 1332 #: includes/Metabox.php:246 329 333 msgid "Tooltip" 330 334 msgstr "" 331 335 332 #: includes/Metabox.php:24 2333 #: includes/Metabox.php:28 2334 #: includes/Metabox.php:32 4336 #: includes/Metabox.php:247 337 #: includes/Metabox.php:287 338 #: includes/Metabox.php:329 335 339 msgid "Text After Link" 336 340 msgstr "" 337 341 338 #: includes/Metabox.php:24 3342 #: includes/Metabox.php:248 339 343 msgid "Content Statement" 340 344 msgstr "" 341 345 342 #: includes/Metabox.php:2 48346 #: includes/Metabox.php:253 343 347 msgid "Intro text disclosure" 344 348 msgstr "" 345 349 346 #: includes/Metabox.php:2 55350 #: includes/Metabox.php:260 347 351 msgid "Default disclosure settings" 348 352 msgstr "" 349 353 350 #: includes/Metabox.php:26 1354 #: includes/Metabox.php:266 351 355 msgid "Disclosure Type" 352 356 msgstr "" 353 357 354 #: includes/Metabox.php:2 75355 msgid "D efault Disclosure Tooltip"356 msgstr "" 357 358 #: includes/Metabox.php:2 78358 #: includes/Metabox.php:280 359 msgid "Disclosure Tooltip" 360 msgstr "" 361 362 #: includes/Metabox.php:283 359 363 msgid "default_tooltip_desc" 360 364 msgstr "" 361 365 362 #: includes/Metabox.php:291 366 #: includes/Metabox.php:290 367 msgid "default_after_link_text_desc" 368 msgstr "" 369 370 #: includes/Metabox.php:296 363 371 msgid "Content disclosure settings" 364 372 msgstr "" 365 373 366 #: includes/Metabox.php:29 4374 #: includes/Metabox.php:299 367 375 msgid "Content Disclosure Location" 368 376 msgstr "" 369 377 370 #: includes/Metabox.php: 298378 #: includes/Metabox.php:303 371 379 msgid "End of Post" 372 380 msgstr "" 373 381 374 #: includes/Metabox.php: 299382 #: includes/Metabox.php:304 375 383 msgid "Beginning of Post" 376 384 msgstr "" 377 385 378 #: includes/Metabox.php:30 0386 #: includes/Metabox.php:305 379 387 msgid "Custom (Via Shortcode or Action)" 380 388 msgstr "" 381 389 382 #: includes/Metabox.php:3 05390 #: includes/Metabox.php:310 383 391 msgid "Content Disclosure Text" 384 392 msgstr "" 385 393 386 #: includes/Metabox.php:31 4394 #: includes/Metabox.php:319 387 395 msgid "Disclosure Text" 388 396 msgstr "" 389 397 390 #: includes/Metabox.php:3 18391 #: includes/Metabox.php:3 29398 #: includes/Metabox.php:323 399 #: includes/Metabox.php:334 392 400 msgid "Default: %s" 393 401 msgstr "" 394 402 395 #: includes/Metabox.php:3 27403 #: includes/Metabox.php:332 396 404 msgid "after_link_text_desc" 397 405 msgstr "" 398 406 399 #: includes/Metabox.php:3 47407 #: includes/Metabox.php:352 400 408 msgid "Intro text GA tracking" 401 409 msgstr "" 402 410 403 #: includes/Metabox.php:3 56411 #: includes/Metabox.php:361 404 412 msgid "Event Name" 405 413 msgstr "" 406 414 407 #: includes/Metabox.php:36 4415 #: includes/Metabox.php:369 408 416 msgid "Event Parameters" 409 417 msgstr "" 410 418 411 #: includes/Metabox.php:3 68419 #: includes/Metabox.php:373 412 420 msgid "Default: %s" 413 421 msgstr "" 414 422 415 #: includes/Metabox.php:37 0423 #: includes/Metabox.php:375 416 424 msgid "You can use the variables %s" 417 425 msgstr "" 418 426 419 #: includes/Metabox.php:3 86427 #: includes/Metabox.php:391 420 428 msgid "Intro text autolink" 421 429 msgstr "" 422 430 423 #: includes/Metabox.php: 398431 #: includes/Metabox.php:403 424 432 msgid "A lower order means earlier execution when dealing with conflicting keywords or urls" 425 433 msgstr "" 426 434 427 #: includes/Metabox.php:40 1435 #: includes/Metabox.php:406 428 436 msgid "Keywords" 429 437 msgstr "" 430 438 431 #: includes/Metabox.php:40 4439 #: includes/Metabox.php:409 432 440 msgid "Enter keywords that will automatically create a link to this LinkGenius link if they occur in the page or post content. One keyword per line, case-insensitive." 433 441 msgstr "" 434 442 435 #: includes/Metabox.php:4 07443 #: includes/Metabox.php:412 436 444 msgid "URLs" 437 445 msgstr "" 438 446 439 #: includes/Metabox.php:41 0447 #: includes/Metabox.php:415 440 448 msgid "Enter URLs that will automatically be replaced with this LinkGenius link. One url per line." 441 449 msgstr "" 442 450 443 #: includes/Metabox.php:4 25451 #: includes/Metabox.php:430 444 452 msgid "Intro text expiration" 445 453 msgstr "" 446 454 447 #: includes/Metabox.php:4 28455 #: includes/Metabox.php:433 448 456 msgid "Expiration Date" 449 457 msgstr "" 450 458 451 #: includes/Metabox.php:43 1459 #: includes/Metabox.php:436 452 460 msgid "Date after which link expires. (optional)" 453 461 msgstr "" 454 462 455 #: includes/Metabox.php:43 4463 #: includes/Metabox.php:439 456 464 msgid "Expiration Clicks" 457 465 msgstr "" 458 466 459 #: includes/Metabox.php:44 3467 #: includes/Metabox.php:448 460 468 msgid "Number of clicks after which the link expires. (optional)" 461 469 msgstr "" 462 470 463 #: includes/Metabox.php:45 2471 #: includes/Metabox.php:457 464 472 msgid "Redirect After Expiry" 465 473 msgstr "" 466 474 467 #: includes/Metabox.php:4 55475 #: includes/Metabox.php:460 468 476 msgid "The url to redirect to after link expired (used only if date or clicks are set)." 469 477 msgstr "" … … 500 508 msgstr "" 501 509 502 #: includes/Shortcode.php: 59510 #: includes/Shortcode.php:61 503 511 msgid "You must specify a category or tag" 504 512 msgstr "" -
linkgenius/trunk/linkgenius.php
r3064466 r3097701 4 4 Plugin URI: https://all-affiliates.com/linkgenius/ 5 5 Description: LinkGenius is a powerful (affiliate) link management plugin. With LinkGenius, you can effortlessly organize, optimize, and track your (affiliate) links, unlocking a new level of efficiency. 6 Version: 1.1. 46 Version: 1.1.5 7 7 Author: all-affiliates.com 8 8 Author URI: https://all-affiliates.com -
linkgenius/trunk/readme.txt
r3064527 r3097701 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 48 Stable tag: 1.1.5 9 9 License: GPL2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 111 111 == Changelog == 112 112 113 = 1.1.5 = 114 - Added ability to pass additional link-attributes to the linkgenius-link shortcode and tag 115 - Added and updated translations 116 - Removed potential notice of buffer close, when maximum memory limit is reached 117 113 118 = 1.1.4 = 114 119 - Added linkgenius_additional_headers filter to allow adding or modifying additional headers on redirect 115 120 - Improved copy to clipboard functionality for unusual permalinks 116 121 - Introduced variables for tracking and destinations 122 - Tested on WordPress 6.5 117 123 118 124 = 1.1.3 =
Note: See TracChangeset
for help on using the changeset viewer.