Input Field – link_selector

Input Field – link_selector

You can use the link_selector input field to allow users to select the internal links from the native WP Link selector and make it easier for them to search the entire posts/pages list. See the below example for how you can use the link_selector input field.
ExampleCopy to Clipboardarray(

'type' => 'link_selector',

'heading' => esc_attr__( 'Link', 'fusion-builder' ),

'description' => esc_attr__( 'Add a short description for the field.', 'fusion-builder' ),

'param_name' => 'url',

'value' => '',

)​x 1array(2​3  'type'        => 'link_selector',4​5  'heading'     => esc_attr__( 'Link', 'fusion-builder' ),6​7  'description' => esc_attr__( 'Add a short description for the field.', 'fusion-builder' ),8​9  'param_name'  => 'url',10​11  'value'       => '',12​13)Params type
( string ) input type. heading
( string ) Setting title. description
( string ) Short description about the setting field. param_name
 ( string ) Attribute name to be used in the shortcode. value
( string ) Default value for the url to be used.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注