| 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/twitter.php (13397B)
"", "count" => 2, "username" => "", "consumer_key" => "", "consumer_secret" => "", "token_key" => "", "token_secret" => "", // Common params "id" => "", "class" => "", "css" => "" ), $atts)); extract($atts); $type = 'charity_is_hope_widget_twitter'; $output = ''; global $wp_widget_factory; if ( is_object( $wp_widget_factory ) && isset( $wp_widget_factory->widgets, $wp_widget_factory->widgets[ $type ] ) ) { $atts['twitter_username'] = $username; $atts['twitter_consumer_key'] = $consumer_key; $atts['twitter_consumer_secret'] = $consumer_secret; $atts['twitter_token_key'] = $token_key; $atts['twitter_token_secret'] = $token_secret; $atts['twitter_count'] = max(1, (int) $count); $output = ''; } return apply_filters('charity_is_hope_shortcode_output', $output, 'trx_widget_twitter', $atts, $content); } add_shortcode("trx_widget_twitter", "charity_is_hope_sc_widget_twitter"); } // Add [trx_widget_twitter] in the VC shortcodes list if (!function_exists('charity_is_hope_widget_twitter_reg_shortcodes_vc')) { function charity_is_hope_widget_twitter_reg_shortcodes_vc() { vc_map( array( "base" => "trx_widget_twitter", "name" => esc_html__("Widget Twitter Feed", 'trx_utils'), "description" => wp_kses_data( __("Insert widget with Twitter feed", 'trx_utils') ), "category" => esc_html__('Content', 'trx_utils'), "icon" => 'icon_trx_widget_twitter', "class" => "trx_widget_twitter", "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" => "count", "heading" => esc_html__("Tweets number", 'trx_utils'), "description" => wp_kses_data( __("Tweets number to show in the feed", 'trx_utils') ), "admin_label" => true, "class" => "", "value" => "2", "type" => "textfield" ), array( "param_name" => "username", "heading" => esc_html__("Twitter Username", 'trx_utils'), "description" => wp_kses_data( __("Twitter Username", 'trx_utils') ), "group" => esc_html__('Twitter account', 'trx_utils'), "class" => "", "value" => "", "type" => "textfield" ), array( "param_name" => "consumer_key", "heading" => esc_html__("Consumer Key", 'trx_utils'), "description" => wp_kses_data( __("Specify Consumer Key from Twitter application", 'trx_utils') ), "group" => esc_html__('Twitter account', 'trx_utils'), "class" => "", "value" => "", "type" => "textfield" ), array( "param_name" => "consumer_secret", "heading" => esc_html__("Consumer Secret", 'trx_utils'), "description" => wp_kses_data( __("Specify Consumer Secret from Twitter application", 'trx_utils') ), "group" => esc_html__('Twitter account', 'trx_utils'), "class" => "", "value" => "", "type" => "textfield" ), array( "param_name" => "token_key", "heading" => esc_html__("Token Key", 'trx_utils'), "description" => wp_kses_data( __("Specify Token Key from Twitter application", 'trx_utils') ), "group" => esc_html__('Twitter account', 'trx_utils'), "class" => "", "value" => "", "type" => "textfield" ), array( "param_name" => "token_secret", "heading" => esc_html__("Token Secret", 'trx_utils'), "description" => wp_kses_data( __("Specify Token Secret from Twitter application", 'trx_utils') ), "group" => esc_html__('Twitter account', 'trx_utils'), "class" => "", "value" => "", "type" => "textfield" ), 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_Twitter extends WPBakeryShortCode {} } } ?>