| Name | Size | Mode | Actions |
|---|---|---|---|
| qrcode/ | - | 0755 | rm |
| banner.php | 9492 | 0644 | editdlrm |
| calendar.php | 7285 | 0644 | editdlrm |
| categories.php | 11882 | 0644 | editdlrm |
| flickr.php | 8556 | 0644 | editdlrm |
| give.php | 7033 | 0644 | editdlrm |
| popular_posts.php | 21873 | 0644 | editdlrm |
| recent_posts.php | 17658 | 0644 | editdlrm |
| recent_reviews.php | 18370 | 0644 | editdlrm |
| socials.php | 13544 | 0644 | editdlrm |
| top10.php | 20931 | 0644 | editdlrm |
| twitter.php | 13397 | 0644 | editdlrm |
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/trx_utils/widgets/banner.php (9492B)
get_field_id( 'banner_media' ), array('type'=>'mediamanager', 'media_field_id'=>$this->get_field_id( 'banner_image' )), null));
if ($banner_image) {
?>
"", "image" => "", "link" => "", "code" => "", // Common params "id" => "", "class" => "", "css" => "" ), $atts)); extract($atts); $type = 'charity_is_hope_widget_banner'; $output = ''; global $wp_widget_factory; if ( is_object( $wp_widget_factory ) && isset( $wp_widget_factory->widgets, $wp_widget_factory->widgets[ $type ] ) ) { $atts['banner_image'] = $image; $atts['banner_link'] = $link; $atts['banner_code'] = $code; $output = ''; } return apply_filters('charity_is_hope_shortcode_output', $output, 'trx_widget_banner', $atts, $content); } add_shortcode("trx_widget_banner", "charity_is_hope_sc_widget_banner"); } // Add [trx_widget_banner] in the VC shortcodes list if (!function_exists('charity_is_hope_widget_banner_reg_shortcodes_vc')) { //add_action('charity_is_hope_action_shortcodes_list_vc','charity_is_hope_widget_banner_reg_shortcodes_vc'); function charity_is_hope_widget_banner_reg_shortcodes_vc() { vc_map( array( "base" => "trx_widget_banner", "name" => esc_html__("Widget Banner", 'trx_utils'), "description" => wp_kses_data( __("Insert widget with banner or any HTML and/or Javascript code", 'trx_utils') ), "category" => esc_html__('Content', 'trx_utils'), "icon" => 'icon_trx_widget_banner', "class" => "trx_widget_banner", "content_element" => true, "is_container" => false, "show_settings_on_create" => true, "params" => array( array( "param_name" => "title", "heading" => esc_html__("Widget title", 'trx_utils'), "description" => wp_kses_data( __("Title of the widget", 'trx_utils') ), "admin_label" => true, "class" => "", "value" => "", "type" => "textfield" ), array( "param_name" => "image", "heading" => esc_html__("Image", 'trx_utils'), "description" => wp_kses_data( __("Select or upload image or write URL from other site for the banner (leave empty if you paste banner code)", 'trx_utils') ), "class" => "", "value" => "", "type" => "attach_image" ), array( "param_name" => "link", "heading" => esc_html__("Banner's link", 'trx_utils'), "description" => wp_kses_data( __("Link URL for the banner (leave empty if you paste banner code)", 'trx_utils') ), "class" => "", "value" => "", "type" => "textfield" ), array( "param_name" => "code", "heading" => esc_html__("or paste Banner Widget HTML Code", 'trx_utils'), "description" => wp_kses_data( __("Widget's HTML and/or JS code", 'trx_utils') ), "class" => "", "value" => "", "type" => "textarea" ), charity_is_hope_get_vc_param('id'), charity_is_hope_get_vc_param('class'), charity_is_hope_get_vc_param('css') ) ) ); class WPBakeryShortCode_Trx_Widget_Banner extends WPBakeryShortCode {} } } ?>