| @@ -1,148 +1,148 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Add new Page | |
| 4 | - * | |
| 5 | - * @package Copy the Code | |
| 6 | - * @since 2.0.0 | |
| 7 | - */ | |
| 8 | - | |
| 9 | -?> | |
| 10 | -<div class="wrap copy-the-code"> | |
| 11 | - <div class="wrap"> | |
| 12 | - <p> | |
| 13 | - <a href="<?php echo admin_url( 'options-general.php?page=copy-to-clipboard-add-new' ); ?>" class="button button-primary">Add new</a> | |
| 14 | - <a href="<?php echo admin_url( 'edit.php?post_type=copy-to-clipboard' ); ?>" class="button">Back to List</a> | |
| 15 | - </p> | |
| 16 | - | |
| 17 | - <h1><?php echo esc_html( COPY_THE_CODE_TITLE ); ?> <small>v<?php echo esc_html( COPY_THE_CODE_VER ); ?></small></h1> | |
| 18 | - | |
| 19 | - <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> | |
| 20 | - | |
| 21 | - <div id="poststuff"> | |
| 22 | - <div id="post-body" class="columns-2"> | |
| 23 | - <div id="post-body-content"> | |
| 24 | - | |
| 25 | - <h2>Shortcode Information</h2> | |
| 26 | - | |
| 27 | - <h4>Example 1: Copy Same Display Text in Clipboard</h4> | |
| 28 | - | |
| 29 | - <p> | |
| 30 | - <code> | |
| 31 | - The zoom meeting is scheduled on data [copy]15 November 2022[/copy] please note down it. | |
| 32 | - </code> | |
| 33 | - </p> | |
| 34 | - | |
| 35 | - <p>Here, I have just wrapped the shortcode to the date 15 November 2022.</p> | |
| 36 | - | |
| 37 | - <p>In the above paragraph, Just click on "15 November 2022" which will copy to the clipboard.</p> | |
| 38 | - | |
| 39 | - <p><a href="https://clipboard.agency/doc/" target="_blank">Read more</a></p> | |
| 40 | - | |
| 41 | - <h4>Example 2: Copy Different Text than Display Text in Clipboard</h4> | |
| 42 | - | |
| 43 | - <p> | |
| 44 | - <code> | |
| 45 | - Hello Students,<br/> | |
| 46 | - | |
| 47 | - Please save the next meeting link [copy content="https://meet.google.com/_meet/mbz-zncr-efk?ijlm=1659873953647&adhoc=1&hs=187"]Click to Copy Meeting Link[/copy] for next meeting. | |
| 48 | - </code> | |
| 49 | - </p> | |
| 50 | - | |
| 51 | - <p>Here, I have just wrapped the shortcode to the meeting link.</p> | |
| 52 | - | |
| 53 | - <p>In the above paragraph, Just click on "Click to Copy Meeting Link" which will copy the meeting link into the clipboard.</p> | |
| 54 | - | |
| 55 | - <p><a href="https://clipboard.agency/doc/" target="_blank">Read more</a></p> | |
| 56 | - | |
| 57 | - <h4>See Short Video</h4> | |
| 58 | - | |
| 59 | - <p>See short video:</p> | |
| 60 | - | |
| 61 | - <iframe title="copy-content-with-shortcode-mp4" width="640" height="340" src="https://videopress.com/embed/Mo6nR60h?preloadContent=metadata&hd=1" frameborder="0" allowfullscreen=""></iframe> | |
| 62 | - | |
| 63 | - <p>That's it.</p> | |
| 64 | - | |
| 65 | - <p>Read more at <a href='https://clipboard.agency/doc/' target="_blank">copy with shortcode</a></p> | |
| 66 | - | |
| 67 | - </div> | |
| 68 | - <div class="postbox-container" id="postbox-container-1"> | |
| 69 | - | |
| 70 | - <?php if ( ctc_fs()->is_not_paying() ) { ?> | |
| 71 | - <div class="postbox upgrade"> | |
| 72 | - <h2 class="hndle"><span><?php _e( 'Awesome Premium Features', 'copy-the-code' ); ?></span></h2> | |
| 73 | - <div class="inside"> | |
| 74 | - <p> | |
| 75 | - <a href="<?php echo ctc_fs()->get_upgrade_url(); ?>"> | |
| 76 | - <?php esc_html_e( 'Upgrade Now!', 'copy-the-code' ); ?> | |
| 77 | - </a> | |
| 78 | - </p> | |
| 79 | - </div> | |
| 80 | - </div> | |
| 81 | - <?php } ?> | |
| 82 | - | |
| 83 | - <div class="postbox"> | |
| 84 | - <h2 class="hndle"><span><?php _e( 'Getting Started', 'copy-the-code' ); ?></span></h2> | |
| 85 | - <div class="inside"> | |
| 86 | - <div class="table-of-contents"> | |
| 87 | - <ol class="items"> | |
| 88 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Way 1 - Copy with Shortcode</a> | |
| 89 | - <ol> | |
| 90 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Example 1: Copy Same Display Text in | |
| 91 | - Clipboard</a></li> | |
| 92 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Example 2: Copy Different | |
| 93 | - Text than Display Text in Clipboard</a></li> | |
| 94 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Shortcode Parameters</a> | |
| 95 | - </li> | |
| 96 | - </ol> | |
| 97 | - </li> | |
| 98 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Way 2 - Copy with Target</a> | |
| 99 | - <ol> | |
| 100 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 1: How to add the copy | |
| 101 | - button to Blockquote</a></li> | |
| 102 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 2: How to add the copy | |
| 103 | - button to Code Snippet</a></li> | |
| 104 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 3: How to add the copy button | |
| 105 | - to HTML list</a> | |
| 106 | - </li> | |
| 107 | - </ol> | |
| 108 | - </li> | |
| 109 | - <li><a target="_blank" href="https://clipboard.agency/doc/">Other Customizations</a></li> | |
| 110 | - </ol> | |
| 111 | - </div> | |
| 112 | - </div> | |
| 113 | - </div> | |
| 114 | - | |
| 115 | - <div class="postbox"> | |
| 116 | - <h2 class="hndle"><span><?php _e( 'Support', 'copy-the-code' ); ?></span></h2> | |
| 117 | - <div class="inside"> | |
| 118 | - <p><?php _e( 'Do you have any issue with this plugin? Or Do you have any suggessions?', 'copy-the-code' ); ?></p> | |
| 119 | - <p><?php _e( 'Please don\'t hesitate to <a href="https://clipboard.agency/doc/" target="_blank">send request »</a>.', 'copy-the-code' ); ?></p> | |
| 120 | - </div> | |
| 121 | - </div> | |
| 122 | - | |
| 123 | - <?php if ( ctc_fs()->is_not_paying() ) { ?> | |
| 124 | - <div class="postbox"> | |
| 125 | - <h2 class="hndle"><span><?php _e( 'Donate', 'copy-the-code' ); ?></span></h2> | |
| 126 | - <div class="inside"> | |
| 127 | - <p><?php _e( 'Would you like to support the advancement of this plugin?', 'copy-the-code' ); ?></p> | |
| 128 | - <a href="https://www.paypal.me/mwaghmare7/" target="_blank" class="button button-primary"><?php _e( 'Donate Now!', 'copy-the-code' ); ?></a> | |
| 129 | - </div> | |
| 130 | - </div> | |
| 131 | - <style> | |
| 132 | - .upgrade a { | |
| 133 | - background: #ffb100; | |
| 134 | - color: black; | |
| 135 | - padding: 10px; | |
| 136 | - display: block; | |
| 137 | - text-align: center; | |
| 138 | - font-weight: 600; | |
| 139 | - border-radius: 5px; | |
| 140 | - } | |
| 141 | - </style> | |
| 142 | - <?php } ?> | |
| 143 | - | |
| 144 | - </div> | |
| 145 | - </div> | |
| 146 | - </div> | |
| 147 | - </div> | |
| 148 | -</div> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Add new Page | |
| 4 | + * | |
| 5 | + * @package Copy the Code | |
| 6 | + * @since 2.0.0 | |
| 7 | + */ | |
| 8 | + | |
| 9 | +?> | |
| 10 | +<div class="wrap copy-the-code"> | |
| 11 | + <div class="wrap"> | |
| 12 | + <p> | |
| 13 | + <a href="<?php echo admin_url( 'options-general.php?page=copy-to-clipboard-add-new' ); ?>" class="button button-primary">Add new</a> | |
| 14 | + <a href="<?php echo admin_url( 'edit.php?post_type=copy-to-clipboard' ); ?>" class="button">Back to List</a> | |
| 15 | + </p> | |
| 16 | + | |
| 17 | + <h1><?php echo esc_html( COPY_THE_CODE_TITLE ); ?> <small>v<?php echo esc_html( COPY_THE_CODE_VER ); ?></small></h1> | |
| 18 | + | |
| 19 | + <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> | |
| 20 | + | |
| 21 | + <div id="poststuff"> | |
| 22 | + <div id="post-body" class="columns-2"> | |
| 23 | + <div id="post-body-content"> | |
| 24 | + | |
| 25 | + <h2>Shortcode Information</h2> | |
| 26 | + | |
| 27 | + <h4>Example 1: Copy Same Display Text in Clipboard</h4> | |
| 28 | + | |
| 29 | + <p> | |
| 30 | + <code> | |
| 31 | + The zoom meeting is scheduled on data [copy]15 November 2022[/copy] please note down it. | |
| 32 | + </code> | |
| 33 | + </p> | |
| 34 | + | |
| 35 | + <p>Here, I have just wrapped the shortcode to the date 15 November 2022.</p> | |
| 36 | + | |
| 37 | + <p>In the above paragraph, Just click on "15 November 2022" which will copy to the clipboard.</p> | |
| 38 | + | |
| 39 | + <p><a href="https://clipboard.agency/doc/" target="_blank">Read more</a></p> | |
| 40 | + | |
| 41 | + <h4>Example 2: Copy Different Text than Display Text in Clipboard</h4> | |
| 42 | + | |
| 43 | + <p> | |
| 44 | + <code> | |
| 45 | + Hello Students,<br/> | |
| 46 | + | |
| 47 | + Please save the next meeting link [copy content="https://meet.google.com/_meet/mbz-zncr-efk?ijlm=1659873953647&adhoc=1&hs=187"]Click to Copy Meeting Link[/copy] for next meeting. | |
| 48 | + </code> | |
| 49 | + </p> | |
| 50 | + | |
| 51 | + <p>Here, I have just wrapped the shortcode to the meeting link.</p> | |
| 52 | + | |
| 53 | + <p>In the above paragraph, Just click on "Click to Copy Meeting Link" which will copy the meeting link into the clipboard.</p> | |
| 54 | + | |
| 55 | + <p><a href="https://clipboard.agency/doc/" target="_blank">Read more</a></p> | |
| 56 | + | |
| 57 | + <h4>See Short Video</h4> | |
| 58 | + | |
| 59 | + <p>See short video:</p> | |
| 60 | + | |
| 61 | + <iframe title="copy-content-with-shortcode-mp4" width="640" height="340" src="https://videopress.com/embed/Mo6nR60h?preloadContent=metadata&hd=1" frameborder="0" allowfullscreen=""></iframe> | |
| 62 | + | |
| 63 | + <p>That's it.</p> | |
| 64 | + | |
| 65 | + <p>Read more at <a href='https://clipboard.agency/doc/' target="_blank">copy with shortcode</a></p> | |
| 66 | + | |
| 67 | + </div> | |
| 68 | + <div class="postbox-container" id="postbox-container-1"> | |
| 69 | + | |
| 70 | + <?php if ( ctc_fs()->is_not_paying() ) { ?> | |
| 71 | + <div class="postbox upgrade"> | |
| 72 | + <h2 class="hndle"><span><?php _e( 'Awesome Premium Features', 'copy-the-code' ); ?></span></h2> | |
| 73 | + <div class="inside"> | |
| 74 | + <p> | |
| 75 | + <a href="<?php echo ctc_fs()->get_upgrade_url(); ?>"> | |
| 76 | + <?php esc_html_e( 'Upgrade Now!', 'copy-the-code' ); ?> | |
| 77 | + </a> | |
| 78 | + </p> | |
| 79 | + </div> | |
| 80 | + </div> | |
| 81 | + <?php } ?> | |
| 82 | + | |
| 83 | + <div class="postbox"> | |
| 84 | + <h2 class="hndle"><span><?php _e( 'Getting Started', 'copy-the-code' ); ?></span></h2> | |
| 85 | + <div class="inside"> | |
| 86 | + <div class="table-of-contents"> | |
| 87 | + <ol class="items"> | |
| 88 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Way 1 - Copy with Shortcode</a> | |
| 89 | + <ol> | |
| 90 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Example 1: Copy Same Display Text in | |
| 91 | + Clipboard</a></li> | |
| 92 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Example 2: Copy Different | |
| 93 | + Text than Display Text in Clipboard</a></li> | |
| 94 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Shortcode Parameters</a> | |
| 95 | + </li> | |
| 96 | + </ol> | |
| 97 | + </li> | |
| 98 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Way 2 - Copy with Target</a> | |
| 99 | + <ol> | |
| 100 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 1: How to add the copy | |
| 101 | + button to Blockquote</a></li> | |
| 102 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 2: How to add the copy | |
| 103 | + button to Code Snippet</a></li> | |
| 104 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Use Case 3: How to add the copy button | |
| 105 | + to HTML list</a> | |
| 106 | + </li> | |
| 107 | + </ol> | |
| 108 | + </li> | |
| 109 | + <li><a target="_blank" href="https://clipboard.agency/doc/">Other Customizations</a></li> | |
| 110 | + </ol> | |
| 111 | + </div> | |
| 112 | + </div> | |
| 113 | + </div> | |
| 114 | + | |
| 115 | + <div class="postbox"> | |
| 116 | + <h2 class="hndle"><span><?php _e( 'Support', 'copy-the-code' ); ?></span></h2> | |
| 117 | + <div class="inside"> | |
| 118 | + <p><?php _e( 'Do you have any issue with this plugin? Or Do you have any suggessions?', 'copy-the-code' ); ?></p> | |
| 119 | + <p><?php _e( 'Please don\'t hesitate to <a href="https://clipboard.agency/doc/" target="_blank">send request »</a>.', 'copy-the-code' ); ?></p> | |
| 120 | + </div> | |
| 121 | + </div> | |
| 122 | + | |
| 123 | + <?php if ( ctc_fs()->is_not_paying() ) { ?> | |
| 124 | + <div class="postbox"> | |
| 125 | + <h2 class="hndle"><span><?php _e( 'Donate', 'copy-the-code' ); ?></span></h2> | |
| 126 | + <div class="inside"> | |
| 127 | + <p><?php _e( 'Would you like to support the advancement of this plugin?', 'copy-the-code' ); ?></p> | |
| 128 | + <a href="https://www.paypal.me/mwaghmare7/" target="_blank" class="button button-primary"><?php _e( 'Donate Now!', 'copy-the-code' ); ?></a> | |
| 129 | + </div> | |
| 130 | + </div> | |
| 131 | + <style> | |
| 132 | + .upgrade a { | |
| 133 | + background: #ffb100; | |
| 134 | + color: black; | |
| 135 | + padding: 10px; | |
| 136 | + display: block; | |
| 137 | + text-align: center; | |
| 138 | + font-weight: 600; | |
| 139 | + border-radius: 5px; | |
| 140 | + } | |
| 141 | + </style> | |
| 142 | + <?php } ?> | |
| 143 | + | |
| 144 | + </div> | |
| 145 | + </div> | |
| 146 | + </div> | |
| 147 | + </div> | |
| 148 | +</div> | |