-
Notifications
You must be signed in to change notification settings - Fork 2
/
torres-digital-icecoder-ide-wp-plugin.php
78 lines (68 loc) · 3.04 KB
/
torres-digital-icecoder-ide-wp-plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php /* The Silence is Gold!
Plugin Name: Torres Digital - ICECoder IDE WP Plugin
Plugin URI: http://torresdigital.com.br/
Description: ❉ This plugin allows the <strong>ICECoder IDE</strong> to be accessed directly through the Wordpress Panel. Simple as that, simple as life should be. Source Code on GitHub https://github.com/icecoder/ICEcoder | ICECoder IDE Site - https://icecoder.net/
Version: 10.11.2022
Author: Torres Digital -Sites → Lojas Virtuais e e-Commerce
Author URI: https://facebook.com/torresdigital */
/* - Versions
#1° Version: 2.2.0.2020
#2° Version: 10.11.2022
*/
/**
*Torres Digital ICECoder IDE WP Plugin By Torres Digital ! // Source https://extreme-ip-lookup.com/
*
*/
add_action('admin_bar_menu', 'add_toolbar_items', 100);
function add_toolbar_items($admin_bar){
$admin_bar->add_menu( array(
'id' => 'icecoder-ide',
'title' => ' ❉ ICECoder IDE - LOGIN',
'href' => '/wp-content/plugins/torres-digital-icecoder-ide-wp-plugin-master/ICEcoder-master/lib/login.php',
'meta' => array(
'title' => __('* ICECoder IDE - LOGIN'),
'target' => '_blank',
'class' => 'icecoder-ide'
),
));
$admin_bar->add_menu( array(
'id' => 'icecoder-ide-sub-item',
'parent' => 'icecoder-ide',
'title' => 'Torres Digital - facebook <i class="fa fa-facebook-square" aria-hidden="true"></i>',
'href' => 'https://www.facebook.com/torresdigital/',
'meta' => array(
'title' => __('Torres Digital - facebook'),
'target' => '_blank',
'class' => 'my_menu_item_class'
),
));
$admin_bar->add_menu( array(
'id' => 'icecoder-ide-second-sub-item',
'parent' => 'icecoder-ide',
'title' => 'Torres Digital -Sites → Lojas Virtuais e e-Commerce',
'href' => 'https://www.torresdigital.tk/',
'meta' => array(
'title' => __('Torres Digital -Sites → Lojas Virtuais e e-Commerce'),
'target' => '_blank',
'class' => 'my_menu_item_class'
),
));
}
/*
* Font AWesome
*/
function wmpudev_enqueue_icon_stylesheet() {
wp_register_style( 'fontawesome', 'http:////maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' );
wp_enqueue_style( 'fontawesome');
}
add_action( 'wp_enqueue_scripts', 'wmpudev_enqueue_icon_stylesheet' );
// Add a parent shortcut link
/* Style */
function wpse_load_plugin_css() {
$plugin_url = plugin_dir_url( __FILE__ );
wp_enqueue_style( 'style', $plugin_url . 'css/style.css' );
/*wp_enqueue_style( 'style2', $plugin_url . 'css/style2.css' );*/
/*wp_enqueue_style( 'style2', $plugin_url . 'css/style2.css' );*/
}
add_action( 'wp_enqueue_scripts', 'wpse_load_plugin_css' );
?>