[WordPress] 外掛分享: MakeITeasy Back To Top

WordPress 外掛 MakeITeasy Back To Top 的封面圖片。

前言介紹


  • 這款 WordPress 外掛「MakeITeasy Back To Top」是 2023-06-15 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2025-01-06,距離現在已有 117 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者


lovor |

外掛標籤


block | back to top | scroll to top | Back to Top Button | scroll to top button |

內容簡介


WordPress外掛 - 回到頁面頂端 - 這是一個高度可自訂和輕量的回到頁面頂部解決方案。 - 完全兼容全網站編輯主題,如果啟用區塊編輯器,也與傳統主題兼容。 - 這不同於其他類似的外掛,因為它是一個區塊,您可以在其中插入任何其他區塊,可以優化自定義。默認情況下,插入具有內聯圖像的按鈕區塊,但您可以刪除它,插入任何其他您希望的區塊,自定義默認按鈕或插入自己的圖像。由於按鈕是常規 WordPress 區塊,因此您可以像通常一樣進行自定義,在側邊欄中選擇背景色或前景色,為邊緣選擇邊框半徑或其他任何可以在區塊編輯器中自定義的內容。 - 插件提供一個名為“返回頂部”的區塊,可用於將用戶帶回頁面頂部。默認情況下,僅當用戶向下滾動一定量時才會顯示按鈕。 - 最佳使用方式是使用全網站編輯主題,在那裡您可以將其添加到頁腳(或標題),該區塊將顯示在每個使用此頁腳的頁面上。如果將其添加到頁面,則僅顯示在該頁面上。 - 如果將此區塊添加到頁面上,則僅顯示在此頁面上。為了在許多/所有頁面上顯示它,您必須將其添加到頁腳(或頁眉)。您可以通過在其中一個頁面上創建區塊並複製其代碼(從區塊菜單中選擇複製選項)來實現這一點。然後,在頁腳(標題)php模板中添加“do_blocks($ content);”行,其中將$content替換為複製的區塊內容。內容必須在單引號之間,因為它是字符串,根據 PHP 的規則。 - 在區塊編輯器側邊欄中,可以選擇區塊是否出現在桌面和移動設備的頁面中以及兩者之間的斷點。在按下按鈕時選擇頁面滾動模式:平滑或即時。區塊的不透明度。慢慢出現的持續時間(“淡入”)。區塊從瀏覽器窗口右下角的位置,以自選 CSS 單位進行定位。

原文外掛簡介


Very customizable and lightweight back to top 🔝 solution. Fully compatible with Full Site Editing themes and with classic themes if block editor is enabled. How this differs from other similar plugins? This is a block, inside which you can insert any other block. This makes it utmost customizable. By default, a button block with inline image is inserted, but you can remove it and insert any other block you wish or customize default button or insert your own image. As button is a normal WordPress block, you can customize it like you would normally do, pick background color or foreground color from sidebar, choose border radius for edges, or anything else which is customizable in block editor. Features (block editor sidebar) In the block sidebar, it is possible to choose if the block will appear both on desktop and mobile variant of page and breakpoint between the two. Choose page scroll mode when clicked on button: smooth or instant. Opacity of the block. Duration of slow appearance (“fade in”). Position of the block from bottom right corner of the browser window, in css unit by choice. Go to bottom functionality. DEMO Test in wordpress playground Choose “Live preview” button in top left area of screen. To get this working, a little effort is needed. These are the steps: Enter the admin area Open site editor (Edit site in admin toolbar) On the left sidebar, in AREAS, find Footer Insert “Back to top” block in the footer group block (outer group block, as there are two), as the last element of group. If you insert it outside, it may appear very wide. If you inserted it in the wrong place, correct it by moving the block to position. Set block alignment to right if you want it at the right side. Be carefull to set “Back to top”‘s block alignment, not alignment of the inner button. You can also activate “go to bottom” functionality in the block settings sidebar to try this. Save and navigate to front page. It should work. Or, alternatively, try demo of my popup block, where everything is already set up and also back to top button is showcased: MakeITeasy popup Go to bottom Introduced go to bottom functionality – can be turned on in block sidebar (off by default). When user scrolls down button flips down ⬇ and leads to bottom of page, when scrolled up it flips up ⬆ and leads to top of page. Usage General Plugin provides a block called “Back to top”, which serves the commonly known purpose to take user to top of the page. By default, button appears only when user scrolls some amount down. Block themes The best way to use plugin is using full site editing theme. There you can add it to footer (alternatively to header) and block will be displayed on each page with this footer. If you add it to page, it will be displayed for this page only. Classic themes As mentioned above, adding this block to page will show it only on this page. To show it on many/all pages, you have to add it to footer (or header). You can do so by creating block on one of the pages and copy its code (copy option from block menu). Then, add echo do_blocks($content); line in your footer (header) php template, where you replace $content with copied block content string. Content must be between single quotes, as it is string, according to rules of PHP. Or even better, use nowdoc syntax. Example for theme GeneratePress: First create child theme, so your code is not overwritten by theme updates. Then in footer.php, after line 13 of original footer.php of theme insert following code: echo do_blocks(

Back to top arrow
block ); Important note: If you install block through block editor, and after creating block, you copy block code to footer and delete original block in page, plugin will be automatically uninstalled. This is handled by WordPress. Therefore, if you are using classic theme and you will use block code only in PHP, either install plugin in a classic way through plugins page or keep one copy of block active somewhere (e.g dummy draft page), to prevent automatic uninstall. Developers Github repository https://github.com/Lovor01/makeiteasy-back-to-top

