Linux 软件免费装

ACF Flexible Columns

开发者 imageDESIGN
更新时间 2018年4月20日 01:45
PHP版本: 4.5 及以上
WordPress版本: 4.9.5
版权: GPL2
版权网址: 版权信息

标签

slider columns bootstrap acf advanced custom fields animate on scroll carousel

下载

1.0.0 1.0.1 1.1.0 1.1.1 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7

详情介绍:

This plugin will replace your default content editor with flexible multiple column editors, allowing you to add up to 4 columns of content to your page. Column widths can be easily altered and are responsive to mobile, tablet and desktop device sizes. This plugin requires the PRO version of Advanced Custom Fields to work as it makes use of Flexible Content fields.

安装:

  1. Upload plugin to your wp-content/plugins/ directory, or install via the Plugins section within your WordPress installation.
  2. Ensure that Advanced Custom Fields PRO is installed and activated in your plugins
  3. Activate the ACF Flexible Columns plugin
  4. On the Plugins page under the ACF Flexible Columns plugin, right-click on the JSON Import File link and Save the file to your computer.
  5. Navigate to the Custom Fields > Tools page and under Import Field Groups, click Browse and select the acf-flexible-columns.json file you downloaded, then click Import
  6. Flexible Columns are now fully installed and are available in your Page and Post editors, any existing content is retained in a new single column.
  7. You can easily migrate your existing content into the new editor system within the options panel within Custom Fields > Flexible Columns.
  8. Additional options are available in the Custom Fields > Flexible Columns admin panel

屏幕截图:

  • Row & Column Editors
  • Front End Display

常见问题:

How to add your own custom Content Block

  1. First, add your new content block within the Advanced Custom Fields - Flexible Columns editor by adding a new layout within the row width(s) you want it available in.
  2. Next, create a new function in your functions.php like so: function yourfunction($type){ if( $type == 'layout_name' ): $field = get_sub_field('field_name'); $layout = $field; endif; return $layout; }
  3. Then add the function to the filter so it will appear like so: add_filter('flexible_layout', 'yourfunction');

See Settings page for additional filter examples

更新日志:

1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.1