$number,
- 'gdsr_sort' => $gd_sort,
- 'gdsr_order' => $gd_order,
+ 'orderby' => $gd_sort,
+ 'order' => $gd_order,
'cat' => $cats
);
@@ -99,7 +101,8 @@ class SidebarPosts extends WP_Widget {
__('Yes', 'gp_lang'),
'score_type' => __('Site Score', 'gp_lang'),
'post_meta' => __('Yes', 'gp_lang'),
- 'gd_sort' => 'review',
+ 'gd_sort' => 'date',
'gd_order' => 'desc',
- 'after_text' => ''
+ 'after_text' => '',
+ 'css_class' => '',
+ 'max_length' => 999,
);
$instance = wp_parse_args((array) $instance, $defaults);
?>
+
+
+
+
@@ -246,6 +258,9 @@ class SidebarPosts extends WP_Widget {
echo ' selected="selected"';
} ?>>
+
+
+
@@ -290,9 +305,9 @@ class SidebarPosts extends WP_Widget {
diff --git a/wp-content/themes/score/style-asong2u.css b/wp-content/themes/score/style-asong2u.css
index 4806382..7787ed5 100644
--- a/wp-content/themes/score/style-asong2u.css
+++ b/wp-content/themes/score/style-asong2u.css
@@ -656,27 +656,29 @@ ul.navmenu li a.logout:hover {
font-size: 14px;
line-height: 14px;
font-weight: bold;
+ padding: 5px 0;
+ width: 95%;
}
/* Sidebarposts widget */
-#sidebar .widget.sidebarposts {
+.widget.sidebarposts {
}
-#sidebar .widget.sidebarposts h3,
-#sidebar .widget.sidebarposts .post-loop .post-text {
+.widget.sidebarposts h3,
+.widget.sidebarposts .post-loop .post-text {
color: #34a089 !important;
text-align: left;
font-size: 12px;
}
-#sidebar .widget.sidebarposts h3 {
+.widget.sidebarposts h3 {
background: transparent;
border: 0px;
padding: 0;
margin: 0;
}
-#sidebar .widget.sidebarposts .post-loop {
+.widget.sidebarposts .post-loop {
width: 100% !important;
min-height: 88px;
margin: 0;
@@ -684,7 +686,7 @@ ul.navmenu li a.logout:hover {
border: none;
}
-#sidebar .widget.sidebarposts .post-loop .post-text {
+.widget.sidebarposts .post-loop .post-text {
float: right;
width: 58%;
overflow: visible;
@@ -730,6 +732,40 @@ ul.navmenu li a.logout:hover {
}
+.widget.sidebarposts .we_recommend {
+ margin-top: 2px;
+}
+
+.widget.sidebarposts .we_recommend .post-loop .post-thumbnail {
+ width: 100%;
+ text-align: center;
+}
+
+.widget.sidebarposts .we_recommend .post-loop .post-text {
+ width: 100%;
+ float: left;
+ margin-left: 10px;
+}
+
+.widget.sidebarposts .top_10 {
+ margin-top: -27px;
+}
+
+.widget.sidebarposts .top_10 h3 {
+ background: none repeat scroll 0 0 #D7EDEB;
+ border: 1px solid #4DA6A2;
+ color: #34A089;
+ display: block;
+ font-size: 14px;
+ font-weight: bold;
+ line-height: 14px;
+ text-shadow: none;
+ padding: 5px 0px;
+ margin-bottom: 5px;
+ color: #34A089 !important;
+ text-align: center;
+
+}
.widget.top_members img,
.widget.sidebarposts img {