#
Link Wrapper
The Link Wrapper
properties encapsulate all the different settings that will allow you to control and enable a link for a specific block.
The following blocks support the Link Wrapper
feature:
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Toggle the property
#
Link Type
The Link Type
property allows you to define the link as a URL or an action.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Find the Link Type property
- Select the desired value from the dropdown
URL
When clicked, the Link Wrapper
will link to the chosen URL (static or dynamic).
Action
When clicked, the Link Wrapper
will perform the chosen action.
#
Link Source
The Link Source
property gives you the option to choose whether the URL source should be static or dynamic.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Find the Source property
- Select the desired value from the dropdown (static, dynamic)
Static A static source will rely on a static URL provided by the user. It will not update automatically depending on the source, and relies on manual changes.
Dynamic A dynamic source allows you to specify an image source that might change depending on the different parameters available at the time. It will update automatically. It relies on WordPress dynamic features as well as ACF Pro.
- Post URL
- Featured Image
- Archive URL
- Site URL
- Shortcode
- Site Logo
- Author URL
- Comments URL
- User set groups & fields
- Repeater fields
#
Link Action
The Link Action
property gives you the option to choose between different actions that will be performed when a user clicks on the Link Wrapper
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Find the Link Action property
- Select the desired value from the dropdown (lightbox, share, modal, contact)
Lightbox When clicked, the Lightbox action displays images or videos by filling the screen and dimming out the rest of the web page.
Share When clicked, the Share action automatically generates and redirects the user to the selected social platform with a ready-made sharing template.
Modal
When clicked, the Modal action displays the selected Modal
block by filling the screen and dimming out the rest of the web page.
Contact When clicked, the Contact action redirects the user to the selected contact option (Email, WhatsApp, Tel, etc...).
#
Open in a new tab
The Open in a new tab
property allows you to specify if the hyperlink should be opened in a new browser tab.
The Open in a new tab
is only available when a URL is the target.
The rel="noopener noreferrer"
attribute and security fix is automatically added by Cwicly.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Toggle the property
#
Link Rel
The Link Rel
specifies the relationship between the current web page and the linked web page.
The Link Rel
is only available when a URL is the target.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Enter the relationship (find out more)
#
Lightbox
#
Type
The Lightbox Type
property defines the type of lightbox object applied to the Link Wrapper
.
It is important to correctly specify the object type when using dynamic data, you will otherwise run into an error.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on LightboxLink Action
- Find the Type property
- Click on the appropriate background type options (image, video)
Image Defines the lightbox object as an image.
Video Defines the lightbox object as a video.
#
Image/Video URL
The Lightbox URL
property allows you to define the image/video URL that will be used for the lightbox object.
Youtube and Vimeo videos are automatically supported.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on LightboxLink Action
- Find the Image/Video URL property
- Select an image/video by Clicking on Browse or copy/paste a URL
#
Height/Width
The Lightbox Height/Width
properties allow you to define the image height/width that will be used for the lightbox object.
These properties are only available when the Lightbox URL
If no height or width options are specified, the Lightbox will size them automatically. These properties are optional.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on LightboxLink Action
- Find the Height or Width property
- Enter your desired height/width
- Select your desired height/width unit
#
Caption
The Lightbox Caption
property allows you to define a description that will appear under the image.
This property is only available when the Lightbox URL
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on LightboxLink Action
- Find the Caption property
- Enter your desired caption
#
Overlay Color
The Lightbox Overlay Color
property defines the color of the overlay for the lightbox.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on LightboxLink Action
- Find the O. Color property
- Open the color picker by clicking on the color circle
- Select your color in the color picker or click on a global color
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on LightboxLink Action
- Find the O. Color property
- Click on the Clear
#
Gallery Name
The Lightbox Gallery Name
property allows you to define an identifier that will identify the lightbox object with other similar objects.
This property is useful when you want to add multiple lightbox images/videos in the same lightbox entity.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on LightboxLink Action
- Find the Gallery Name property
- Enter the desired identifier
#
Modal
#
Type
The Modal Type
property allows you to define whether the action should open or close the specified modal.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on ModalLink Action
- Find the Type property
- Select the desired option (open, close)
#
Block ID
The Modal Block ID
property allows you to define the Block ID of the modal you want to open or close when the user clicks on the hyperlink.
- Select a block
- Open the block inspector
- Navigate to the primary tab
- Find the Define as link property
- Click on Edit Link
- Make sure that
is set on ActionLink Type
- Make sure that
is set on ModalLink Action
- Find the Type property
- Select the desired option (open, close)