各版本下載點


  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「MakeITeasy Back To Top」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。

1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.2.0 | 1.2.1 | trunk |

延伸相關外掛(你可能也想知道)


  • WPFront Scroll Top 》WPFront Scroll Top 外掛讓訪客輕鬆地回到頁面頂端,並具備完全自訂選項和圖像功能。WPFront Scroll Top 外掛擁有以下功能。, 功能, , 當使用者滾動頁面時,...。
  • Smooth Back To Top Button 》Smooth Back To Top 按鈕與捲動進度指示器能讓您的訪客輕鬆地捲回頁面頂部。, 這是一個輕量、完全可自訂的外掛,具有許多功能,包括:, 功能:, , 當使用者向...。
  • Scroll To Top 》這個外掛可以自動啟用一個客製化且靈活的「回到頂部」按鈕到您的 WordPress 網站,讓您的訪客只需點擊一下,即可將網頁滾動回頂端!, 功能包括:, , 無需設置...。
  • Simple Scroll to Top Button 》這款 WordPress 外掛易於使用,介面直覺,可以輕鬆且安全地在 WordPress 網站中加入「回到頁首」按鈕。此「回到頁首」按鈕會在訪客往下滾動網頁時出現於網頁...。
  • Scroll Back To Top 》Scroll Back to Top 是一個 WordPress 外掛,它會在使用者向下滾動頁面時出現一個按鈕,允許使用者回到頁面頂部。外掛已經預先設定好,啟用後即可使用。該外...。
  • jQuery Smooth Scroll 》此外掛可使你的錨點連結平滑捲動,並在長頁面的右下角添加一個「回到頂端」按鈕。當用戶向下捲動一定程度時,「回到頂端」按鈕會自動顯示,並在回到頂部後自...。
  • Smooth Scroll Up 》Smooth Scroll Up 是一個輕巧的 WordPress 外掛,可以在您的網站上建立一個可定制的回到頂部功能。, 功能, , 選擇不同的回到頂部元素類型(圖像、圖標、文本...。
  • Scroll Back To Top Button 》這個外掛可以在你的網站頁尾增加一個浮動式的導覽按鈕,當你向下捲動頁面時它會自動出現,點擊後可以輕鬆地將頁面滾動回頂部,而且不需要修改你的模板。, 完...。
  • Simple Back To Top 》現在的許多網站都使用無限滾動功能,使用這個外掛程式,使用者只需點擊底部圖示,就能順暢地返回頂部,並且可以在管理員設定中輕鬆更換“返回頂部”圖示。, 包...。
  • Click to top 》這是一個 WordPress 外掛,可創建可自定義的「Click to top」功能。, 在網站中使用「Click to top」是好的選擇。, 大多數的網站作者想使用「Scroll to top」...。
  • Scroll To Top WP 》Simple Scroll to Top WP 外掛可協助你啟用「回到頁首」按鈕到你的 WordPress 網站。此外掛可讓你的訪客輕鬆地快速回到頁面最上方。它支援所有主要瀏覽器,並...。
  • Scroll to Top Button 》這是一個簡單的 WordPress 外掛,如果頁面向下滾動,它會在頁面底部角落添加一個「回到頂部」按鈕。它與所有主流瀏覽器兼容,在包括響應式和高分辨率主題在內...。
  • Brozzme Scroll Top 》Brozzme Scroll Top 是一個輕量級的外掛,可以在每個頁面上添加一個可完全自定義的滾動至頂部按鈕。當用戶滾動頁面時,按鈕就會出現,當回到頁面頂部時就會消...。
  • Cudazi Scroll to Top 》在長頁面的右下角添加了一個平滑滾動到頂部的功能/鏈接。在滾動到一個設置的滾動點之後出現,當接近頂部滾動時隱藏。。
  • X-Scroll To Top – Responsive 》X Scroll to Top 外掛可以使網頁的滾動更容易。它在頁面底部添加一個圖標,吸引用戶的注意力。當用戶點擊此按鈕時,它會平穩地滾動到網頁的頂部。X Scroll To...。

文章
Filter
Apply Filters
Mastodon