{"id":36333,"date":"2015-05-14T06:21:47","date_gmt":"2015-05-14T06:21:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/back-to-the-top\/"},"modified":"2024-08-22T06:33:59","modified_gmt":"2024-08-22T06:33:59","slug":"back-to-the-top","status":"publish","type":"plugin","link":"https:\/\/kea.wordpress.org\/plugins\/back-to-the-top\/","author":8903959,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"6.6.5","requires":"4.9","requires_php":"5.6","requires_plugins":null,"header_name":"Back to the Top","header_author":"thingsym","header_description":"","assets_banners_color":"","last_updated":"2024-08-22 06:33:59","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/thingsym","header_plugin_uri":"https:\/\/github.com\/thingsym\/back-to-the-top","header_author_uri":"https:\/\/www.thingslabo.com\/","rating":0,"author_block_rating":0,"active_installs":100,"downloads":8968,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"thingsym","date":"2015-05-14 06:23:28"},"1.0.1":{"tag":"1.0.1","author":"thingsym","date":"2015-07-30 10:16:59"},"1.0.2":{"tag":"1.0.2","author":"thingsym","date":"2015-10-01 08:44:38"},"1.0.3":{"tag":"1.0.3","author":"thingsym","date":"2016-03-15 06:42:26"},"1.0.4":{"tag":"1.0.4","author":"thingsym","date":"2019-01-15 11:47:51"},"1.0.5":{"tag":"1.0.5","author":"thingsym","date":"2021-07-23 12:12:47"},"1.1.0":{"tag":"1.1.0","author":"thingsym","date":"2021-12-09 10:48:43"},"1.1.1":{"tag":"1.1.1","author":"thingsym","date":"2022-02-01 10:35:27"},"1.2.0":{"tag":"1.2.0","author":"thingsym","date":"2022-06-03 09:16:27"},"1.2.1":{"tag":"1.2.1","author":"thingsym","date":"2024-08-22 06:33:59"}},"upgrade_notice":{"1.1.1":"<ul>\n<li>Requires at least version 4.9 of the WordPress<\/li>\n<li>Requires PHP version 5.6<\/li>\n<\/ul>","1.0.4":"<ul>\n<li>Requires at least version 4.0 of the WordPress<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1.0","1.1.1","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3139460,"resolution":"1","location":"plugin"}},"screenshots":{"1":"options page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[10626,10421,10625],"plugin_category":[],"plugin_contributors":[78488],"plugin_business_model":[],"class_list":["post-36333","plugin","type-plugin","status-publish","hentry","plugin_tags-back-to-the-top","plugin_tags-scroll-top","plugin_tags-to-top","plugin_contributors-thingsym","plugin_committers-thingsym"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/back-to-the-top.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/back-to-the-top\/trunk\/screenshot-1.png?rev=3139460","caption":"options page"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p>Back to the Top is also a jQuery plugin. <a href=\"http:\/\/project.thingslabo.com\/jquery.backtothetop\">Back to the Top Project Page here.<\/a> You can set easily WordPress plugin \u2019Back to the Top\u2019 than jQuery plugin ones.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Customizable options in the options page<\/li>\n<li>Selectable the effects easing of the scroll<\/li>\n<li>The iconic font supported, Dashicons and Font Awesome<\/li>\n<\/ul>\n\n<h4>Support<\/h4>\n\n<p>If you have any trouble, you can use the forums or report bugs.<\/p>\n\n<ul>\n<li>Forum: <a href=\"https:\/\/wordpress.org\/support\/plugin\/back-to-the-top\/\">https:\/\/wordpress.org\/support\/plugin\/back-to-the-top\/<\/a><\/li>\n<li>Issues: <a href=\"https:\/\/github.com\/thingsym\/back-to-the-top\/issues\">https:\/\/github.com\/thingsym\/back-to-the-top\/issues<\/a><\/li>\n<\/ul>\n\n<h4>Contribution<\/h4>\n\n<p>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.<\/p>\n\n<p>Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.<\/p>\n\n<p>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.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/thingsym\/back-to-the-top\">VCS - GitHub<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/back-to-the-top\/\">Homepage - WordPress Plugin<\/a><\/li>\n<li><a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/back-to-the-top\">Translate Back to the Top into your language.<\/a><\/li>\n<\/ul>\n\n<p>You can also contribute by answering issues on the forums.<\/p>\n\n<ul>\n<li>Forum: <a href=\"https:\/\/wordpress.org\/support\/plugin\/back-to-the-top\/\">https:\/\/wordpress.org\/support\/plugin\/back-to-the-top\/<\/a><\/li>\n<li>Issues: <a href=\"https:\/\/github.com\/thingsym\/back-to-the-top\/issues\">https:\/\/github.com\/thingsym\/back-to-the-top\/issues<\/a><\/li>\n<\/ul>\n\n<h4>Patches and Bug Fixes<\/h4>\n\n<p>Forking on Github is another good way. You can send a pull request.<\/p>\n\n<ol>\n<li>Fork <a href=\"https:\/\/github.com\/thingsym\/back-to-the-top\">Back to the Top<\/a> from GitHub repository<\/li>\n<li>Create a feature branch: git checkout -b my-new-feature<\/li>\n<li>Commit your changes: git commit -am 'Add some feature'<\/li>\n<li>Push to the branch: git push origin my-new-feature<\/li>\n<li>Create new Pull Request<\/li>\n<\/ol>\n\n<h4>Contribute guidlines<\/h4>\n\n<p>If you would like to contribute, here are some notes and guidlines.<\/p>\n\n<ul>\n<li>All development happens on the <strong>develop<\/strong> branch, so it is always the most up-to-date<\/li>\n<li>The <strong>master<\/strong> branch only contains tagged releases<\/li>\n<li>If you are going to be submitting a pull request, please submit your pull request to the <strong>develop<\/strong> branch<\/li>\n<li>See about <a href=\"https:\/\/help.github.com\/articles\/fork-a-repo\/\">forking<\/a> and <a href=\"https:\/\/help.github.com\/articles\/using-pull-requests\/\">pull requests<\/a><\/li>\n<\/ul>\n\n<h4>Test Matrix<\/h4>\n\n<p>For operation compatibility between PHP version and WordPress version, see below <a href=\"https:\/\/github.com\/thingsym\/back-to-the-top\/actions\">Github Actions<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and unzip files. Or install 'Back to the Top' plugin using the WordPress plugin installer. In that case, skip 2.<\/li>\n<li>Upload 'backtothetop' to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the 'Back to the Top' options page through the 'Appearance' menu in WordPress.<\/li>\n<li>Have fun!<\/li>\n<\/ol>\n\n<h4>Customize Stylesheet<\/h4>\n\n<p>You can customize Stylesheet by the Custom CSS. See the following example.<\/p>\n\n<pre><code>a#backtothetop-fixed {\n    background: #f1f1f1;\n    border-radius: 10%;\n    padding: 0.2em;\n}\na#backtothetop-fixed:hover {\n    background: #fefefe;\n}\n<\/code><\/pre>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>tested up to 6.2.0<\/li>\n<li>fix composer scripts<\/li>\n<li>update github actions<\/li>\n<li>add msgmerge to composer scripts<\/li>\n<li>add support section and enhance contribution section to README<\/li>\n<li>fix license<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>fix phpcs.ruleset.xml<\/li>\n<li>fix multiple assignments<\/li>\n<li>declare uninstall method as public method<\/li>\n<li>separate the file structure for class file<\/li>\n<li>add @package tag<\/li>\n<li>fix class name according to naming convention<\/li>\n<li>fix constants to uppercase<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>change makepot from php script to wp cli<\/li>\n<li>change plugin initialization to plugins_loaded hook<\/li>\n<li>replace assert from assertEquals to assertSame<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>update wp-plugin-unit-test.yml<\/li>\n<li>bump up yoast\/phpunit-polyfills version<\/li>\n<li>change os to ubuntu-20.04 for ci<\/li>\n<li>add Upgrade Notice<\/li>\n<li>change requires at least to wordpress 4.9<\/li>\n<li>change requires to PHP 5.6<\/li>\n<li>add test case<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>add composer scripts<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>update composer dependencies<\/li>\n<li>add test case<\/li>\n<li>change method name from admin_init to register_settings<\/li>\n<li>change method name from validate to validate_options<\/li>\n<li>fix textdomain<\/li>\n<li>add plugin_metadata_links method<\/li>\n<li>change add_filter to plugin_action_links_**<\/li>\n<li>add init method<\/li>\n<li>add Constants<\/li>\n<li>add checking Back_to_the_Top class<\/li>\n<li>add checking ABSPATH<\/li>\n<li>add load_textdomain method<\/li>\n<li>remove protected variable<\/li>\n<li>change from protected variable to public variable for unit test<\/li>\n<li>update composer.json<\/li>\n<li>add timeout-minutes to workflows<\/li>\n<li>add phpunit-polyfills<\/li>\n<li>update wordpress-test-matrix<\/li>\n<li>add sponsor link<\/li>\n<li>add FUNDING.yml<\/li>\n<li>add GitHub actions for CI\/CD, remove .travis.yml<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>fix indent and reformat with phpcs and phpcbf<\/li>\n<li>add composer.json for test<\/li>\n<li>add static code analysis config<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>change Requires at least from 3.4 to 4.0<\/li>\n<li>improve CI environment<\/li>\n<li>updated: update jquery.backtothetop.js v1.1.7<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>fixed: fix backtothetop.admin.js<\/li>\n<li>updated: update jquery.backtothetop.js v1.1.6<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>fixed: fix handle and option name<\/li>\n<li>fixed: fix typo<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>fixed: refactoring by the PHP_CodeSniffer<\/li>\n<li>updated: update jquery.backtothetop.js v1.1.5<\/li>\n<li>added: add PHPUnit and tests<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>initial release<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/36333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=36333"}],"author":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thingsym"}],"wp:attachment":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=36333"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=36333"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=36333"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=36333"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=36333"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=36333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}