PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home3/caa20236/public_html/wp-content/themes/fortuna/includes/shortcodes/vc/
Server: Linux int2.cpanelhost.cl 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
IP: 138.117.148.152
Choose File :

Url:
Dir : //home3/caa20236/public_html/wp-content/themes/fortuna/includes/shortcodes/vc/boc_icon.php

<?php

/**
	Icon Shortcode - part of the Theme Base -> shortcodes.php
**/



// Map Shortcode in Visual Composer
vc_map( array(
	"name"		=> "Fortuna Icon",
	"base"		=> "boc_icon",
	"icon"		=> "boc_icon",
	"category" 	=> "Fortuna Shortcodes",
	"weight"	=> 74,
	"params"	=> array(
		array(
			"type"          => "iconpicker",
			"heading"       => "Icon",
			"param_name"    => "icon",
			"admin_label"   => true,
			"settings" => array(
				'type' 		=> 'fortuna',
				'emptyIcon' => false, // default true, display an "EMPTY" icon?
				'iconsPerPage' => 4000, // default 100, how many icons per/page to display, we use (big number) to display all icons in single page
			),
			'description' 	=> __( 'Select icon from library.', 'Fortuna' ),
		),
		array(
			"type"			=> "dropdown",
			"class"			=> "",
			"heading"		=> __( "Icon Size", 'Fortuna' ),
			"param_name"	=> "size",
			"description"	=> __( "Select an icon size.", 'Fortuna' ),
			"value"			=> array(
				__( "Tiny", "Fortuna" )		=> "tiny",
				__( "Small", "Fortuna")		=> "small",
				__( "Normal", "Fortuna" )		=> "normal",
				__( "Large", "Fortuna" )		=> "large",
				__( "Huge", "Fortuna" )		=> "huge",
			),
			"std"			=> "normal",
		),
		array(
			"type"		=> "dropdown",
			"heading"	=> "Icon Position",
			"param_name"	=> "icon_position",
			"value"		=> array(
				"Left"	=> "left",
				"Center"	=> "center",
				"Right"	=> "right",
			),
			"std"			=> "left",
			"description"	=> "Select your icon position",
		),
		array(
			"type"		=> "colorpicker",
			"heading"	=> "Icon Color",
			"param_name"	=> "icon_color",
			"value"		=> "#333333",
		),
		array(
			"type"		=> 'checkbox',
			"heading"	=> __("Add Background Color?", "Fortuna"),
			"param_name"	=> "has_icon_bg",
			"description"	=> __("If selected, your icon will have a background color", "Fortuna"),
			"value"		=> Array(__("Yes", "Fortuna") => 'yes' ),
		),
		array(
			"type"		=> "colorpicker",
			"heading"	=> "Icon Background",
			"param_name"	=> "icon_bg",
			"value"		=> "#ffffff",
			"dependency"	=> Array( 'element'	=> "has_icon_bg", 'not_empty' => true ),
		),
		array(
			"type"		=> "colorpicker",
			"heading"	=> "Icon Background Border",
			"param_name"	=> "icon_bg_border",
			"value"		=> "#ffffff",
			"dependency"	=> Array( 'element'	=> "has_icon_bg", 'not_empty' => true ),
		),
		array(
			"type"			=> "textfield",
			"class"			=> "",
			"heading"		=> __( "Border Radius", 'Fortuna' ),
			"param_name"		=> "border_radius",
			"value"			=> "100%",
			"description"		=> __( "Change the background border radius/roundness (px/%).", 'Fortuna' ),
			"dependency"	=> Array( 'element'	=> "has_icon_bg", 'not_empty' => true ),
		),
		array(
			"type"		=> "textfield",
			"heading"	=> "Margin Top",
			"param_name"	=> "margin_top",
			"value"		=> "",
			"description"	=> "Add a top margin if you want one. For example (10px)",			
		),
		array(
			"type"		=> "textfield",
			"heading"	=> "Margin Bottom",
			"param_name"	=> "margin_bottom",
			"value"		=> "",
			"description"	=> "Add a bottom margin if you want one. For example (10px)",			
		),
		array(
			"type"		=> "dropdown",
			"heading"	=> __("CSS Animation", "Fortuna"),
			"param_name"	=> "css_animation",
			"admin_label"	=> true,				
			"value"			=> array(
				__("None", "Fortuna")					=> '',
				__("Top to bottom", "Fortuna")			=> "top-to-bottom",
				__("Bottom to top", "Fortuna")			=> "bottom-to-top",
				__("Left to right", "Fortuna")			=> "left-to-right",
				__("Right to left", "Fortuna")			=> "right-to-left",
				__("Fade In", "Fortuna")				=> "fade-in"),
			"description"	=> __("Select one if you want this element to be animated once it enters the browsers viewport.", "Fortuna"),
		),		
		array(
			"type" => "textfield",
			"heading" => __("Extra class name", 'Fortuna'),
			"param_name" => "css_classes",
			"value" => "",
			"description" => __("If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'Fortuna'),
		),				
	)
));