Version Description
September 9, 2017 =
Enhancement: Settings page improvements.
Update: POT file updated.
Update: Readme file updated.
Download this release
Release Info
Developer | designorbital |
Plugin | Easy Twitter Feed Widget Plugin |
Version | 0.8 |
Comparing to | |
See all releases |
Code changes from version 0.7 to 0.8
- css/admin.css +69 -138
- easy-twitter-feed-widget.php +18 -4
- inc/settings-page.php +74 -64
- inc/widget-twitter.php +20 -0
- languages/do-etfw.pot +94 -46
- readme.txt +7 -1
css/admin.css
CHANGED
@@ -1,159 +1,90 @@
|
|
1 |
/*--------------------------------------------------------------
|
2 |
-
|
3 |
-
----------------------------------------------------------------
|
4 |
-
1.0 - Clearings
|
5 |
-
2.0 - Admin Wrapper
|
6 |
-
3.0 - Forms
|
7 |
-
4.0 - Easytabs
|
8 |
--------------------------------------------------------------*/
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
--------------------------------------------------------------*/
|
13 |
-
.do-etfw-admin-wrapper:before,
|
14 |
-
.do-etfw-admin-wrapper:after,
|
15 |
-
.do-etfw-info:before,
|
16 |
-
.do-etfw-info:after,
|
17 |
-
.do-etfw-info-inside:before,
|
18 |
-
.do-etfw-info-inside:after {
|
19 |
-
content: '';
|
20 |
-
display: table;
|
21 |
-
}
|
22 |
-
.do-etfw-admin-wrapper:after,
|
23 |
-
.do-etfw-info:after,
|
24 |
-
.do-etfw-info-inside:after {
|
25 |
-
clear: both;
|
26 |
}
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
.
|
32 |
-
margin: 10px 0;
|
33 |
-
width: 98%;
|
34 |
}
|
35 |
|
36 |
-
.do-etfw-
|
37 |
-
|
38 |
-
border: 1px solid #e1e1e1;
|
39 |
-
border-bottom: none;
|
40 |
-
margin: 25px 0 0;
|
41 |
-
}
|
42 |
-
.do-etfw-header-inside {
|
43 |
-
padding: 25px;
|
44 |
-
}
|
45 |
-
.do-etfw-header h2 {
|
46 |
-
margin: 0;
|
47 |
-
padding: 0;
|
48 |
}
|
49 |
|
50 |
-
.do-etfw-
|
51 |
-
|
52 |
-
border: 1px solid #e1e1e1;
|
53 |
-
margin: 0 0 25px;
|
54 |
-
}
|
55 |
-
.do-etfw-info-inside {
|
56 |
-
padding: 25px;
|
57 |
}
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
}
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
68 |
-
|
69 |
-
|
|
|
70 |
}
|
71 |
|
72 |
/*--------------------------------------------------------------
|
73 |
-
|
74 |
--------------------------------------------------------------*/
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
}
|
92 |
-
.do-etfw-
|
93 |
-
|
94 |
-
}
|
95 |
-
.do-etfw-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
}
|
102 |
-
.do-etfw-form-footer-inside {
|
103 |
-
padding: 25px;
|
104 |
}
|
105 |
|
106 |
/*--------------------------------------------------------------
|
107 |
-
|
108 |
--------------------------------------------------------------*/
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
}
|
114 |
-
.do-etfw-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
min-height: 450px;
|
122 |
-
}
|
123 |
-
|
124 |
-
.do-etfw-tabs-container .panel-container {
|
125 |
-
background: #fff;
|
126 |
-
float: left;
|
127 |
-
width: 82%;
|
128 |
-
}
|
129 |
-
|
130 |
-
.do-etfw-tabs-container ul {
|
131 |
-
background: #f9f9f9;
|
132 |
-
border-right: 1px solid #e1e1e1;
|
133 |
-
display: block;
|
134 |
-
float: left;
|
135 |
-
min-height: 450px;
|
136 |
-
width: 15%;
|
137 |
-
list-style: none;
|
138 |
-
margin: 0 25px 0 0;
|
139 |
-
padding: 0;
|
140 |
-
}
|
141 |
-
.do-etfw-tabs-container ul li {
|
142 |
-
border-bottom: 1px solid #e1e1e1;
|
143 |
-
margin: 0;
|
144 |
-
padding: 0;
|
145 |
-
text-align: center;
|
146 |
-
}
|
147 |
-
.do-etfw-tabs-container ul li.active {
|
148 |
-
background: #fff;
|
149 |
-
left: 1px;
|
150 |
-
position: relative;
|
151 |
}
|
152 |
-
.do-etfw-tabs-container ul li a,
|
153 |
-
.do-etfw-tabs-container ul li a:visited {
|
154 |
-
color: #222;
|
155 |
-
display: block;
|
156 |
-
padding: 15px 0;
|
157 |
-
text-decoration: none;
|
158 |
-
outline: none;
|
159 |
-
}
|
1 |
/*--------------------------------------------------------------
|
2 |
+
Admin Wrapper
|
|
|
|
|
|
|
|
|
|
|
3 |
--------------------------------------------------------------*/
|
4 |
+
.do-etfw-admin-wrapper .options-wrapper h2 a.nav-tab:focus {
|
5 |
+
-webkit-box-shadow: none;
|
6 |
+
box-shadow: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
8 |
|
9 |
+
.do-etfw-admin-wrapper .options-wrapper section {
|
10 |
+
display: none;
|
11 |
+
padding: 20px 0;
|
12 |
+
padding: 1.25rem 0;
|
|
|
|
|
13 |
}
|
14 |
|
15 |
+
.do-etfw-admin-wrapper .options-wrapper section:first-of-type {
|
16 |
+
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
|
19 |
+
.do-etfw-admin-wrapper .options-wrapper section > h2 {
|
20 |
+
display: none;
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|
22 |
+
|
23 |
+
.do-etfw-admin-wrapper .info-wrapper {
|
24 |
+
margin: 20px 0 0;
|
25 |
+
margin: 1.25rem 0 0;
|
26 |
}
|
27 |
+
|
28 |
+
.do-etfw-admin-wrapper .info-wrapper .card-wrapper {
|
29 |
+
background: #fff;
|
30 |
+
border: 1px solid #e5e5e5;
|
31 |
+
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
32 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
33 |
+
margin: 0 0 20px;
|
34 |
+
margin: 0 0 1.25rem;
|
35 |
+
position: relative;
|
36 |
}
|
37 |
|
38 |
+
.do-etfw-admin-wrapper .info-wrapper .card-wrapper .card-wrapper-inside {
|
39 |
+
padding: 5px 20px;
|
40 |
+
padding: 0.3125rem 1.25rem;
|
41 |
}
|
42 |
|
43 |
/*--------------------------------------------------------------
|
44 |
+
Extra large devices (large desktops, 1200px and up)
|
45 |
--------------------------------------------------------------*/
|
46 |
+
@media (min-width: 1200px) {
|
47 |
+
/* Admin Wrapper */
|
48 |
+
.do-etfw-admin-wrapper .settings-container {
|
49 |
+
-webkit-box-align: stretch;
|
50 |
+
-ms-flex-align: stretch;
|
51 |
+
align-items: stretch;
|
52 |
+
display: -webkit-box;
|
53 |
+
display: -ms-flexbox;
|
54 |
+
display: flex;
|
55 |
+
-ms-flex-wrap: wrap;
|
56 |
+
flex-wrap: wrap;
|
57 |
+
-ms-flex-pack: distribute;
|
58 |
+
justify-content: space-around;
|
59 |
+
}
|
60 |
+
.do-etfw-admin-wrapper .settings-container .settings-col-options {
|
61 |
+
width: calc(100% - 300px);
|
62 |
+
}
|
63 |
+
.do-etfw-admin-wrapper .settings-container .settings-col-info {
|
64 |
+
width: 300px;
|
65 |
+
}
|
66 |
+
.do-etfw-admin-wrapper .options-wrapper {
|
67 |
+
padding: 0 30px 0 0;
|
68 |
+
padding: 0 1.875rem 0 0;
|
69 |
+
}
|
70 |
+
.do-etfw-admin-wrapper .info-wrapper {
|
71 |
+
margin: 0;
|
72 |
+
}
|
|
|
|
|
73 |
}
|
74 |
|
75 |
/*--------------------------------------------------------------
|
76 |
+
Very Extra large devices (large desktops, 1280px and up)
|
77 |
--------------------------------------------------------------*/
|
78 |
+
@media (min-width: 1280px) {
|
79 |
+
/* Admin Wrapper */
|
80 |
+
.do-etfw-admin-wrapper .settings-container .settings-col-options {
|
81 |
+
width: calc(100% - 320px);
|
82 |
+
}
|
83 |
+
.do-etfw-admin-wrapper .settings-container .settings-col-info {
|
84 |
+
width: 320px;
|
85 |
+
}
|
86 |
+
.do-etfw-admin-wrapper .options-wrapper {
|
87 |
+
padding: 0 60px 0 0;
|
88 |
+
padding: 0 3.75rem 0 0;
|
89 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
easy-twitter-feed-widget.php
CHANGED
@@ -7,7 +7,7 @@ Author: DesignOrbital.com
|
|
7 |
Author URI: https://designorbital.com
|
8 |
Text Domain: do-etfw
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 0.
|
11 |
License: GPL v3
|
12 |
|
13 |
Easy Twitter Feed Widget Plugin
|
@@ -31,17 +31,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
31 |
* Constants
|
32 |
*/
|
33 |
if ( ! defined( 'DO_ETFW_VERSION' ) ) {
|
34 |
-
define( 'DO_ETFW_VERSION', '0.
|
35 |
}
|
36 |
|
37 |
-
if ( ! defined( '
|
38 |
-
define( '
|
39 |
}
|
40 |
|
41 |
if ( ! defined( 'DO_ETFW_DIR_BASENAME' ) ) {
|
42 |
define( 'DO_ETFW_DIR_BASENAME', trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) );
|
43 |
}
|
44 |
|
|
|
|
|
|
|
|
|
45 |
if ( ! defined( 'DO_ETFW_URI' ) ) {
|
46 |
define( 'DO_ETFW_URI', trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
47 |
}
|
@@ -54,6 +58,16 @@ function do_etfw_load_textdomain() {
|
|
54 |
}
|
55 |
add_action( 'plugins_loaded', 'do_etfw_load_textdomain' );
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
/**
|
58 |
* Custom functions.
|
59 |
*/
|
7 |
Author URI: https://designorbital.com
|
8 |
Text Domain: do-etfw
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 0.8
|
11 |
License: GPL v3
|
12 |
|
13 |
Easy Twitter Feed Widget Plugin
|
31 |
* Constants
|
32 |
*/
|
33 |
if ( ! defined( 'DO_ETFW_VERSION' ) ) {
|
34 |
+
define( 'DO_ETFW_VERSION', '0.8' );
|
35 |
}
|
36 |
|
37 |
+
if ( ! defined( 'DO_ETFW_BASENAME' ) ) {
|
38 |
+
define( 'DO_ETFW_BASENAME', plugin_basename( __FILE__ ) );
|
39 |
}
|
40 |
|
41 |
if ( ! defined( 'DO_ETFW_DIR_BASENAME' ) ) {
|
42 |
define( 'DO_ETFW_DIR_BASENAME', trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) );
|
43 |
}
|
44 |
|
45 |
+
if ( ! defined( 'DO_ETFW_DIR' ) ) {
|
46 |
+
define( 'DO_ETFW_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
47 |
+
}
|
48 |
+
|
49 |
if ( ! defined( 'DO_ETFW_URI' ) ) {
|
50 |
define( 'DO_ETFW_URI', trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
51 |
}
|
58 |
}
|
59 |
add_action( 'plugins_loaded', 'do_etfw_load_textdomain' );
|
60 |
|
61 |
+
// Redirect to welcome screen upon plugin activation.
|
62 |
+
function do_etfw_activation_redirect( $plugin ) {
|
63 |
+
|
64 |
+
if ( $plugin === DO_ETFW_BASENAME ) {
|
65 |
+
exit( wp_redirect( add_query_arg( array( 'page' => 'do-etfw-options' ), admin_url( 'options-general.php' ) ) ) );
|
66 |
+
}
|
67 |
+
|
68 |
+
}
|
69 |
+
add_action( 'activated_plugin', 'do_etfw_activation_redirect' );
|
70 |
+
|
71 |
/**
|
72 |
* Custom functions.
|
73 |
*/
|
inc/settings-page.php
CHANGED
@@ -1,76 +1,86 @@
|
|
1 |
-
<div class="do-etfw-admin-wrapper">
|
|
|
2 |
|
3 |
-
<div class="
|
4 |
-
<div class="
|
5 |
-
|
6 |
-
<h2><?php printf( '%1$s %2$s', $plugin['Name'], esc_html__( 'Settings', 'do-etfw' ) ); ?></h2>
|
7 |
-
</div>
|
8 |
-
</div><!-- .do-etfw-header -->
|
9 |
|
10 |
-
|
11 |
-
<div class="do-etfw-info-inside">
|
12 |
-
<ul>
|
13 |
-
<li>
|
14 |
-
<a href="https://designorbital.com/premium-wordpress-themes/?utm_source=wporg-etfw&utm_medium=button&utm_campaign=premium-wp-themes" class="button button-primary" target="_blank"><?php echo esc_html__( 'Premium WordPress Themes', 'do-etfw' ); ?></a>
|
15 |
-
</li>
|
16 |
-
<li>
|
17 |
-
<a href="https://designorbital.com/free-wordpress-themes/?utm_source=wporg-etfw&utm_medium=button&utm_campaign=free-wp-themes" class="button" target="_blank"><?php echo esc_html__( 'Free WordPress Themes', 'do-etfw' ); ?></a>
|
18 |
-
</li>
|
19 |
-
<li>
|
20 |
-
<a href="https://www.facebook.com/designorbital" class="button" target="_blank"><?php echo esc_html__( 'Like Us On Facebook', 'do-etfw' ); ?></a>
|
21 |
-
</li>
|
22 |
-
<li>
|
23 |
-
<a href="https://twitter.com/designorbital" class="button" target="_blank"><?php echo esc_html__( 'Follow On Twitter', 'do-etfw' ); ?></a>
|
24 |
-
</li>
|
25 |
-
</ul>
|
26 |
-
</div>
|
27 |
-
</div><!-- .do-etfw-info -->
|
28 |
|
29 |
-
|
30 |
-
<div class="do-etfw-header-inside">
|
31 |
-
<?php $plugin = do_etfw_plugin_data(); ?>
|
32 |
-
<h2><?php echo esc_html__( 'Support Us for the Development and Maintenance of Plugin', 'etfw' ); ?></h2>
|
33 |
-
</div>
|
34 |
-
</div><!-- .do-etfw-header -->
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
<input type="hidden" name="cmd" value="_s-xclick">
|
40 |
-
<input type="hidden" name="hosted_button_id" value="Z3LBGSQDYRCWA">
|
41 |
-
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
42 |
-
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
43 |
-
</form>
|
44 |
-
</div>
|
45 |
-
</div><!-- .do-etfw-info -->
|
46 |
|
47 |
-
|
|
|
|
|
48 |
|
49 |
-
|
|
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
<input type="submit" class="button button-primary" value="<?php echo esc_html__( 'Save Changes', 'do-etfw' ); ?>">
|
54 |
-
</div>
|
55 |
-
</div><!-- .do-etfw-form-header -->
|
56 |
|
57 |
-
<div
|
58 |
-
<
|
59 |
-
<li class="tab" id="tab-1"><a href="#section-config"><?php echo esc_html__( 'Configuration', 'do-etfw' ); ?></a></li>
|
60 |
-
</ul>
|
61 |
-
<div class="panel-container">
|
62 |
-
<div id="section-config" class="panel">
|
63 |
-
<?php do_settings_sections( 'do_etfw_section_config_page' ); ?>
|
64 |
-
</div>
|
65 |
-
</div>
|
66 |
-
</div><!-- .do-etfw-tabs-container -->
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
</div><!-- .do-etfw-admin-wrapper -->
|
1 |
+
<div class="wrap do-etfw-admin-wrapper">
|
2 |
+
<h1><?php printf( '%1$s', esc_html__( 'Easy Twitter Feed Widget Plugin Settings', 'etfw' ) ); ?></h1>
|
3 |
|
4 |
+
<div class="settings-container">
|
5 |
+
<div class="settings-col settings-col-options">
|
6 |
+
<div class="options-wrapper">
|
|
|
|
|
|
|
7 |
|
8 |
+
<form action="options.php" method="post" class="form-options-wrapper">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
+
<?php settings_fields( 'do_etfw_options_group' ); ?>
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
+
<h2 class="nav-tab-wrapper">
|
13 |
+
<a class="nav-tab nav-tab-active" id="configuration-tab" href="#configuration"><?php esc_html_e( 'Configuration', 'etfw' ); ?></a>
|
14 |
+
</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
+
<section id="configuration" class="nav-tab-section">
|
17 |
+
<?php do_settings_sections( 'do_etfw_section_config_page' ); ?>
|
18 |
+
</section>
|
19 |
|
20 |
+
<input type="submit" class="button button-primary" value="<?php esc_html_e( 'Save Changes', 'etfw' ); ?>">
|
21 |
+
</form>
|
22 |
|
23 |
+
</div><!-- .options-wrapper -->
|
24 |
+
</div><!-- .settings-col -->
|
|
|
|
|
|
|
25 |
|
26 |
+
<div class="settings-col settings-col-info">
|
27 |
+
<div class="info-wrapper">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
+
<div class="card-wrapper">
|
30 |
+
<div class="card-wrapper-inside">
|
31 |
+
<h2 class="title"><?php esc_html_e( 'Get 30% Discount', 'etfw' ); ?></h2>
|
32 |
+
<?php
|
33 |
+
printf( '<p>%1$s</p> <p><code>%2$s</code></p> <p><a href="%3$s" class="button button-primary" target="_blank">%4$s</a></p> <p><a href="%5$s" class="button" target="_blank">%6$s</a></p>',
|
34 |
+
esc_html__( 'Get 30% discount on DesignOrbital premium WordPress themes by using the following discount code.', 'etfw' ),
|
35 |
+
esc_html__( 'TWITTERWIDGET30', 'etfw' ),
|
36 |
+
esc_url( 'https://designorbital.market/?utm_source=wporg-etfw&utm_medium=button&utm_campaign=designorbital' ),
|
37 |
+
esc_html__( 'Premium WordPress Themes', 'etfw' ),
|
38 |
+
esc_url( 'https://designorbital.com/free-wordpress-themes/?utm_source=wporg-etfw&utm_medium=button&utm_campaign=designorbital' ),
|
39 |
+
esc_html__( 'Free WordPress Themes', 'etfw' )
|
40 |
+
);
|
41 |
+
?>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
|
45 |
+
<div class="card-wrapper">
|
46 |
+
<div class="card-wrapper-inside">
|
47 |
+
<h2 class="title"><?php esc_html_e( 'Rate the Plugin', 'etfw' ); ?></h2>
|
48 |
+
<?php
|
49 |
+
printf( '<p>%1$s</p> <p><a href="%2$s" target="_blank">%3$s</a></p>',
|
50 |
+
esc_html__( 'Do you like the plugin?', 'etfw' ),
|
51 |
+
esc_url( 'https://wordpress.org/support/plugin/easy-twitter-feed-widget/reviews/' ),
|
52 |
+
esc_html__( 'Please rate it at wordpress.org!', 'etfw' )
|
53 |
+
);
|
54 |
+
?>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
|
58 |
+
<div class="card-wrapper">
|
59 |
+
<div class="card-wrapper-inside">
|
60 |
+
<h2 class="title"><?php esc_html_e( 'Support Us', 'etfw' ); ?></h2>
|
61 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
62 |
+
<input type="hidden" name="cmd" value="_s-xclick">
|
63 |
+
<input type="hidden" name="hosted_button_id" value="Z3LBGSQDYRCWA">
|
64 |
+
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
65 |
+
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
66 |
+
</form>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<div class="card-wrapper">
|
71 |
+
<div class="card-wrapper-inside">
|
72 |
+
<h2 class="title"><?php esc_html_e( 'Follow Us', 'etfw' ); ?></h2>
|
73 |
+
<p>
|
74 |
+
<a href="https://www.facebook.com/designorbital" class="button" target="_blank"><?php echo esc_html__( 'Like Us On Facebook', 'do-etfw' ); ?></a>
|
75 |
+
</p>
|
76 |
+
<p>
|
77 |
+
<a href="https://twitter.com/designorbital" class="button" target="_blank"><?php echo esc_html__( 'Follow On Twitter', 'do-etfw' ); ?></a>
|
78 |
+
</p>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
|
82 |
+
</div><!-- .info-wrapper -->
|
83 |
+
</div><!-- .settings-col -->
|
84 |
+
</div><!-- .settings-container -->
|
85 |
|
86 |
</div><!-- .do-etfw-admin-wrapper -->
|
inc/widget-twitter.php
CHANGED
@@ -360,6 +360,26 @@ class DO_ETFW_Widget extends WP_Widget {
|
|
360 |
</label>
|
361 |
</p>
|
362 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
363 |
<?php
|
364 |
}
|
365 |
|
360 |
</label>
|
361 |
</p>
|
362 |
|
363 |
+
<p>
|
364 |
+
<?php
|
365 |
+
printf( '%1$s <a href="%2$s" target="_blank">%3$s</a>',
|
366 |
+
esc_html__( '30% discount on premium WordPress themes?', 'etfw' ),
|
367 |
+
esc_url( add_query_arg( array( 'page' => 'do-etfw-options' ), admin_url( 'options-general.php' ) ) ),
|
368 |
+
esc_html__( 'Get Discount Code', 'etfw' )
|
369 |
+
);
|
370 |
+
?>
|
371 |
+
</p>
|
372 |
+
|
373 |
+
<p>
|
374 |
+
<?php
|
375 |
+
printf( '%1$s <a href="%2$s" target="_blank">%3$s</a>',
|
376 |
+
esc_html__( 'Do you like the plugin?', 'etfw' ),
|
377 |
+
esc_url( 'https://wordpress.org/support/plugin/easy-twitter-feed-widget/reviews/' ),
|
378 |
+
esc_html__( 'Please rate it at wordpress.org!', 'etfw' )
|
379 |
+
);
|
380 |
+
?>
|
381 |
+
</p>
|
382 |
+
|
383 |
<?php
|
384 |
}
|
385 |
|
languages/do-etfw.pot
CHANGED
@@ -3,20 +3,20 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Easy Twitter Feed Widget\n"
|
6 |
-
"POT-Creation-Date:
|
7 |
"PO-Revision-Date: 2016-12-18 13:44+0500\n"
|
8 |
"Last-Translator: DesignOrbital <care@designorbital.com>\n"
|
9 |
"Language-Team: DesignOrbital <care@designorbital.com>\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: easy-twitter-feed-widget.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;
|
19 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
@@ -46,7 +46,7 @@ msgstr ""
|
|
46 |
msgid "Plugin Official Page"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: inc/admin.php:103 inc/settings-page.php:
|
50 |
msgid "Configuration"
|
51 |
msgstr ""
|
52 |
|
@@ -70,132 +70,180 @@ msgstr ""
|
|
70 |
msgid "Select \"no\" if your theme loads Twitter script."
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: inc/settings-page.php:
|
74 |
-
msgid "Settings"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: inc/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
msgid "Premium WordPress Themes"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: inc/settings-page.php:
|
82 |
msgid "Free WordPress Themes"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: inc/settings-page.php:
|
86 |
-
msgid "
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: inc/settings-page.php:
|
90 |
-
msgid "
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: inc/settings-page.php:
|
94 |
-
msgid "
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: inc/settings-page.php:
|
98 |
-
msgid "
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: inc/
|
102 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: inc/widget-twitter.php:
|
|
|
|
|
|
|
|
|
106 |
msgid "Display an official Twitter Embedded Timeline widget."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: inc/widget-twitter.php:
|
|
|
|
|
|
|
|
|
110 |
msgid "Tweets by @"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: inc/widget-twitter.php:
|
114 |
msgid "Username"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: inc/widget-twitter.php:
|
118 |
msgid "Widget ID"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: inc/widget-twitter.php:
|
122 |
msgid "Light"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: inc/widget-twitter.php:
|
126 |
msgid "Dark"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: inc/widget-twitter.php:
|
130 |
msgid "Title:"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: inc/widget-twitter.php:
|
134 |
msgid "Timeline Type:"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: inc/widget-twitter.php:
|
138 |
msgid "Twitter Username:"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: inc/widget-twitter.php:
|
142 |
msgid "Widget ID:"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: inc/widget-twitter.php:
|
146 |
msgid "It can be empty, if you are using Timeline Type \"Username\"."
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: inc/widget-twitter.php:
|
150 |
-
msgid "Maximum Width
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: inc/widget-twitter.php:
|
154 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: inc/widget-twitter.php:
|
158 |
msgid "Number of Tweets Shown:"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: inc/widget-twitter.php:
|
162 |
msgid "Theme:"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: inc/widget-twitter.php:
|
166 |
msgid "Link Color (hex):"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: inc/widget-twitter.php:
|
170 |
msgid "Border Color (hex):"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: inc/widget-twitter.php:
|
174 |
msgid "Layout Options:"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: inc/widget-twitter.php:
|
178 |
msgid "No Header"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: inc/widget-twitter.php:
|
182 |
msgid "No Footer"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: inc/widget-twitter.php:
|
186 |
msgid "No Borders"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: inc/widget-twitter.php:
|
190 |
msgid "No Scrollbar"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: inc/widget-twitter.php:
|
194 |
msgid "Transparent Background"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: inc/widget-twitter.php:
|
198 |
-
|
|
|
|
|
|
|
|
|
|
|
199 |
msgstr ""
|
200 |
|
201 |
#. Plugin URI of the plugin/theme
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Easy Twitter Feed Widget\n"
|
6 |
+
"POT-Creation-Date: 2017-09-09 16:43+0500\n"
|
7 |
"PO-Revision-Date: 2016-12-18 13:44+0500\n"
|
8 |
"Last-Translator: DesignOrbital <care@designorbital.com>\n"
|
9 |
"Language-Team: DesignOrbital <care@designorbital.com>\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 2.0.3\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: easy-twitter-feed-widget.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
|
19 |
+
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
46 |
msgid "Plugin Official Page"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: inc/admin.php:103 inc/settings-page.php:13
|
50 |
msgid "Configuration"
|
51 |
msgstr ""
|
52 |
|
70 |
msgid "Select \"no\" if your theme loads Twitter script."
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: inc/settings-page.php:2
|
74 |
+
msgid "Easy Twitter Feed Widget Plugin Settings"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: inc/settings-page.php:20
|
78 |
+
msgid "Save Changes"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: inc/settings-page.php:31
|
82 |
+
msgid "Get 30% Discount"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: inc/settings-page.php:34
|
86 |
+
#, php-format
|
87 |
+
msgid ""
|
88 |
+
"Get 30% discount on DesignOrbital premium WordPress themes by using the "
|
89 |
+
"following discount code."
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: inc/settings-page.php:35
|
93 |
+
msgid "TWITTERWIDGET30"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: inc/settings-page.php:37
|
97 |
msgid "Premium WordPress Themes"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: inc/settings-page.php:39
|
101 |
msgid "Free WordPress Themes"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: inc/settings-page.php:47
|
105 |
+
msgid "Rate the Plugin"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: inc/settings-page.php:50 inc/widget-twitter.php:376
|
109 |
+
msgid "Do you like the plugin?"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: inc/settings-page.php:52 inc/widget-twitter.php:378
|
113 |
+
msgid "Please rate it at wordpress.org!"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: inc/settings-page.php:60
|
117 |
+
msgid "Support Us"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: inc/settings-page.php:72
|
121 |
+
msgid "Follow Us"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: inc/settings-page.php:74
|
125 |
+
msgid "Like Us On Facebook"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: inc/settings-page.php:77
|
129 |
+
msgid "Follow On Twitter"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: inc/widget-twitter.php:42
|
133 |
+
msgid "Follow me on Twitter"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: inc/widget-twitter.php:61
|
137 |
msgid "Display an official Twitter Embedded Timeline widget."
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: inc/widget-twitter.php:68
|
141 |
+
msgid "Twitter Timeline (Easy Twitter Feed Widget)"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: inc/widget-twitter.php:149
|
145 |
msgid "Tweets by @"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: inc/widget-twitter.php:243
|
149 |
msgid "Username"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: inc/widget-twitter.php:244
|
153 |
msgid "Widget ID"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: inc/widget-twitter.php:249
|
157 |
msgid "Light"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: inc/widget-twitter.php:250
|
161 |
msgid "Dark"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: inc/widget-twitter.php:269
|
165 |
msgid "Title:"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: inc/widget-twitter.php:274
|
169 |
msgid "Timeline Type:"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: inc/widget-twitter.php:283
|
173 |
msgid "Twitter Username:"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: inc/widget-twitter.php:288
|
177 |
msgid "Widget ID:"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: inc/widget-twitter.php:291
|
181 |
msgid "It can be empty, if you are using Timeline Type \"Username\"."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: inc/widget-twitter.php:295
|
185 |
+
msgid "Maximum Width:"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: inc/widget-twitter.php:298
|
189 |
+
msgid "px; 220 to 1200"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: inc/widget-twitter.php:302
|
193 |
+
msgid "Height:"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: inc/widget-twitter.php:305
|
197 |
+
msgid "px; at least 200"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: inc/widget-twitter.php:309
|
201 |
msgid "Number of Tweets Shown:"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: inc/widget-twitter.php:314
|
205 |
msgid "Theme:"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: inc/widget-twitter.php:323
|
209 |
msgid "Link Color (hex):"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: inc/widget-twitter.php:328
|
213 |
msgid "Border Color (hex):"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: inc/widget-twitter.php:334
|
217 |
msgid "Layout Options:"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: inc/widget-twitter.php:339
|
221 |
msgid "No Header"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: inc/widget-twitter.php:344
|
225 |
msgid "No Footer"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: inc/widget-twitter.php:349
|
229 |
msgid "No Borders"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: inc/widget-twitter.php:354
|
233 |
msgid "No Scrollbar"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: inc/widget-twitter.php:359
|
237 |
msgid "Transparent Background"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: inc/widget-twitter.php:366
|
241 |
+
#, php-format
|
242 |
+
msgid "30% discount on premium WordPress themes?"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: inc/widget-twitter.php:368
|
246 |
+
msgid "Get Discount Code"
|
247 |
msgstr ""
|
248 |
|
249 |
#. Plugin URI of the plugin/theme
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
5 |
Tags: twitter, twitter feed, tweet, twitter widget, feed, widget, twitter sidebar, social, social media, sidebar, plugin
|
6 |
Requires at least: 4.6
|
7 |
Tested up to: 4.8.1
|
8 |
-
Stable tag: 0.
|
9 |
|
10 |
Add twitter feeds on your WordPress site by using the Easy Twitter Feed Widget plugin.
|
11 |
|
@@ -62,6 +62,12 @@ You can display tweets by using one of the following two methods.
|
|
62 |
|
63 |
== Changelog ==
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
= 0.7 - September 5, 2017 =
|
66 |
|
67 |
* Enhancement: Code improvements.
|
5 |
Tags: twitter, twitter feed, tweet, twitter widget, feed, widget, twitter sidebar, social, social media, sidebar, plugin
|
6 |
Requires at least: 4.6
|
7 |
Tested up to: 4.8.1
|
8 |
+
Stable tag: 0.8
|
9 |
|
10 |
Add twitter feeds on your WordPress site by using the Easy Twitter Feed Widget plugin.
|
11 |
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= 0.8 - September 9, 2017 =
|
66 |
+
|
67 |
+
* Enhancement: Settings page improvements.
|
68 |
+
* Update: POT file updated.
|
69 |
+
* Update: Readme file updated.
|
70 |
+
|
71 |
= 0.7 - September 5, 2017 =
|
72 |
|
73 |
* Enhancement: Code improvements.
|