| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | <p> |
| 15 | 15 | <a href="<?php echo admin_url( 'edit.php?post_type=copy-to-clipboard' ); ?>" class="button">Back to List</a> |
| 16 | 16 | </p> |
| 17 | 17 | |
| 18 | - <p class="description"><?php _e( 'Add the new button as per your requirement. See more with <a target="_blank"href="https://maheshwaghmare.com/doc/copy-anything-to-clipboard/" target="_blank">getting started guide</a>', 'copy-the-code' ); ?></p> | |
| 18 | + <p class="description"><?php _e( 'Add the new button as per your requirement. See more with <a target="_blank" href="https://clipboard.agency/doc/" target="_blank">getting started guide</a>', 'copy-the-code' ); ?></p> | |
| 19 | 19 | |
| 20 | 20 | <div id="poststuff"> |
| 21 | 21 | <div id="post-body" class="columns-2"> |
| 22 | 22 | <div id="post-body-content"> |
| @@ -124,12 +124,12 @@ | ||
| 124 | 124 | * Customization Options |
| 125 | 125 | */ |
| 126 | 126 | $stored = get_option( 'ctc_default_style' ); |
| 127 | 127 | if ( empty( $stored ) ) { |
| 128 | - $stored = array(); | |
| 128 | + $stored = []; | |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | - $data = array( | |
| 131 | + $data = [ | |
| 132 | 132 | 'btn_color' => isset( $stored['btn_color'] ) ? $stored['btn_color'] : '#424242', |
| 133 | 133 | 'btn_bg_color' => isset( $stored['btn_bg_color'] ) ? $stored['btn_bg_color'] : '#e1e3e8', |
| 134 | 134 | 'btn_font_size' => isset( $stored['btn_font_size'] ) ? $stored['btn_font_size'] : '14', |
| 135 | 135 | 'btn_line_height' => isset( $stored['btn_line_height'] ) ? $stored['btn_line_height'] : '18', |
| @@ -159,9 +159,9 @@ | ||
| 159 | 159 | |
| 160 | 160 | // Cover |
| 161 | 161 | 'cover_color' => isset( $stored['cover_color'] ) ? $stored['cover_color'] : '#ffffff', |
| 162 | 162 | 'cover_font_size' => isset( $stored['cover_font_size'] ) ? $stored['cover_font_size'] : '14', |
| 163 | - ); | |
| 163 | + ]; | |
| 164 | 164 | $is_free = ctc_fs()->is_not_paying() ? 'is-free' : 'is-pro'; |
| 165 | 165 | ?> |
| 166 | 166 | <form id="ctc-style-form" class="<?php echo $is_free; ?>"> |
| 167 | 167 | |
| @@ -324,30 +324,30 @@ | ||
| 324 | 324 | <h2 class="hndle"><span><?php _e( 'Getting Started', 'copy-the-code' ); ?></span></h2> |
| 325 | 325 | <div class="inside"> |
| 326 | 326 | <div class="table-of-contents"> |
| 327 | 327 | <ol class="items"> |
| 328 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#way-1-copy-with-shortcode">Way 1 - Copy with Shortcode</a> | |
| 328 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Way 1 - Copy with Shortcode</a> | |
| 329 | 329 | <ol> |
| 330 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#example-1-copy-same-display-text-in-clipboard">Example 1: Copy Same Display Text in | |
| 330 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Example 1: Copy Same Display Text in | |
| 331 | 331 | Clipboard</a></li> |
| 332 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#example-2-copy-different-text-than-display-text-in-clipboard">Example 2: Copy Different | |
| 332 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Example 2: Copy Different | |
| 333 | 333 | Text than Display Text in Clipboard</a></li> |
| 334 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#shortcode-parameters">Shortcode Parameters</a> | |
| 334 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Shortcode Parameters</a> | |
| 335 | 335 | </li> |
| 336 | 336 | </ol> |
| 337 | 337 | </li> |
| 338 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#way-2-copy-with-target">Way 2 - Copy with Target</a> | |
| 338 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Way 2 - Copy with Target</a> | |
| 339 | 339 | <ol> |
| 340 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#use-case-1-how-to-add-the-copy-button-to-blockquote">Use Case 1: How to add the copy | |
| 340 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 1: How to add the copy | |
| 341 | 341 | button to Blockquote</a></li> |
| 342 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#use-case-2-how-to-add-the-copy-button-to-code-snippet">Use Case 2: How to add the copy | |
| 342 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 2: How to add the copy | |
| 343 | 343 | button to Code Snippet</a></li> |
| 344 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#use-case-3-how-to-add-the-copy-button-to-html-list">Use Case 3: How to add the copy button | |
| 344 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 3: How to add the copy button | |
| 345 | 345 | to HTML list</a> |
| 346 | 346 | </li> |
| 347 | 347 | </ol> |
| 348 | 348 | </li> |
| 349 | - <li><a target="_blank" href="https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#other-customizations">Other Customizations</a></li> | |
| 349 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Other Customizations</a></li> | |
| 350 | 350 | </ol> |
| 351 | 351 | </div> |
| 352 | 352 | </div> |
| 353 | 353 | </div> |
| @@ -355,9 +355,9 @@ | ||
| 355 | 355 | <div class="postbox"> |
| 356 | 356 | <h2 class="hndle"><span><?php _e( 'Support', 'copy-the-code' ); ?></span></h2> |
| 357 | 357 | <div class="inside"> |
| 358 | 358 | <p><?php _e( 'Do you have any issue with this plugin? Or Do you have any suggessions?', 'copy-the-code' ); ?></p> |
| 359 | - <p><?php _e( 'Please don\'t hesitate to <a href="http://maheshwaghmare.wordpress.com/?p=999" target="_blank">send request »</a>.', 'copy-the-code' ); ?></p> | |
| 359 | + <p><?php _e( 'Please don\'t hesitate to <a href="https://clipboard.agency/doc/" target="_blank">send request »</a>.', 'copy-the-code' ); ?></p> | |
| 360 | 360 | </div> |
| 361 | 361 | </div> |
| 362 | 362 | |
| 363 | 363 | <?php if ( ctc_fs()->is_not_paying() ) { ?> |