开发者 |
vladiiancu
peterbuga |
---|---|
更新时间 | 2015年3月11日 23:36 |
捐献地址: | 去捐款 |
PHP版本: | 3.2 及以上 |
WordPress版本: | 4.1.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
display:none
. When using the "display" CSS instruction on, let's say, an image, the browser actually downloads the entire image and then it hides it. With this solution the image is no longer downloaded.
SS comes from 'server-side'.
You can use [stp_phone]Content here...[/stp_phone]
, [stp_tablet]Content for tablet...[/stp_tablet]
, [stp_desktop]Content for desktop...[/stp_desktop]
and [stp_mobile] Content for phones and tablets alike [/stp_mobile]
.
You can use:
stp_phone()
returns true if the users are using a phone to view the content, while stp_notphone()
returns true if the user is NOT using a phone to view the content;stp_tablet()
returns true if the users are using a tablet to view the content. Vice-versa stp_nottablet()
;stp_desktop()
returns true for desktop users. You get it by now. Aliases: stp_notdevice()
and stp_notmobile()
;stp_mobile()
returns true for phone and tablet users.