├── 01. Basic Structure └── simple-scroll-to-top-wp │ └── simple-scroll-to-top-wp.php ├── 02. Plugin Info Setup └── simple-scroll-to-top-wp │ ├── license.txt │ └── simple-scroll-to-top-wp.php ├── 03. Plugin File management ├── scroll-top │ ├── LICENSE │ ├── admin │ │ └── admin.php │ ├── assets │ │ ├── css │ │ │ ├── scroll-top-admin.css │ │ │ └── scroll-top.css │ │ └── js │ │ │ ├── jquery.scrollUp.min.js │ │ │ └── scroll-top-admin.js │ ├── inc │ │ └── functions.php │ ├── languages │ │ └── scroll-top.pot │ ├── readme.txt │ ├── scroll-top.php │ └── uninstall.php └── simple-scroll-to-top-wp │ ├── css │ └── sstt-style.css │ ├── img │ └── top.png │ ├── js │ └── sstt-plugin.js │ ├── license.txt │ └── simple-scroll-to-top-wp.php ├── 04. Plugin File management └── simple-scroll-to-top-wp │ ├── css │ └── sstt-style.css │ ├── img │ └── top.png │ ├── js │ └── sstt-plugin.js │ ├── license.txt │ └── simple-scroll-to-top-wp.php ├── 05. Plugin function customization └── simple-scroll-to-top-wp │ ├── css │ └── sstt-style.css │ ├── img │ └── top.png │ ├── js │ └── sstt-plugin.js │ ├── license.txt │ └── simple-scroll-to-top-wp.php ├── 06. Upload plugin to wordpress └── simple-scroll-to-top-wp │ ├── css │ └── sstt-style.css │ ├── img │ └── top.png │ ├── js │ └── sstt-plugin.js │ ├── license.txt │ ├── link.txt │ ├── readme.txt │ └── simple-scroll-to-top-wp.php ├── 07. Upload plugin A2Z └── wpplugin │ ├── link.txt │ └── simple-scroll-to-top-wp │ ├── assets │ ├── banner-772x250.png │ ├── icon-256x256.png │ ├── screenshot-1.png │ ├── screenshot-2.png │ ├── screenshot-3.png │ └── screenshot-4.png │ └── trunk │ ├── css │ └── sstt-style.css │ ├── img │ └── top.png │ ├── js │ └── sstt-plugin.js │ ├── license.txt │ ├── readme.txt │ └── simple-scroll-to-top-wp.php ├── 08. Update Plugin └── simple-scroll-to-top-wp │ ├── assets │ ├── banner-772x250.png │ ├── icon-256x256.png │ ├── screenshot-1.png │ ├── screenshot-2.png │ ├── screenshot-3.png │ └── screenshot-4.png │ └── trunk │ ├── css │ └── sstt-style.css │ ├── img │ └── top.png │ ├── js │ └── sstt-plugin.js │ ├── license.txt │ ├── readme.txt │ └── simple-scroll-to-top-wp.php ├── 09. Basic Structure └── customizer-login-page-wp │ ├── customizer-login-page-wp.php │ ├── license.txt │ └── readme.txt ├── 10. Plugin Page Creation └── customizer-login-page-wp │ ├── customizer-login-page-wp.php │ ├── license.txt │ └── readme.txt ├── 11. Static Plugin Creation └── customizer-login-page-wp │ ├── css │ └── clpwp-styles.css │ ├── customizer-login-page-wp.php │ ├── img │ ├── login.jpg │ └── logo-sm.png │ ├── license.txt │ └── readme.txt ├── 12. Plugin Custom Option Page └── customizer-login-page-wp │ ├── css │ └── clpwp-styles.css │ ├── customizer-login-page-wp.php │ ├── img │ ├── login.jpg │ └── logo-sm.png │ ├── license.txt │ └── readme.txt ├── 13. Plugin Option Page Design └── customizer-login-page-wp │ ├── css │ ├── clpwp-admin-style.css │ └── clpwp-styles.css │ ├── customizer-login-page-wp.php │ ├── img │ ├── login.jpg │ └── logo-sm.png │ ├── license.txt │ └── readme.txt ├── 14. Plugin Option └── customizer-login-page-wp │ ├── css │ ├── clpwp-admin-style.css │ └── clpwp-styles.css │ ├── customizer-login-page-wp.php │ ├── img │ ├── login.jpg │ └── logo-sm.png │ ├── license.txt │ └── readme.txt ├── 16. Plugin Upload └── customizer-login-page-wp │ ├── css │ ├── clpwp-admin-style.css │ └── clpwp-styles.css │ ├── customizer-login-page-wp.php │ ├── img │ ├── author.png │ ├── buyme.png │ ├── login.jpg │ └── logo-sm.png │ ├── license.txt │ └── readme.txt └── README.md /01. Basic Structure/simple-scroll-to-top-wp/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /02. Plugin Info Setup/simple-scroll-to-top-wp/license.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | -------------------------------------------------------------------------------- /02. Plugin Info Setup/simple-scroll-to-top-wp/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/assets/css/scroll-top-admin.css: -------------------------------------------------------------------------------- 1 | .scroll-top-settings .inside img { 2 | width: 100%; 3 | } 4 | 5 | .scroll-top-settings .form-table tr:nth-child(5) { 6 | display: none; 7 | } 8 | 9 | .scroll-top-settings .checkbox-img label input[type="radio"] { 10 | vertical-align: top; 11 | margin-top: 2px; 12 | } 13 | 14 | .form-table td fieldset.scroll-top-vertical label { 15 | display: inline-block; 16 | margin-right: 2em !important; 17 | } 18 | 19 | .scroll-top-demo { 20 | width: 40px; 21 | height: 40px; 22 | background: #000; 23 | display: inline-block; 24 | text-align: center; 25 | } 26 | 27 | .scroll-top-demo-rounded { 28 | border-radius: 3px; 29 | } 30 | 31 | .scroll-top-demo-circle { 32 | border-radius: 50%; 33 | } 34 | -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/assets/css/scroll-top.css: -------------------------------------------------------------------------------- 1 | #scrollUp { 2 | width: 40px; 3 | height: 40px; 4 | } 5 | 6 | #scrollUp .scroll-top { 7 | display: flex; 8 | flex-wrap: wrap; 9 | align-items: center; 10 | justify-content: center; 11 | } 12 | -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/assets/js/jquery.scrollUp.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("
",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/assets/js/scroll-top-admin.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function ($) { 2 | // Initialize color picker. 3 | $(".color-scroll").wpColorPicker(); 4 | 5 | // Show/hide text field 6 | var $td = $(".scroll-top-settings .form-table tr:nth-child(5)"); 7 | $(".scroll-top-type").on("click", function () { 8 | if ($(this).attr("value") === "text") { 9 | $td.show("medium"); 10 | } else { 11 | $td.hide("medium"); 12 | } 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/inc/functions.php: -------------------------------------------------------------------------------- 1 | true, 15 | 'scroll_top_mobile_enable' => true, 16 | 'scroll_top_async_enable' => true, 17 | 'scroll_top_type' => 'icon', 18 | 'scroll_top_text' => esc_html__( 'Back to Top', 'scroll-top' ), 19 | 'scroll_top_position' => 'right', 20 | 'scroll_top_color' => '#ffffff', 21 | 'scroll_top_bg_color' => '#000000', 22 | 'scroll_top_radius' => 'rounded', 23 | 'scroll_top_animation' => 'fade', 24 | 'scroll_top_speed' => 300, 25 | 'scroll_top_distance' => 300, 26 | 'scroll_top_target' => '', 27 | 'scroll_top_css' => '', 28 | ); 29 | 30 | // Allow dev to filter the default settings. 31 | return apply_filters( 'scroll_top_default_settings', $default_settings ); 32 | } 33 | 34 | /** 35 | * Function for quickly grabbing settings for the plugin without having to call get_option() 36 | * every time we need a setting. 37 | * 38 | * @param string $option The option name. 39 | * @return string 40 | */ 41 | function scroll_top_get_plugin_settings( $option = '' ) { 42 | $settings = get_option( 'scroll_top_plugin_settings', scroll_top_get_default_settings() ); 43 | return isset( $settings[ $option ] ) ? $settings[ $option ] : false; 44 | } 45 | 46 | /** 47 | * Loads the scripts for the plugin. 48 | */ 49 | function scroll_top_load_scripts() { 50 | 51 | // Get the enable option. 52 | $enable = scroll_top_get_plugin_settings( 'scroll_top_enable' ); 53 | 54 | // Check if scroll top enable. 55 | if ( $enable ) { 56 | 57 | // Load the plugin front-end style. 58 | wp_enqueue_style( 'scroll-top-css', trailingslashit( ST_ASSETS ) . 'css/scroll-top.css', null, ST_VERSION ); 59 | 60 | // Load the jQuery plugin. 61 | wp_enqueue_script( 'scroll-top-js', trailingslashit( ST_ASSETS ) . 'js/jquery.scrollUp.min.js', array( 'jquery' ), ST_VERSION, true ); 62 | } 63 | } 64 | add_action( 'wp_enqueue_scripts', 'scroll_top_load_scripts' ); 65 | 66 | /** 67 | * Async javascript. 68 | * 69 | * @param string $tag The script tag. 70 | * @param string $handle The script handle. 71 | * @since 1.5 72 | */ 73 | function scroll_top_async_scripts( $tag, $handle ) { 74 | // Get the async option value. 75 | $async = scroll_top_get_plugin_settings( 'scroll_top_async_enable' ); 76 | 77 | if ( ! $async || 'scroll-top-js' !== $handle ) { 78 | return $tag; 79 | } 80 | 81 | return str_replace( ' src', ' async defer src', $tag ); 82 | } 83 | add_filter( 'script_loader_tag', 'scroll_top_async_scripts', 10, 2 ); 84 | 85 | /** 86 | * Initialize the scrollup jquery plugin. 87 | */ 88 | function scroll_top_scrollup_init() { 89 | 90 | // Get the plugin settings value. 91 | $enable = scroll_top_get_plugin_settings( 'scroll_top_enable' ); 92 | $speed = scroll_top_get_plugin_settings( 'scroll_top_speed' ); 93 | $dist = scroll_top_get_plugin_settings( 'scroll_top_distance' ); 94 | $target = scroll_top_get_plugin_settings( 'scroll_top_target' ); 95 | $animate = scroll_top_get_plugin_settings( 'scroll_top_animation' ); 96 | $type = scroll_top_get_plugin_settings( 'scroll_top_type' ); 97 | $text = scroll_top_get_plugin_settings( 'scroll_top_text' ); 98 | 99 | // Scroll top type. 100 | $scroll_type = ''; 101 | if ( 'text' === $type ) { 102 | $scroll_type = esc_attr( $text ); 103 | } else { 104 | $scroll_type = ''; 105 | } 106 | 107 | // Scroll target. 108 | $scroll_target = ''; 109 | if ( ! empty( $target ) ) { 110 | $scroll_target = $target; 111 | } 112 | 113 | // Loads the scroll top. 114 | if ( $enable ) { 115 | echo ' 116 | ' . "\n"; 127 | } 128 | } 129 | add_action( 'wp_footer', 'scroll_top_scrollup_init', 99 ); 130 | 131 | /** 132 | * Custom inline css for plugin usage. 133 | */ 134 | function scroll_top_custom_css() { 135 | 136 | // Get the plugin settings value. 137 | $enable = scroll_top_get_plugin_settings( 'scroll_top_enable' ); 138 | $mobile = scroll_top_get_plugin_settings( 'scroll_top_mobile_enable' ); 139 | $color = scroll_top_get_plugin_settings( 'scroll_top_color' ); 140 | $bgcolor = scroll_top_get_plugin_settings( 'scroll_top_bg_color' ); 141 | $radius = scroll_top_get_plugin_settings( 'scroll_top_radius' ); 142 | $position = scroll_top_get_plugin_settings( 'scroll_top_position' ); 143 | $type = scroll_top_get_plugin_settings( 'scroll_top_type' ); 144 | $css = scroll_top_get_plugin_settings( 'scroll_top_css' ); 145 | 146 | // Border radius. 147 | $scroll_radius = '0'; 148 | if ( 'rounded' === $radius ) { 149 | $scroll_radius = '3px'; 150 | } elseif ( 'circle' === $radius ) { 151 | $scroll_radius = '50%'; 152 | } 153 | 154 | // Scroll top position. 155 | $scroll_position = ''; 156 | if ( 'right' === $position ) { 157 | $scroll_position = 'right:20px;'; 158 | } else { 159 | $scroll_position = 'left:20px;'; 160 | } 161 | 162 | // Scroll top font-size. 163 | $scroll_fontsize = ''; 164 | if ( 'text' === $type ) { 165 | $scroll_fontsize = 'font-size: 15px; width: auto !important; height: auto !important; padding: 5px 10px; text-decoration: none; color: ' . esc_attr( $color ) . ''; 166 | } 167 | 168 | // Enable on mobile. 169 | $scroll_mobile = ''; 170 | if ( false === $mobile ) { 171 | $scroll_mobile = '@media (max-width: 567px) { #scrollUp { display: none !important; } };'; 172 | } 173 | 174 | if ( $enable ) { 175 | echo '' . "\n"; 176 | echo '' . "\n"; 183 | echo '' . "\n"; 184 | } 185 | } 186 | add_action( 'wp_head', 'scroll_top_custom_css' ); 187 | -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/languages/scroll-top.pot: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022 Scroll Top 2 | # This file is distributed under the same license as the Scroll Top package. 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: Scroll Top\n" 6 | "MIME-Version: 1.0\n" 7 | "Content-Type: text/plain; charset=UTF-8\n" 8 | "Content-Transfer-Encoding: 8bit\n" 9 | "POT-Creation-Date: 2022-09-30 16:50+0000\n" 10 | "X-Poedit-Basepath: ..\n" 11 | "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" 12 | "X-Poedit-SearchPath-0: .\n" 13 | "X-Poedit-SearchPathExcluded-0: *.js\n" 14 | "X-Poedit-SourceCharset: UTF-8\n" 15 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 16 | 17 | #: admin/admin.php:16, admin/admin.php:502 18 | msgid "Scroll To Top Settings" 19 | msgstr "" 20 | 21 | #: admin/admin.php:17 22 | msgid "Scroll To Top" 23 | msgstr "" 24 | 25 | #: admin/admin.php:78, admin/admin.php:211 26 | msgid "Enable" 27 | msgstr "" 28 | 29 | #: admin/admin.php:87, admin/admin.php:231 30 | msgid "Mobile" 31 | msgstr "" 32 | 33 | #: admin/admin.php:96, admin/admin.php:251 34 | msgid "Async script" 35 | msgstr "" 36 | 37 | #: admin/admin.php:105, admin/admin.php:271 38 | msgid "Type" 39 | msgstr "" 40 | 41 | #: admin/admin.php:114, admin/admin.php:280 42 | msgid "Text" 43 | msgstr "" 44 | 45 | #: admin/admin.php:123, admin/admin.php:307 46 | msgid "Position" 47 | msgstr "" 48 | 49 | #: admin/admin.php:132 50 | msgid "Color" 51 | msgstr "" 52 | 53 | #: admin/admin.php:141 54 | msgid "Background Color" 55 | msgstr "" 56 | 57 | #: admin/admin.php:150 58 | msgid "Style" 59 | msgstr "" 60 | 61 | #: admin/admin.php:159, admin/admin.php:430 62 | msgid "Animation" 63 | msgstr "" 64 | 65 | #: admin/admin.php:168 66 | msgid "Speed" 67 | msgstr "" 68 | 69 | #: admin/admin.php:177 70 | msgid "Distance" 71 | msgstr "" 72 | 73 | #: admin/admin.php:186 74 | msgid "Target (optional)" 75 | msgstr "" 76 | 77 | #: admin/admin.php:195 78 | msgid "Custom CSS" 79 | msgstr "" 80 | 81 | #: admin/admin.php:215 82 | msgid "Enable Back To Top?" 83 | msgstr "" 84 | 85 | #: admin/admin.php:235 86 | msgid "Enable on mobile?" 87 | msgstr "" 88 | 89 | #: admin/admin.php:255 90 | msgid "Enable async to improve performance." 91 | msgstr "" 92 | 93 | #: admin/admin.php:275 94 | msgid "Icon" 95 | msgstr "" 96 | 97 | #: admin/admin.php:311 98 | msgid "Right Side" 99 | msgstr "" 100 | 101 | #: admin/admin.php:316 102 | msgid "Left Side" 103 | msgstr "" 104 | 105 | #: admin/admin.php:351 106 | msgid "Radius" 107 | msgstr "" 108 | 109 | #: admin/admin.php:372 110 | msgid "Rounded" 111 | msgstr "" 112 | 113 | #: admin/admin.php:394 114 | msgid "Square" 115 | msgstr "" 116 | 117 | #: admin/admin.php:416 118 | msgid "Circle" 119 | msgstr "" 120 | 121 | #: admin/admin.php:434 122 | msgid "Fade" 123 | msgstr "" 124 | 125 | #: admin/admin.php:439 126 | msgid "Slide" 127 | msgstr "" 128 | 129 | #: admin/admin.php:444 130 | msgid "None" 131 | msgstr "" 132 | 133 | #: admin/admin.php:458 134 | msgid " millisecond" 135 | msgstr "" 136 | 137 | #: admin/admin.php:469 138 | msgid " px" 139 | msgstr "" 140 | 141 | #: admin/admin.php:480 142 | msgid " example: #page" 143 | msgstr "" 144 | 145 | #: admin/admin.php:512 146 | msgid "Save Settings" 147 | msgstr "" 148 | 149 | #: inc/functions.php:18 150 | msgid "Back to Top" 151 | msgstr "" 152 | -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/readme.txt: -------------------------------------------------------------------------------- 1 | === Scroll To Top === 2 | Contributors: satrya 3 | Donate link: https://paypal.me/satrya 4 | Tags: back to top, button, to top, jquery, scroll to top, scroll top, customization 5 | Requires at least: 5.6 6 | Tested up to: 6.1 7 | Requires PHP: 7.2 8 | Stable tag: 1.5 9 | License: GPLv2 or later 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 | 12 | Automaticlly adds a flexible Back to Top button to your WordPress website that allows your visitor to scroll back to the top of your page with one click! 13 | 14 | == Description == 15 | 16 | This plugin will automaticlly enable a custom and flexible **Back to Top** button to your WordPress website that allows your visitor to scroll back to the top of your page with one click! 17 | 18 | = Features Include: = 19 | 20 | * No setup needed. 21 | * Unlimited colors. 22 | * Async JavaScript. 23 | * **SVG Icon**. 24 | * Custom target. 25 | * Disable on mobile. 26 | * Choose text or icon. 27 | * Customizable text. 28 | * Position switcher (left or right). 29 | * Change animation you like. 30 | 31 | = Important Links = 32 | 33 | * [Support & donate](https://paypal.me/satrya). 34 | * Translate to [your language](https://translate.wordpress.org/projects/wp-plugins/scroll-top/). 35 | * Contribute or submit issues on [Github](https://github.com/gasatrya/scroll-top). 36 | 37 | == Installation == 38 | 39 | **Through Dashboard** 40 | 41 | 1. Log in to your WordPress admin panel and go to Plugins -> Add New 42 | 2. Type **scroll top** in the search box and click on search button. 43 | 3. Find ID Back To Top plugin. 44 | 4. Then click on Install Now after that activate the plugin. 45 | 5. Go to Settings -> Back To Top. 46 | 47 | **Installing Via FTP** 48 | 49 | 1. Download the plugin to your hardisk. 50 | 2. Unzip. 51 | 3. Upload the "scroll-top" folder into your plugins directory. 52 | 4. Log in to your WordPress admin panel and click the Plugins menu. 53 | 5. Then activate the plugin. 54 | 6. Go to Settings -> Back To Top. 55 | 56 | == Screenshots == 57 | 58 | 1. The plugin settings. 59 | 60 | == Changelog == 61 | 62 | = 1.5 = 63 | *Release date: Sept 31, 2022* 64 | 65 | - **Enhancements:** Async JavaScript to improve performance. 66 | - **Enhancements:** Code refactor, follow latest WordPress coding standard. 67 | - **Fixed:** Disable on mobile issue fix. 68 | - **Fixed:** Text type bug. 69 | 70 | = 1.4.1 = 71 | *Release date: Sept 31, 2022* 72 | 73 | * Fixed: important security issue. Thanks to WPScan 74 | * Fixed: properly sanitize & escape user input. 75 | * Fixed: cross browser issue. 76 | 77 | -------------------------------------------------------------------------------- /03. Plugin File management/scroll-top/scroll-top.php: -------------------------------------------------------------------------------- 1 | ",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /03. Plugin File management/simple-scroll-to-top-wp/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /04. Plugin File management/simple-scroll-to-top-wp/css/sstt-style.css: -------------------------------------------------------------------------------- 1 | /* Image style */ 2 | #scrollUp { 3 | background-image: url("../img/top.png"); 4 | background-color: black; 5 | bottom: 5px; 6 | right: 5px; 7 | width: 38px; /* Width of image */ 8 | height: 38px; /* Height of image */ 9 | text-indent: -9999999px; 10 | display: block; 11 | } 12 | -------------------------------------------------------------------------------- /04. Plugin File management/simple-scroll-to-top-wp/img/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/04. Plugin File management/simple-scroll-to-top-wp/img/top.png -------------------------------------------------------------------------------- /04. Plugin File management/simple-scroll-to-top-wp/js/sstt-plugin.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /04. Plugin File management/simple-scroll-to-top-wp/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | 33 | 38 | -------------------------------------------------------------------------------- /05. Plugin function customization/simple-scroll-to-top-wp/css/sstt-style.css: -------------------------------------------------------------------------------- 1 | /* Image style */ 2 | #scrollUp { 3 | background-image: url("../img/top.png"); 4 | background-color: black; 5 | bottom: 5px; 6 | right: 5px; 7 | width: 38px; /* Width of image */ 8 | height: 38px; /* Height of image */ 9 | text-indent: -9999999px; 10 | display: block; 11 | } 12 | -------------------------------------------------------------------------------- /05. Plugin function customization/simple-scroll-to-top-wp/img/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/05. Plugin function customization/simple-scroll-to-top-wp/img/top.png -------------------------------------------------------------------------------- /05. Plugin function customization/simple-scroll-to-top-wp/js/sstt-plugin.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /05. Plugin function customization/simple-scroll-to-top-wp/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | 34 | 39 | add_section('sstt_scroll_top_section', array( 48 | 'title' => __('Scroll To Top', 'alihossain'), 49 | 'description' => 'Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website.', 50 | )); 51 | 52 | $wp_customize ->add_setting('sstt_default_color', array( 53 | 'default' => '#000000', 54 | )); 55 | $wp_customize->add_control('sstt_default_color', array( 56 | 'label' => 'Background Color', 57 | 'section' => 'sstt_scroll_top_section', 58 | 'type' => 'color', 59 | )); 60 | // Adding Rounded Corner 61 | $wp_customize ->add_setting('sstt_rounded_corner', array( 62 | 'default' => '5px', 63 | 'description' => 'If you need fully rounded or circular then use 25px here.', 64 | )); 65 | $wp_customize->add_control('sstt_rounded_corner', array( 66 | 'label' => 'Rounded Corner', 67 | 'section' => 'sstt_scroll_top_section', 68 | 'type' => 'text', 69 | )); 70 | } 71 | 72 | // Theme CSS Customization 73 | function sstt_theme_color_cus(){ 74 | ?> 75 | 81 | -------------------------------------------------------------------------------- /06. Upload plugin to wordpress/simple-scroll-to-top-wp/css/sstt-style.css: -------------------------------------------------------------------------------- 1 | /* Image style */ 2 | #scrollUp { 3 | background-image: url("../img/top.png"); 4 | background-color: black; 5 | bottom: 5px; 6 | right: 5px; 7 | width: 38px; /* Width of image */ 8 | height: 38px; /* Height of image */ 9 | text-indent: -9999999px; 10 | display: block; 11 | } 12 | -------------------------------------------------------------------------------- /06. Upload plugin to wordpress/simple-scroll-to-top-wp/img/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/06. Upload plugin to wordpress/simple-scroll-to-top-wp/img/top.png -------------------------------------------------------------------------------- /06. Upload plugin to wordpress/simple-scroll-to-top-wp/js/sstt-plugin.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /06. Upload plugin to wordpress/simple-scroll-to-top-wp/link.txt: -------------------------------------------------------------------------------- 1 | https://wordpress.org/plugins/developers/add/ -------------------------------------------------------------------------------- /06. Upload plugin to wordpress/simple-scroll-to-top-wp/readme.txt: -------------------------------------------------------------------------------- 1 | === Scroll To Top WP=== 2 | Contributors: shovoalways 3 | Donate link: https://www.buymeacoffee.com/aliHossain 4 | Author URI: https://www.alihossain.com/ 5 | Plugin URI: https://wordpress.org/plugins/simple-scroll-top-wp/ 6 | Tags: Simple Scroll To Top, Scroll To Top, Back to Top button, Back to Top. 7 | Requires at least: 5.2 8 | Tested up to: 6.1.1 9 | Stable tag: 5.2.2 10 | License: GPLv2 or later 11 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 | 13 | Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website. 14 | 15 | == Description == 16 | Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website. 17 | 18 | Plugin Documentation: [https://wordpress.org/plugins/simple-scroll-top-wp/](https://wordpress.org/plugins/simple-scroll-top-wp/) 19 | 20 | * [Live Demo](https://www.alihossain.com/blog/simple-scroll-top-wp/) 21 | * [Need Help?](https://www.alihossain.com/contact/) 22 | * [About Author](https://github.com/shovoalways) 23 | 24 | == Video Tutorial == 25 | Include Soon! 26 | 27 | == You can changes settings == 28 | * No setup needed. 29 | * Unlimited colors. 30 | 31 | 32 | You can make my day by submitting a positive review on WordPress.org! 33 | 34 | = Usage = 35 | 36 | * Go to your Dashboard after installation and navigate to "Appearance > Customize > Scroll To Top" to configure the accordion. 37 | 38 | = Features = 39 | 40 | * Very easy installation 41 | * Flexible and easy to use 42 | 43 | 44 | == Installation == 45 | 1. Upload `simple-scroll-top-wp` to the `/wp-content/plugins/` directory 46 | 2. Activate the plugin through the 'Plugins' menu in WordPress 47 | 48 | 49 | == Frequently asked questions == 50 | = Do I need to setup anything? = 51 | No. 52 | 53 | 54 | == Screenshots == 55 | 1. Front End 56 | 2. Ticker Settings 57 | 3. Back End 58 | 59 | 60 | == Changelog == 61 | 62 | = 1.0.0 = 63 | 64 | * Initial version. 65 | 66 | 67 | == Upgrade notice == 68 | N/A. -------------------------------------------------------------------------------- /06. Upload plugin to wordpress/simple-scroll-to-top-wp/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | 34 | 39 | add_section('sstt_scroll_top_section', array( 48 | 'title' => __('Scroll To Top', 'alihossain'), 49 | 'description' => 'Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website.', 50 | )); 51 | 52 | $wp_customize ->add_setting('sstt_default_color', array( 53 | 'default' => '#000000', 54 | )); 55 | $wp_customize->add_control('sstt_default_color', array( 56 | 'label' => 'Background Color', 57 | 'section' => 'sstt_scroll_top_section', 58 | 'type' => 'color', 59 | )); 60 | // Adding Rounded Corner 61 | $wp_customize ->add_setting('sstt_rounded_corner', array( 62 | 'default' => '5px', 63 | 'description' => 'If you need fully rounded or circular then use 25px here.', 64 | )); 65 | $wp_customize->add_control('sstt_rounded_corner', array( 66 | 'label' => 'Rounded Corner', 67 | 'section' => 'sstt_scroll_top_section', 68 | 'type' => 'text', 69 | )); 70 | } 71 | 72 | // Theme CSS Customization 73 | function sstt_theme_color_cus(){ 74 | ?> 75 | 81 | -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/link.txt: -------------------------------------------------------------------------------- 1 | Upload Plugin to WordPress.org 👇 2 | ============================================= 3 | https://wordpress.org/plugins/developers/add/ 4 | 5 | 6 | Plugin Assets Guide 👇 7 | ====================== 8 | https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/ 9 | 10 | 11 | SVN Upload Guide 👇 12 | ============================ 13 | https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/ 14 | 15 | 16 | Plugin URL 😍 17 | =================================== 18 | https://wordpress.org/plugins/simple-scroll-top-wp/ 19 | 20 | 21 | Assets Folder File Instruction 👇 22 | ===================================== 23 | banner-772x250.png 24 | icon-256x256.png 25 | screenshot-1.png 👉 900x500 26 | 27 | 28 | 29 | For Windows, I recommend TortoiseSVN 👉 https://tortoisesvn.net/ 30 | For Mac, 👉 https://www.openhub.net/p/scplugin 31 | -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/banner-772x250.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/banner-772x250.png -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/icon-256x256.png -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-1.png -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-2.png -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-3.png -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/assets/screenshot-4.png -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/trunk/css/sstt-style.css: -------------------------------------------------------------------------------- 1 | /* Image style */ 2 | #scrollUp { 3 | background-image: url("../img/top.png"); 4 | background-color: black; 5 | bottom: 5px; 6 | right: 5px; 7 | width: 38px; /* Width of image */ 8 | height: 38px; /* Height of image */ 9 | text-indent: -9999999px; 10 | display: block; 11 | } 12 | -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/trunk/img/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/trunk/img/top.png -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/trunk/js/sstt-plugin.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/trunk/readme.txt: -------------------------------------------------------------------------------- 1 | === Scroll To Top WP=== 2 | Contributors: shovoalways 3 | Donate link: https://www.buymeacoffee.com/aliHossain 4 | Author URI: https://www.alihossain.com/ 5 | Plugin URI: https://wordpress.org/plugins/simple-scroll-top-wp/ 6 | Tags: Simple Scroll To Top, Scroll To Top, Back to Top button, Back to Top. 7 | Requires at least: 5.2 8 | Tested up to: 6.1.1 9 | Stable tag: 1.0.0 10 | License: GPLv2 or later 11 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 | 13 | Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website. 14 | 15 | == Description == 16 | Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website. 17 | 18 | Plugin Documentation: [https://wordpress.org/plugins/simple-scroll-top-wp/](https://wordpress.org/plugins/simple-scroll-top-wp/) 19 | 20 | * [Live Demo](https://www.alihossain.com/blog/simple-scroll-top-wp/) 21 | * [Need Help?](https://www.alihossain.com/contact/) 22 | * [About Author](https://github.com/shovoalways) 23 | 24 | == Video Tutorial == 25 | Include Soon! 26 | 27 | == You can changes settings == 28 | * No setup needed. 29 | * Unlimited colors. 30 | 31 | 32 | You can make my day by submitting a positive review on WordPress.org! 33 | 34 | = Usage = 35 | 36 | * Go to your Dashboard after installation and navigate to "Appearance > Customize > Scroll To Top" to configure the accordion. 37 | 38 | = Features = 39 | 40 | * Very easy installation 41 | * Flexible and easy to use 42 | 43 | 44 | == Installation == 45 | 1. Upload `simple-scroll-top-wp` to the `/wp-content/plugins/` directory 46 | 2. Activate the plugin through the 'Plugins' menu in WordPress 47 | 48 | 49 | == Frequently asked questions == 50 | = Do I need to setup anything? = 51 | No. 52 | 53 | 54 | == Screenshots == 55 | 1. Front End 56 | 2. Ticker Settings 57 | 3. Back End 58 | 59 | 60 | == Changelog == 61 | 62 | = 1.0.0 = 63 | 64 | * Initial version. 65 | 66 | 67 | == Upgrade notice == 68 | N/A. -------------------------------------------------------------------------------- /07. Upload plugin A2Z/wpplugin/simple-scroll-to-top-wp/trunk/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | 33 | 38 | add_section('sstt_scroll_top_section', array( 47 | 'title' => __('Scroll To Top', 'alihossain'), 48 | 'description' => 'Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website.', 49 | )); 50 | 51 | $wp_customize ->add_setting('sstt_default_color', array( 52 | 'default' => '#000000', 53 | )); 54 | $wp_customize->add_control('sstt_default_color', array( 55 | 'label' => 'Background Color', 56 | 'section' => 'sstt_scroll_top_section', 57 | 'type' => 'color', 58 | )); 59 | // Adding Rounded Corner 60 | $wp_customize ->add_setting('sstt_rounded_corner', array( 61 | 'default' => '5px', 62 | 'description' => 'If you need fully rounded or circular then use 25px here.', 63 | )); 64 | $wp_customize->add_control('sstt_rounded_corner', array( 65 | 'label' => 'Rounded Corner', 66 | 'section' => 'sstt_scroll_top_section', 67 | 'type' => 'text', 68 | )); 69 | } 70 | 71 | // Theme CSS Customization 72 | function sstt_theme_color_cus(){ 73 | ?> 74 | 80 | -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/assets/banner-772x250.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/08. Update Plugin/simple-scroll-to-top-wp/assets/banner-772x250.png -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/assets/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/08. Update Plugin/simple-scroll-to-top-wp/assets/icon-256x256.png -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-1.png -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-2.png -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-3.png -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/08. Update Plugin/simple-scroll-to-top-wp/assets/screenshot-4.png -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/trunk/css/sstt-style.css: -------------------------------------------------------------------------------- 1 | /* Image style */ 2 | #scrollUp { 3 | background-image: url("../img/top.png"); 4 | background-color: black; 5 | bottom: 5px; 6 | right: 5px; 7 | width: 38px; /* Width of image */ 8 | height: 38px; /* Height of image */ 9 | text-indent: -9999999px; 10 | display: block; 11 | } 12 | -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/trunk/img/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/08. Update Plugin/simple-scroll-to-top-wp/trunk/img/top.png -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/trunk/js/sstt-plugin.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/trunk/license.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/trunk/readme.txt: -------------------------------------------------------------------------------- 1 | === Scroll To Top WP=== 2 | Contributors: shovoalways 3 | Donate link: https://www.buymeacoffee.com/aliHossain 4 | Author URI: https://www.alihossain.com/ 5 | Plugin URI: https://wordpress.org/plugins/simple-scroll-top-wp/ 6 | Tags: Simple Scroll To Top, Scroll To Top, Back to Top button, Back to Top. 7 | Requires at least: 5.2 8 | Tested up to: 6.1.1 9 | Stable tag: 1.0.0 10 | License: GPLv2 or later 11 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 | 13 | Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website. This plugin will allow your visitors to easily scroll back to the top of the page. It is compatible with all major browsers and should work with all themes, including responsive and high resolution themes. 14 | 15 | 🚀 If your theme doesn’t already contain this feature, you can simply add it by means of this plugin. 16 | 17 | == Description == 18 | Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website. This plugin will allow your visitors to easily scroll back to the top of the page. It is compatible with all major browsers and should work with all themes, including responsive and high resolution themes. 19 | 20 | Plugin Documentation: [https://wordpress.org/plugins/simple-scroll-top-wp/](https://wordpress.org/plugins/simple-scroll-top-wp/) 21 | 22 | * [Live Demo](https://www.alihossain.com/blog/simple-scroll-top-wp/) 23 | * [Need Help?](https://www.alihossain.com/contact/) 24 | * [About Author](https://github.com/shovoalways) 25 | 26 | 27 | == Video Tutorial == 28 | [youtube https://www.youtube.com/watch?v=1SjXJHMf46Q] 29 | 30 | 31 | == ⚡ You can changes settings == 32 | * No setup needed. 33 | * Unlimited colors. 34 | * Customize Button 35 | 36 | 37 | You can make my day by submitting a positive review on WordPress.org! 38 | 39 | = Usage = 40 | 41 | * Go to your Dashboard after installation and navigate to "Appearance > Customize > Scroll To Top" to configure the accordion. 42 | 43 | == ⚡ Features = 44 | * Ready to use without any setup 45 | * Unlimited colors option. 46 | * Button shows when the user scrolls down the page. 47 | * Scroll back to top with smooth animation 48 | * Very easy installation 49 | * Flexible and easy to use 50 | * Lightweight and fast 51 | 52 | 53 | == Installation == 54 | 55 | = Minimum Requirements = 56 | 57 | * WordPress 4.5 or greater 58 | * PHP version 5.6 or greater 59 | * MySQL version 5.0 or greater 60 | 61 | = AUTOMATIC INSTALLATION = 62 | 63 | Automatic installation is the easiest option. To automatically install Scroll To Top WP, log in to your WordPress dashboard, navigate the Plugins menu, and click Add New. 64 | 65 | In the search field, type Scroll To Top WP, and click Search Plugins. Once you've found our business directory plugin, you install it by clicking Install Now. 66 | 67 | = MANUAL INSTALLATION = 68 | 69 | The manual installation method involves downloading our Directory plugin and uploading it to your webserver via your favorite FTP application. The WordPress codex will tell you more [here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation). [GeoDirectory basic installation](https://docs.wpgeodirectory.com/category/7-installation) 70 | 71 | 1. Upload `simple-scroll-top-wp` to the `/wp-content/plugins/` directory 72 | 2. Activate the plugin through the 'Plugins' menu in WordPress 73 | 74 | 75 | = UPDATING = 76 | 77 | Automatic updates should work seamlessly. We always suggest you backup your website before any automated update to avoid unforeseen problems. 78 | 79 | == Frequently asked questions == 80 | = Is Simple Scroll To Top Wp free plugin? = 81 | Yes, Its free WordPress Plugin. 82 | 83 | = Can I customize this? = 84 | Yes, Its easy to customize. 85 | 86 | 87 | == Screenshots == 88 | 1. Front End 89 | 2. Ticker Settings 90 | 3. Back End 91 | 92 | 93 | == Changelog == 94 | 95 | = 1.0.0 = 96 | 97 | * Initial version. 98 | 99 | 100 | == Upgrade notice == 101 | N/A. -------------------------------------------------------------------------------- /08. Update Plugin/simple-scroll-to-top-wp/trunk/simple-scroll-to-top-wp.php: -------------------------------------------------------------------------------- 1 | 33 | 38 | add_section('sstt_scroll_top_section', array( 47 | 'title' => __('Scroll To Top', 'alihossain'), 48 | 'description' => 'Simple Scroll to top plugin will help you to enable Back to Top button to your WordPress website.', 49 | )); 50 | 51 | $wp_customize ->add_setting('sstt_default_color', array( 52 | 'default' => '#000000', 53 | )); 54 | $wp_customize->add_control('sstt_default_color', array( 55 | 'label' => 'Background Color', 56 | 'section' => 'sstt_scroll_top_section', 57 | 'type' => 'color', 58 | )); 59 | // Adding Rounded Corner 60 | $wp_customize ->add_setting('sstt_rounded_corner', array( 61 | 'default' => '5px', 62 | 'description' => 'If you need fully rounded or circular then use 25px here.', 63 | )); 64 | $wp_customize->add_control('sstt_rounded_corner', array( 65 | 'label' => 'Rounded Corner', 66 | 'section' => 'sstt_scroll_top_section', 67 | 'type' => 'text', 68 | )); 69 | } 70 | 71 | // Theme CSS Customization 72 | function sstt_theme_color_cus(){ 73 | ?> 74 | 80 | -------------------------------------------------------------------------------- /09. Basic Structure/customizer-login-page-wp/customizer-login-page-wp.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /09. Basic Structure/customizer-login-page-wp/license.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | -------------------------------------------------------------------------------- /09. Basic Structure/customizer-login-page-wp/readme.txt: -------------------------------------------------------------------------------- 1 | === Customizer Login Page === 2 | Contributors: shovoalways 3 | Donate link: https://www.buymeacoffee.com/aliHossain 4 | Author URI: https://www.alihossain.com/ 5 | Plugin URI: https://wordpress.org/plugins/customizer-login-page-wp/ 6 | Tags: customizer admin login, custom login page, custom wp-login, login customizer 7 | Requires at least: 5.2 8 | Tested up to: 6.1.1 9 | Stable tag: 1.0.0 10 | License: GPLv2 or later 11 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 | 13 | 14 | == Description == 15 | The Customizer Login Page plugin will help you to enable a custom login page to your WordPress website. If you want to customize your basic admin login page then this plugin will be helpful for you. 16 | 17 | 18 | * [Need Help?](https://www.alihossain.com/contact/) 19 | * [About Author](https://github.com/shovoalways) 20 | 21 | 22 | == Video Tutorial == 23 | [youtube https://www.youtube.com/watch?v=1SjXJHMf46Q] 24 | 25 | 26 | == ⚡ You can changes settings == 27 | * Change WordPress Default logo. 28 | * Change Backdround Image 29 | * Change Primary Color 30 | 31 | 32 | You can make my day by submitting a positive review on WordPress.org! 33 | 34 | = Usage = 35 | 36 | * Go to your Dashboard after installation and navigate to "Appearance > Customize > Custom Login" to configure the accordion. 37 | 38 | == ⚡ Features = 39 | * Ready to use without any setup 40 | * Unlimited colors option. 41 | * Custom login page logo options 42 | * Customize logo image. 43 | * Very easy installation 44 | * Flexible and easy to use 45 | * Lightweight and fast 46 | 47 | 48 | == Installation == 49 | 50 | = Minimum Requirements = 51 | 52 | * WordPress 4.5 or greater 53 | * PHP version 5.6 or greater 54 | * MySQL version 5.0 or greater 55 | 56 | = AUTOMATIC INSTALLATION = 57 | 58 | Automatic installation is the easiest option. To automatically install Scroll To Top WP, log in to your WordPress dashboard, navigate the Plugins menu, and click Add New. 59 | 60 | In the search field, type Scroll To Top WP, and click Search Plugins. Once you've found our business directory plugin, you install it by clicking Install Now. 61 | 62 | = MANUAL INSTALLATION = 63 | 64 | The manual installation method involves downloading our Directory plugin and uploading it to your webserver via your favorite FTP application. The WordPress codex will tell you more [here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation). [GeoDirectory basic installation](https://docs.wpgeodirectory.com/category/7-installation) 65 | 66 | 1. Upload `customizer-login-page-wp` to the `/wp-content/plugins/` directory 67 | 2. Activate the plugin through the 'Plugins' menu in WordPress 68 | 69 | 70 | = UPDATING = 71 | 72 | Automatic updates should work seamlessly. We always suggest you backup your website before any automated update to avoid unforeseen problems. 73 | 74 | == Frequently asked questions == 75 | = Is Customizer Login Page Wp free plugin? = 76 | Yes, Its free WordPress Plugin. 77 | 78 | = Can I customize this? = 79 | Yes, Its easy to customize. 80 | 81 | 82 | == Screenshots == 83 | 1. Front End 84 | 2. Customize Settings 85 | 3. Back End 86 | 87 | 88 | == Changelog == 89 | 90 | = 1.0.0 = 91 | 92 | * Initial version. 93 | 94 | 95 | == Upgrade notice == 96 | N/A. -------------------------------------------------------------------------------- /10. Plugin Page Creation/customizer-login-page-wp/customizer-login-page-wp.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /10. Plugin Page Creation/customizer-login-page-wp/readme.txt: -------------------------------------------------------------------------------- 1 | === Customizer Login Page === 2 | Contributors: shovoalways 3 | Donate link: https://www.buymeacoffee.com/aliHossain 4 | Author URI: https://www.alihossain.com/ 5 | Plugin URI: https://wordpress.org/plugins/customizer-login-page-wp/ 6 | Tags: customizer admin login, custom login page, custom wp-login, login customizer 7 | Requires at least: 5.2 8 | Tested up to: 6.1.1 9 | Stable tag: 1.0.0 10 | License: GPLv2 or later 11 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 | 13 | 14 | == Description == 15 | The Customizer Login Page plugin will help you to enable a custom login page to your WordPress website. If you want to customize your basic admin login page then this plugin will be helpful for you. 16 | 17 | 18 | * [Need Help?](https://www.alihossain.com/contact/) 19 | * [About Author](https://github.com/shovoalways) 20 | 21 | 22 | == Video Tutorial == 23 | [youtube https://www.youtube.com/watch?v=1SjXJHMf46Q] 24 | 25 | 26 | == ⚡ You can changes settings == 27 | * Change WordPress Default logo. 28 | * Change Backdround Image 29 | * Change Primary Color 30 | 31 | 32 | You can make my day by submitting a positive review on WordPress.org! 33 | 34 | = Usage = 35 | 36 | * Go to your Dashboard after installation and navigate to "Appearance > Customize > Custom Login" to configure the accordion. 37 | 38 | == ⚡ Features = 39 | * Ready to use without any setup 40 | * Unlimited colors option. 41 | * Custom login page logo options 42 | * Customize logo image. 43 | * Very easy installation 44 | * Flexible and easy to use 45 | * Lightweight and fast 46 | 47 | 48 | == Installation == 49 | 50 | = Minimum Requirements = 51 | 52 | * WordPress 4.5 or greater 53 | * PHP version 5.6 or greater 54 | * MySQL version 5.0 or greater 55 | 56 | = AUTOMATIC INSTALLATION = 57 | 58 | Automatic installation is the easiest option. To automatically install Scroll To Top WP, log in to your WordPress dashboard, navigate the Plugins menu, and click Add New. 59 | 60 | In the search field, type Scroll To Top WP, and click Search Plugins. Once you've found our business directory plugin, you install it by clicking Install Now. 61 | 62 | = MANUAL INSTALLATION = 63 | 64 | The manual installation method involves downloading our Directory plugin and uploading it to your webserver via your favorite FTP application. The WordPress codex will tell you more [here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation). [GeoDirectory basic installation](https://docs.wpgeodirectory.com/category/7-installation) 65 | 66 | 1. Upload `customizer-login-page-wp` to the `/wp-content/plugins/` directory 67 | 2. Activate the plugin through the 'Plugins' menu in WordPress 68 | 69 | 70 | = UPDATING = 71 | 72 | Automatic updates should work seamlessly. We always suggest you backup your website before any automated update to avoid unforeseen problems. 73 | 74 | == Frequently asked questions == 75 | = Is Customizer Login Page Wp free plugin? = 76 | Yes, Its free WordPress Plugin. 77 | 78 | = Can I customize this? = 79 | Yes, Its easy to customize. 80 | 81 | 82 | == Screenshots == 83 | 1. Front End 84 | 2. Customize Settings 85 | 3. Back End 86 | 87 | 88 | == Changelog == 89 | 90 | = 1.0.0 = 91 | 92 | * Initial version. 93 | 94 | 95 | == Upgrade notice == 96 | N/A. -------------------------------------------------------------------------------- /11. Static Plugin Creation/customizer-login-page-wp/css/clpwp-styles.css: -------------------------------------------------------------------------------- 1 | body.login { 2 | background: url(../img/login.jpg); 3 | display: flex; 4 | align-items: center; 5 | } 6 | body.login #login { 7 | background: rgba(255, 255, 255, 0.5); 8 | padding: 40px; 9 | border-radius: 25px; 10 | } 11 | body.login #loginform { 12 | background: none; 13 | border: 0; 14 | box-shadow: none; 15 | padding: 0; 16 | } 17 | #login form p.submit { 18 | display: block; 19 | } 20 | #login form p.submit input { 21 | display: block; 22 | width: 100%; 23 | margin-top: 10px; 24 | background: #ea1a70; 25 | border: 0; 26 | padding: 10px; 27 | font-size: 15px; 28 | transition: 0.5s; 29 | } 30 | #login form p.submit input:hover { 31 | background: #262626; 32 | color: #fff; 33 | } 34 | .login #nav { 35 | margin: 0; 36 | margin-top: 10px; 37 | width: 40%; 38 | float: left; 39 | padding: 0; 40 | } 41 | .login #nav a { 42 | margin-top: 5px; 43 | display: inline-block; 44 | } 45 | .login #backtoblog { 46 | margin: 0; 47 | margin-top: 10px; 48 | width: 60%; 49 | float: right; 50 | text-align: right; 51 | padding: 0; 52 | } 53 | .login #backtoblog a { 54 | display: inline-block; 55 | background: #003ecb; 56 | color: #fff; 57 | padding: 6px 15px; 58 | border-radius: 5px; 59 | transition: 0.5s; 60 | } 61 | .login #backtoblog a:hover { 62 | background: #262626; 63 | color: #fff; 64 | } 65 | .login #login_error, 66 | .login .message, 67 | .login .success { 68 | border-left: 4px solid #ea1a70; 69 | } 70 | input#user_login, 71 | input#user_pass { 72 | border: 0; 73 | border-left: 4px solid #ea1a70; 74 | padding: 10px; 75 | font-size: 14px; 76 | border-radius: 0; 77 | } 78 | -------------------------------------------------------------------------------- /11. Static Plugin Creation/customizer-login-page-wp/customizer-login-page-wp.php: -------------------------------------------------------------------------------- 1 | 44 | 49 | 50 | -------------------------------------------------------------------------------- /11. Static Plugin Creation/customizer-login-page-wp/img/login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/11. Static Plugin Creation/customizer-login-page-wp/img/login.jpg -------------------------------------------------------------------------------- /11. Static Plugin Creation/customizer-login-page-wp/img/logo-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shovoalways/Plugin-Development/9ab225e1518a4e70ac66137ecec8f4725aad2f90/11. Static Plugin Creation/customizer-login-page-wp/img/logo-sm.png -------------------------------------------------------------------------------- /11. Static Plugin Creation/customizer-login-page-wp/readme.txt: -------------------------------------------------------------------------------- 1 | === Customizer Login Page === 2 | Contributors: shovoalways 3 | Donate link: https://www.buymeacoffee.com/aliHossain 4 | Author URI: https://www.alihossain.com/ 5 | Plugin URI: https://wordpress.org/plugins/customizer-login-page-wp/ 6 | Tags: customizer admin login, custom login page, custom wp-login, login customizer 7 | Requires at least: 5.2 8 | Tested up to: 6.1.1 9 | Stable tag: 1.0.0 10 | License: GPLv2 or later 11 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 | 13 | 14 | == Description == 15 | The Customizer Login Page plugin will help you to enable a custom login page to your WordPress website. If you want to customize your basic admin login page then this plugin will be helpful for you. 16 | 17 | 18 | * [Need Help?](https://www.alihossain.com/contact/) 19 | * [About Author](https://github.com/shovoalways) 20 | 21 | 22 | == Video Tutorial == 23 | [youtube https://www.youtube.com/watch?v=1SjXJHMf46Q] 24 | 25 | 26 | == ⚡ You can changes settings == 27 | * Change WordPress Default logo. 28 | * Change Backdround Image 29 | * Change Primary Color 30 | 31 | 32 | You can make my day by submitting a positive review on WordPress.org! 33 | 34 | = Usage = 35 | 36 | * Go to your Dashboard after installation and navigate to "Appearance > Customize > Custom Login" to configure the accordion. 37 | 38 | == ⚡ Features = 39 | * Ready to use without any setup 40 | * Unlimited colors option. 41 | * Custom login page logo options 42 | * Customize logo image. 43 | * Very easy installation 44 | * Flexible and easy to use 45 | * Lightweight and fast 46 | 47 | 48 | == Installation == 49 | 50 | = Minimum Requirements = 51 | 52 | * WordPress 4.5 or greater 53 | * PHP version 5.6 or greater 54 | * MySQL version 5.0 or greater 55 | 56 | = AUTOMATIC INSTALLATION = 57 | 58 | Automatic installation is the easiest option. To automatically install Scroll To Top WP, log in to your WordPress dashboard, navigate the Plugins menu, and click Add New. 59 | 60 | In the search field, type Scroll To Top WP, and click Search Plugins. Once you've found our business directory plugin, you install it by clicking Install Now. 61 | 62 | = MANUAL INSTALLATION = 63 | 64 | The manual installation method involves downloading our Directory plugin and uploading it to your webserver via your favorite FTP application. The WordPress codex will tell you more [here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation). [GeoDirectory basic installation](https://docs.wpgeodirectory.com/category/7-installation) 65 | 66 | 1. Upload `customizer-login-page-wp` to the `/wp-content/plugins/` directory 67 | 2. Activate the plugin through the 'Plugins' menu in WordPress 68 | 69 | 70 | = UPDATING = 71 | 72 | Automatic updates should work seamlessly. We always suggest you backup your website before any automated update to avoid unforeseen problems. 73 | 74 | == Frequently asked questions == 75 | = Is Customizer Login Page Wp free plugin? = 76 | Yes, Its free WordPress Plugin. 77 | 78 | = Can I customize this? = 79 | Yes, Its easy to customize. 80 | 81 | 82 | == Screenshots == 83 | 1. Front End 84 | 2. Customize Settings 85 | 3. Back End 86 | 87 | 88 | == Changelog == 89 | 90 | = 1.0.0 = 91 | 92 | * Initial version. 93 | 94 | 95 | == Upgrade notice == 96 | N/A. -------------------------------------------------------------------------------- /12. Plugin Custom Option Page/customizer-login-page-wp/css/clpwp-styles.css: -------------------------------------------------------------------------------- 1 | body.login { 2 | background: url(../img/login.jpg); 3 | display: flex; 4 | align-items: center; 5 | } 6 | body.login #login { 7 | background: rgba(255, 255, 255, 0.5); 8 | padding: 40px; 9 | border-radius: 25px; 10 | } 11 | body.login #loginform { 12 | background: none; 13 | border: 0; 14 | box-shadow: none; 15 | padding: 0; 16 | } 17 | #login form p.submit { 18 | display: block; 19 | } 20 | #login form p.submit input { 21 | display: block; 22 | width: 100%; 23 | margin-top: 10px; 24 | background: #ea1a70; 25 | border: 0; 26 | padding: 10px; 27 | font-size: 15px; 28 | transition: 0.5s; 29 | } 30 | #login form p.submit input:hover { 31 | background: #262626; 32 | color: #fff; 33 | } 34 | .login #nav { 35 | margin: 0; 36 | margin-top: 10px; 37 | width: 40%; 38 | float: left; 39 | padding: 0; 40 | } 41 | .login #nav a { 42 | margin-top: 5px; 43 | display: inline-block; 44 | } 45 | .login #backtoblog { 46 | margin: 0; 47 | margin-top: 10px; 48 | width: 60%; 49 | float: right; 50 | text-align: right; 51 | padding: 0; 52 | } 53 | .login #backtoblog a { 54 | display: inline-block; 55 | background: #003ecb; 56 | color: #fff; 57 | padding: 6px 15px; 58 | border-radius: 5px; 59 | transition: 0.5s; 60 | } 61 | .login #backtoblog a:hover { 62 | background: #262626; 63 | color: #fff; 64 | } 65 | .login #login_error, 66 | .login .message, 67 | .login .success { 68 | border-left: 4px solid #ea1a70; 69 | } 70 | input#user_login, 71 | input#user_pass { 72 | border: 0; 73 | border-left: 4px solid #ea1a70; 74 | padding: 10px; 75 | font-size: 14px; 76 | border-radius: 0; 77 | } 78 | -------------------------------------------------------------------------------- /12. Plugin Custom Option Page/customizer-login-page-wp/customizer-login-page-wp.php: -------------------------------------------------------------------------------- 1 | 31 |