Linux 软件免费装
Banner图

Responsive Content

开发者 senlin
更新时间 2019年6月3日 04:41
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 5.2
版权: GPLv2 or later
版权网址: 版权信息

标签

responsive content mobile iphone android smartphone classes tablet phone desktop ipad laptop

下载

2015.04.09 2015.08.05 2015.08.12 2016.11.29 2016.8.13 2017.5.11 20171.1.0 20181.2.0 20181.2.1 20181.2.2

详情介绍:

The Responsive Content plugin enables you to adjust the content depending on the device/viewport. An example where this can be very handy for is telephone numbers. On a mobile device, a telephone number can be a link from which it can be dialed immediately, whereas from a lap/desktop the number does not have to be a link. With the Responsive Content plugin it is as simple as adding a class to the content to show/hide it for different devices. The Responsive Content plugin adds a Formats drop down menu (pre WP 3.9 the menu is called "Styles") to the first line of the TinyMCE Editor. Once you have selected a visibility class, the plugin shows that in 3 locations:
  1. as selected in the drop down menu
  2. with a "button" in front of the selector (the only function of this "button" is to show you that the element behind it has one of the visibility classes)
  3. in the path
There are 15 visibility classes in the Styles menu on the Visual Editor: Since version 0.3 I have added 6 buttons to the Text Editor as well. For flexibility purposes these buttons (3 for showing and 3 for hiding) only add a class, so you can add the element yourself. The plugin already comes with all the styles necessary to show the elements on or hide them from the front end, so all you need to do is save your Post, Page or other Post Type and visit your site from a few different devices (or resize your browser) to see your content change depending on the width of the browser! Under the Other Notes-tab I have added some information on 用法 and Languages.

安装:

Go to Plugins > Add New in your WordPress Dashboard, do a search for "Responsive Content" and install it. … OR … Follow these steps:
  1. Download zip file.
  2. Upload the zip file via the Plugins > Add New > Upload page … OR … unpack and upload with your favorite FTP client to the /plugins/ folder.
  3. Activate the plugin on the Plugins page.
完成! Now visit the Instructions page to see what you need to know to use this plugin.

屏幕截图:

  • Responsive Content back end Visual Editor pre WP 3.9.
  • Responsive Content back end Visual Editor post WP 3.9.
  • Responsive Content back end Text Editor.
  • Responsive Content front end large (>1280px).
  • Responsive Content front end medium (>768px <1280px).
  • Responsive Content front end small (<768px).

升级注意事项:

0.3.1
  • Additional Classes for Visual Editor and now also classes for Text Editor.
0.1
  • Initial release.

其他记录:

Usage You can use the Responsive Content plugin basically for any Post Type. Although possible, I strongly discourage using the classes with images. The reason is that the Responsive Content plugin only uses media queries with display: block;, display: inline-block; and display: none;. If you were to add a large image to only show on large screens, a medium image to show on tablets and a small image to show on smart phones, then the person visiting your site using a phone has to download all 3 images, which can have a major impact on the data plan of the visitor!

常见问题:

Is this plugin compatible with the new editor of WP 5.0 (codenamed Gutenberg)?

The plugin works on WP 5.0, but only on a Classic Block. Alternatively we would like to suggest to either using the Classic Editor or to install ClassicPress once it is released. = Is it possible to hide shortcodes with this plugin? As reported here it is not possible to hide shortcodes in the WP Editor. A workaround can be to add the code to your template (sample in the ticket), but that largely depends on what you want to show/hide.

I have an issue with this plugin, where can I get support?

Please open an issue over at Github, as I will not use the support forums here on WordPress.org

更新日志:

20181.2.2 20181.2.1 20181.2.0 20171.1.0 2017.5.11 2016.11.29 2016.08.13 2015.08.12 2015.08.05 2015.04.09 2014.07.30 2014.04.10 2013.12.27 0.3.3 0.3.2 0.3.1 0.3 0.2 0.1.1 0.1