Wordpress+可视化编辑器=最好的系统+零基础制作网页

网站上所有布局,颜色与设置均可在后台修改,无需编程基础

avada元素

avada元素插入上传多个图像字段:upload_images

您可以使用上载图像输入字段允许多个图像上载。此选项允许您一次选择多个图像,它们将存储在以逗号分隔的附件ID列表中。下面是上传图像输入字段中使用的参数示例和列表。array(‘type’ => ‘upload_images’,’heading’ => esc_attr__( ‘Gallery Images’, ‘fusion-builder’ ),’description’ => esc_attr__( ‘Upload or select images.’, ‘fusion-builder’ ),’param_name’ => ‘image_ids’,’value’ => ”,),

avada元素插入上传图片字段:upload

您可以使用上载输入字段允许用户选择单个图像。请参阅下面的示例,了解如何使用上载输入字段。array( ‘type’ => ‘upload’,’heading’ => esc_attr__( ‘Background Image’, ‘fusion-builder’ ),’description’ => esc_attr__( ‘Add a short description for the field.’, ‘fusion-builder’ ),’param_name’ => ‘background_image’,’value’ => ”,)

avada元素插入使用HTML编辑器添加内容字段:tinymce

可以使用tinymce输入字段允许用户使用HTML编辑器添加内容。每个短代码中只能使用一个tinymce字段。请参阅下面的示例,了解如何插入使用tinymce字段。array(‘type’ => ‘tinymce’,’heading’ => esc_attr__( ‘Content editor’, ‘fusion-builder’ ),’description’ => esc_attr__( ‘Add a short description for the field.’, ‘fusion-builder’ ),’param_name’ => ‘element_content’,’value’ => esc_attr__( ‘Your Content Goes Here’, ‘fusion-builder’ ),’placeholder’ => true,)

avada元素插入短文本字段:textfield

您可以使用文本字段输入字段来获取单行或短文本输入,而不需要格式化。下面是文本字段输入字段中使用的参数的示例和列表。array(‘type’ => ‘textfield’,’heading’ => esc_attr__( ‘Name’, ‘fusion-builder’ ),’description’ => esc_attr__( ‘Enter your full name.’, ‘fusion-builder’ ),’param_name’ => ‘full_name’,’value’ => ”,),

avada元素插入字段: 文本域 textarea

您可以使用文本区域字段允许用户添加一些描述性文本而不进行格式化。请参阅下面的示例,了解如何使用文本区域输入字段 array(
‘type’ => ‘textarea’,’heading’ => esc_attr__( ‘Address’, ‘fusion-builder’ ),’description’ => esc_attr__( ‘Add the address to the location.example: 775 New York Ave, Brooklyn, Kings, New York 11203.’, ‘fusion-builder’ ),’param_name’ => ‘address’,’value’ => ”,)

avada元素插入字段: 下拉列表选择项目 select

可以使用“选择输入”字段允许用户从预定义值的下拉列表中选择选项。请参阅下面的示例,了解如何使用选择输入字段,array(‘type’ => ‘select’,’heading’ => esc_attr__( ‘Select styles’, ‘fusion-builder’ ),’description’ => esc_attr__( ‘This field allows you to display dropdown of the pre-defined values.’, ‘fusion-builder’ ),’param_name’ => ‘styles’,’value’ => array(‘green’ => esc_attr__( ‘Green’, ‘fusion-builder’ ),’darkgreen’ => esc_attr__( ‘Dark Green’, ‘fusion-builder’ ),’orange’ => esc_attr__( ‘Orange’, ‘fusion-builder’ ),’blue’ => esc_attr__( ‘Blue’, ‘fusion-builder’ ),’red’ => esc_attr__( ‘Red’, ‘fusion-builder’ ),),)

Avada主题中,无论元素处于什么状态,都启用或禁用该元素

应用于已启用元素的数组。无论元素在Fusion Builder>设置页面上的状态如何,都可用于自动启用或禁用该元素。function filter_function_name( $elements ) {// Process $elements here return $elements;}add_filter( ‘fusion_builder_enabled_elements’, ‘filter_function_name’ );

Scroll to Top

QQ群962782975