开发者 | iandunn |
---|---|
更新时间 | 2016年7月17日 00:37 |
捐献地址: | 去捐款 |
PHP版本: | 2.8 及以上 |
WordPress版本: | 4.6 |
版权: | GPLv2 or Later |
Make sure your theme's footer.php calls wp_footer() just before the closing </body>
tag. If it is, start a post in the support forums (see below for details).
There is an option to control whether it does or not, but be aware that forcing links to open in a new window violates web standards. Please consider leaving it off.
You can go to the General Settings page and check the 'Move to Bottom on Small Screens' box. That will move the ribbon to the bottom of the page for smartphones and other devices with small screens. Note that this won't work in Internet Explorer 8 or below, because they don't support modern web standards.
I don't want to take any donations for myself, but if you'd like to give something please consider making a donation to the Not For Sale campaign directly, or buying something from their store.
re-abolish-slavery-ribbon
so that I get an e-mail notification. If you use the link above it'll automatically tag it for you.You can send me feedback/comments/suggestions using the contact form on my website, and I'll respond as my schedule permits. Please don't use this if you're having trouble using the plugin; use the support forums instead (see above question for details).
Yes, there are filters for changing the image and URL that it links to. Here's an example: `add_filter( 'rasr_image_location', 'rasr_replace_image' ); function rasr_replace_image( $image_location ) { // Example 1: Using an image from the Media Library. 28 is the ID of the attachment. Use wp_get_attachment_image_src to specific a thumbnail size. $image_location = wp_get_attachment_url( 28 ); // Example 2: Using a direct URL, which can link to either a local or remote image. Keep in mind hotlinking to remote images is considered a bad practice. // $image_location = 'http://example.org/image.png'; return $image_location; } add_filter( 'rasr_image_link_url', 'rasr_replace_image_link' ); function rasr_replace_image_link( $image_link_url ) { return 'http://example.org'; }` Add that code to a functionality plugin and modify it to fit your needs.