This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vc_map( | |
| array( | |
| "name" => esc_html__('Contact Info', 'danfe'), | |
| "base" => 'danfe_display_contact_info', | |
| "category" => esc_html__('Danfe', 'danfe'), | |
| "params" => array( | |
| array( | |
| 'type' => 'iconpicker', | |
| 'heading' => esc_html__('Icons', 'danfe'), | |
| 'param_name' => 'icons', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function danfe_display_contact_info_fn() | |
| { | |
| vc_map( | |
| array( | |
| "name" => esc_html__('Contact Info', 'danfe'), | |
| "base" => 'danfe_display_contact_info', | |
| "category" => esc_html__('Danfe', 'danfe'), | |
| "params" => array( | |
| array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //vc_map_update( 'iconpicker', 'vc_iconpicker_type_linea'); | |
| if (!function_exists('vc_iconpicker_type_linea')) { | |
| function vc_iconpicker_type_linea( $icons ) | |
| { | |
| $linea_icons = array( | |
| 'Arrows' => array( | |
| array('icon icon-arrows-anticlockwise' => esc_html__('Anticlockwise', 'danfe')), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( ! defined( 'ABSPATH' ) ) exit; | |
| function danfe_create_icons() | |
| { | |
| $linea_icons = array( | |
| 'Arrows' => array( | |
| array('icon icon-arrows-anticlockwise' => esc_html__('Anticlockwise', 'danfe')), | |
| array('icon icon-arrows-anticlockwise-dashed' => esc_html__('Anticlockwise-Dashed', 'danfe')), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Turn debugging on | |
| define('WP_DEBUG', true); | |
| // Tell WordPress to log everything to /wp-content/debug.log | |
| define('WP_DEBUG_LOG', true); | |
| // Turn off the display of error messages on your site | |
| define('WP_DEBUG_DISPLAY', false); | |
| // For good measure, you can also add the follow code, which will hide errors from being displayed on-screen |
NewerOlder