Testimonials Widget - Version 0.2.9

Version Description

  • Require Editor role for managing Testimonials
Download this release

Release Info

Developer comprock
Plugin Icon wp plugin Testimonials Widget
Version 0.2.9
Comparing to
See all releases

Code changes from version 0.2.8 to 0.2.9

Files changed (2) hide show
  1. readme.txt +32 -3
  2. testimonials-widget.php +16 -3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://typo3vagabond.com/about-typo3-vagabond/donate/
4
  Tags: testimonial, testimonials, quote, quotes, quotations, random quote, sidebar, widget
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
- Stable tag: 0.2.8
8
 
9
  Testimonials widget plugin allows you display testimonials in a widget on your WordPress blog.
10
 
@@ -78,7 +78,6 @@ Use [testimonialswidget_list]. Usage examples are at the bottom of http://wordpr
78
 
79
  Look for `[testimonialswidget_list]`.
80
 
81
-
82
  = How do I hide the comma after the author? =
83
 
84
  Use CSS.
@@ -114,9 +113,36 @@ Styling such as text color, font size, background color, etc., of the random quo
114
  color: blue;
115
  }`
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  = How to change the admin access level setting for the quotes collection admin page? =
118
 
119
- Change the value of the variable `$testimonialswidget_admin_userlevel` on line 33 of the testimonials-widget.php file. Refer [WordPress documentation](http://codex.wordpress.org/Roles_and_Capabilities) for more information about user roles and capabilities.
120
 
121
  == Screenshots ==
122
 
@@ -142,6 +168,9 @@ Change the value of the variable `$testimonialswidget_admin_userlevel` on line 3
142
  = trunk =
143
  -
144
 
 
 
 
145
  = 0.2.8 =
146
  * CSS testimonialswidget_testimonial_list fix #2
147
 
4
  Tags: testimonial, testimonials, quote, quotes, quotations, random quote, sidebar, widget
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
+ Stable tag: 0.2.9
8
 
9
  Testimonials widget plugin allows you display testimonials in a widget on your WordPress blog.
10
 
78
 
79
  Look for `[testimonialswidget_list]`.
80
 
 
81
  = How do I hide the comma after the author? =
82
 
83
  Use CSS.
113
  color: blue;
114
  }`
115
 
116
+ = How can I style the shortcode testimonials? =
117
+
118
+ Using my own testimonials page, http://typo3vagabond.com/typo3-vagabond-testimonials/, as the example.
119
+
120
+ Each shortcode testimonial is wrapped by a `div` using classes `testimonialswidget_testimonial testimonialswidget_testimonial_list`. As such, to increase spacing between testimonials, try…
121
+
122
+ `
123
+ .testimonialswidget_testimonial_list {
124
+ padding-bottom: 1em;
125
+ }
126
+ `
127
+ Making the citation line a different color is a little trickier. The reason being is that applying a color to `.testimonialswidget_testimonial cite` will change the entire citation line in the widget display as well. To only change the shortcode testimonial citation color, try…
128
+
129
+ `
130
+ .testimonialswidget_testimonial_list cite {
131
+ color: blue;
132
+ }
133
+ `
134
+ If you're wanting to change only the source (URL/email address) color, then try.
135
+
136
+ `
137
+ .testimonialswidget_testimonial_list cite .testimonialswidget_source {
138
+ color: purple;
139
+ }
140
+ `
141
+ Like wise, the author uses class `testimonialswidget_author` and join ", " uses class `testimonialswidget_join`.
142
+
143
  = How to change the admin access level setting for the quotes collection admin page? =
144
 
145
+ Change the value of the variable `$testimonialswidget_admin_userlevel` on line 33 of the testimonials-widget.php file. Refer [WordPress documentation](http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table) for more information about user roles and capabilities.
146
 
147
  == Screenshots ==
148
 
168
  = trunk =
169
  -
170
 
171
+ = 0.2.9 =
172
+ * Require Editor role for managing Testimonials
173
+
174
  = 0.2.8 =
175
  * CSS testimonialswidget_testimonial_list fix #2
176
 
testimonials-widget.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Testimonials Widget
4
  Description: Testimonial widget plugin helps you display testimonials in a sidebar on your WordPress blog.
5
- Version: 0.2.8
6
  Author: Michael Cannon
7
  Author URI: http://typo3vagabond.com/about-typo3-vagabond/hire-michael/
8
  License: GPL2
@@ -33,8 +33,21 @@ License: GPL2
33
  */
34
 
35
 
36
- /* Refer http://codex.wordpress.org/Roles_and_Capabilities */
37
- $testimonialswidget_admin_userlevel = 'edit_posts';
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  $testimonialswidget_db_version = '0.1';
40
 
2
  /*
3
  Plugin Name: Testimonials Widget
4
  Description: Testimonial widget plugin helps you display testimonials in a sidebar on your WordPress blog.
5
+ Version: 0.2.9
6
  Author: Michael Cannon
7
  Author URI: http://typo3vagabond.com/about-typo3-vagabond/hire-michael/
8
  License: GPL2
33
  */
34
 
35
 
36
+ /* Refer http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table */
37
+ // Super Admin
38
+ // $testimonialswidget_admin_userlevel = 'manage_network';
39
+
40
+ // Admin
41
+ // $testimonialswidget_admin_userlevel = 'activate_plugins';
42
+
43
+ // Editor
44
+ $testimonialswidget_admin_userlevel = 'edit_others_posts';
45
+
46
+ // Author
47
+ // $testimonialswidget_admin_userlevel = 'edit_published_posts';
48
+
49
+ // Contributor
50
+ // $testimonialswidget_admin_userlevel = 'edit_posts';
51
 
52
  $testimonialswidget_db_version = '0.1';
53