AI助手支持GPT4.0
Buooy Scroll To Top is a Scroll to Top that actually looks nice.
Buooy Scroll To Top是实际上看起来不错的滚动到顶部。
And its incredibly easy to use.
而且它非常易于使用。
Just activate and go!
只需激活即可! p>
Simple
简单 strong> p>Nothing!没事!Just activate and go!只需激活即可!It will automatically create a nice back to top button that will appear after your user scrolls beyond 200px.它将自动创建一个漂亮的“返回页首”按钮,该按钮将在用户滚动到200px以上后显示。 p>Advanced 高级 strong> p>There are a few ways to use your own image:有几种使用自己的图像的方法: p>Method 1: Create a directory with the EXACT directory name of 'backtotop' in your theme root directory and place an image with the EXACT file name of 'backtotop.png' or 'backtotop.jpg' or 'backtotop.jpeg'方法1:在主题根目录中创建目录,目录的确切名称为“ backtotop”,然后将图像文件的名称精确地指定为“ backtotop.png”或“ backtotop.jpg”或“ backtotop.jpeg”or 'backtotop.gif'.或“ backtotop.gif”。If you have multiple image files, the image will load in that order.如果您有多个图像文件,则图像将按该顺序加载。 li>Method 2: Use the filter ‘back-to-top-image’ as follows in your theme’s functions.php:方法2:在主题函数中使用过滤器“从顶部返回图片”,如下所示: p>if(has_filter(‘back-to-top-image’)){ if(has_filter(‘back-to-top-image’)){ p>add_filter( 'back-to-top-image', 'add_back_to_top_image' ); add_filter('back-to-top-image','add_back_to_top_image'); code> pre>}} p>function add_back_to_top_image(){ function add_back_to_top_image(){ p>return URL_TO_THE_IMAGE_HERE; 返回URL_TO_THE_IMAGE_HERE; code> pre>}} p> li> ol>
Nothing!
没事!
只需激活即可!
It will automatically create a nice back to top button that will appear after your user scrolls beyond 200px.
它将自动创建一个漂亮的“返回页首”按钮,该按钮将在用户滚动到200px以上后显示。 p>
Advanced
高级 strong> p>There are a few ways to use your own image:有几种使用自己的图像的方法: p>Method 1: Create a directory with the EXACT directory name of 'backtotop' in your theme root directory and place an image with the EXACT file name of 'backtotop.png' or 'backtotop.jpg' or 'backtotop.jpeg'方法1:在主题根目录中创建目录,目录的确切名称为“ backtotop”,然后将图像文件的名称精确地指定为“ backtotop.png”或“ backtotop.jpg”或“ backtotop.jpeg”or 'backtotop.gif'.或“ backtotop.gif”。If you have multiple image files, the image will load in that order.如果您有多个图像文件,则图像将按该顺序加载。 li>Method 2: Use the filter ‘back-to-top-image’ as follows in your theme’s functions.php:方法2:在主题函数中使用过滤器“从顶部返回图片”,如下所示: p>if(has_filter(‘back-to-top-image’)){ if(has_filter(‘back-to-top-image’)){ p>add_filter( 'back-to-top-image', 'add_back_to_top_image' ); add_filter('back-to-top-image','add_back_to_top_image'); code> pre>}} p>function add_back_to_top_image(){ function add_back_to_top_image(){ p>return URL_TO_THE_IMAGE_HERE; 返回URL_TO_THE_IMAGE_HERE; code> pre>}} p> li> ol>
There are a few ways to use your own image:
有几种使用自己的图像的方法: p>
or 'backtotop.gif'.
或“ backtotop.gif”。
If you have multiple image files, the image will load in that order.
如果您有多个图像文件,则图像将按该顺序加载。 li>
Method 2: Use the filter ‘back-to-top-image’ as follows in your theme’s functions.php:
方法2:在主题函数中使用过滤器“从顶部返回图片”,如下所示: p>
if(has_filter(‘back-to-top-image’)){
if(has_filter(‘back-to-top-image’)){ p>
add_filter( 'back-to-top-image', 'add_back_to_top_image' ); add_filter('back-to-top-image','add_back_to_top_image'); code> pre>}} p>function add_back_to_top_image(){ function add_back_to_top_image(){ p>return URL_TO_THE_IMAGE_HERE; 返回URL_TO_THE_IMAGE_HERE; code> pre>}} p>
add_filter('back-to-top-image','add_back_to_top_image');
code> pre>
}
} p>
function add_back_to_top_image(){
function add_back_to_top_image(){ p>
return URL_TO_THE_IMAGE_HERE; 返回URL_TO_THE_IMAGE_HERE; code> pre>}} p>
返回URL_TO_THE_IMAGE_HERE;
li>
ol>
buooy-scrolltotop.zip
buooy-scrolltotop.zip code> li>Click ‘Install Now’点击“立即安装” li>Activate the plugin in the Plugin dashboard在“插件”信息中心中激活插件 li>
buooy-scrolltotop.zip code> li>Extract the buooy-scrolltotop directory to your computer将 buooy-scrolltotop code>目录提取到您的计算机中 li>Upload the buooy-scrolltotop directory to the /wp-content/plugins/ directory将 buooy-scrolltotop code>目录上传到 / wp-content / plugins / code>目录 li>Activate the plugin in the Plugin dashboard在“插件”信息中心中激活插件 li>
buooy-scrolltotop
buooy-scrolltotop code>目录提取到您的计算机中 li>Upload the buooy-scrolltotop directory to the /wp-content/plugins/ directory将 buooy-scrolltotop code>目录上传到 / wp-content / plugins / code>目录 li>Activate the plugin in the Plugin dashboard在“插件”信息中心中激活插件 li>
/wp-content/plugins/
buooy-scrolltotop code>目录上传到 / wp-content / plugins / code>目录 li>Activate the plugin in the Plugin dashboard在“插件”信息中心中激活插件 li>
/ wp-content / plugins / code>目录 li>Activate the plugin in the Plugin dashboard在“插件”信息中心中激活插件 li>
原文出处:http://www.sanshu.cn/a/5927.html
群主管理都是支付大佬