वर्णन
Back to the Top is a WordPress plugin that return to scroll smoothly to the top of the page. You can scroll to the smooth anchor link in the page.
Back to the Top will add a link that return the top of the page for your website. You can customize label, color, display and so in the options page. You don’t need to edit your theme.
Back to the Top is also a jQuery plugin. Back to the Top Project Page here. You can set easily WordPress plugin ’Back to the Top’ than jQuery plugin ones.
Features
- Customizable options in the options page
- Selectable the effects easing of the scroll
- The iconic font supported, Dashicons and Font Awesome
Support
If you have any trouble, you can use the forums or report bugs.
- Forum: https://wordpress.org/support/plugin/back-to-the-top/
- Issues: https://github.com/thingsym/back-to-the-top/issues
Contribution
Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.
Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.
If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.
You can also contribute by answering issues on the forums.
- Forum: https://wordpress.org/support/plugin/back-to-the-top/
- Issues: https://github.com/thingsym/back-to-the-top/issues
Patches and Bug Fixes
Forking on Github is another good way. You can send a pull request.
- Fork Back to the Top from GitHub repository
- Create a feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am ‘Add some feature’
- Push to the branch: git push origin my-new-feature
- Create new Pull Request
Contribute guidlines
If you would like to contribute, here are some notes and guidlines.
- All development happens on the develop branch, so it is always the most up-to-date
- The master branch only contains tagged releases
- If you are going to be submitting a pull request, please submit your pull request to the develop branch
- See about forking and pull requests
Test Matrix
For operation compatibility between PHP version and WordPress version, see below Github Actions.
स्क्रीनशॉट
स्थापना
- Download and unzip files. Or install ‘Back to the Top’ plugin using the WordPress plugin installer. In that case, skip 2.
- Upload ‘backtothetop’ to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to the ‘Back to the Top’ options page through the ‘Appearance’ menu in WordPress.
- Have fun!
Customize Stylesheet
You can customize Stylesheet by the Custom CSS. See the following example.
a#backtothetop-fixed {
background: #f1f1f1;
border-radius: 10%;
padding: 0.2em;
}
a#backtothetop-fixed:hover {
background: #fefefe;
}
समीक्षा
ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.
योगदानकर्ते आणि विकसक
“Back to the Top” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.
योगदानकर्तेभाषांतर करा “Back to the Top” तुमच्या भाषेत.
विकासातील आग्रह?
कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.
बदलांची यादी
1.2.1
- tested up to 6.2.0
- fix composer scripts
- update github actions
- add msgmerge to composer scripts
- add support section and enhance contribution section to README
- fix license
1.2.0
- fix phpcs.ruleset.xml
- fix multiple assignments
- declare uninstall method as public method
- separate the file structure for class file
- add @package tag
- fix class name according to naming convention
- fix constants to uppercase
- update japanese translation
- update pot
- change makepot from php script to wp cli
- change plugin initialization to plugins_loaded hook
- replace assert from assertEquals to assertSame
1.1.1
- update wp-plugin-unit-test.yml
- bump up yoast/phpunit-polyfills version
- change os to ubuntu-20.04 for ci
- add Upgrade Notice
- change requires at least to wordpress 4.9
- change requires to PHP 5.6
- add test case
1.1.0
- add composer scripts
- update japanese translation
- update pot
- update composer dependencies
- add test case
- change method name from admin_init to register_settings
- change method name from validate to validate_options
- fix textdomain
- add plugin_metadata_links method
- change add_filter to plugin_action_links_**
- add init method
- add Constants
- add checking Back_to_the_Top class
- add checking ABSPATH
- add load_textdomain method
- remove protected variable
- change from protected variable to public variable for unit test
- update composer.json
- add timeout-minutes to workflows
- add phpunit-polyfills
- update wordpress-test-matrix
- add sponsor link
- add FUNDING.yml
- add GitHub actions for CI/CD, remove .travis.yml
1.0.5
- fix indent and reformat with phpcs and phpcbf
- add composer.json for test
- add static code analysis config
1.0.4
- change Requires at least from 3.4 to 4.0
- improve CI environment
- updated: update jquery.backtothetop.js v1.1.7
1.0.3
- fixed: fix backtothetop.admin.js
- updated: update jquery.backtothetop.js v1.1.6
1.0.2
- fixed: fix handle and option name
- fixed: fix typo
1.0.1
- fixed: refactoring by the PHP_CodeSniffer
- updated: update jquery.backtothetop.js v1.1.5
- added: add PHPUnit and tests
1.0.0
- initial release