diff --git a/wp-content/themes/score/lib/admin/inc/theme-widgets.php b/wp-content/themes/score/lib/admin/inc/theme-widgets.php index 8a9b73c..5666d5f 100644 --- a/wp-content/themes/score/lib/admin/inc/theme-widgets.php +++ b/wp-content/themes/score/lib/admin/inc/theme-widgets.php @@ -43,8 +43,9 @@ class SidebarPosts extends WP_Widget {
$number, @@ -61,8 +62,9 @@ class SidebarPosts extends WP_Widget { // Column Width $column_width = "300"; - $counter = 0; - + $counter = 0;?> +
+ have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post(); include(dirname(__FILE__).'/../../../loop-dedication-data.php'); $counter++; @@ -117,8 +119,8 @@ class SidebarPosts extends WP_Widget { if ($post_from_to == "Yes") { ?> @@ -142,7 +144,9 @@ class SidebarPosts extends WP_Widget {
- +
+ diff --git a/wp-content/themes/score/lib/images/logo-w2.png b/wp-content/themes/score/lib/images/logo-w2.png index 7110799..a3e7118 100644 Binary files a/wp-content/themes/score/lib/images/logo-w2.png and b/wp-content/themes/score/lib/images/logo-w2.png differ diff --git a/wp-content/themes/score/lib/scripts/custom.php b/wp-content/themes/score/lib/scripts/custom.php index 1f1155c..003aad0 100644 --- a/wp-content/themes/score/lib/scripts/custom.php +++ b/wp-content/themes/score/lib/scripts/custom.php @@ -220,4 +220,11 @@ jQuery(window).ready(function() { } }); +jQuery(document).ready(function(){ + jQuery('#sidebar .sidebarposts .top_10 .posts').hide(); + jQuery('#sidebar .sidebarposts .top_10 h3').click(function() { + jQuery('#sidebar .sidebarposts .top_10 .posts').toggle('slow', function() {}); + }); +}); + \ No newline at end of file diff --git a/wp-content/themes/score/loop-dedication-data.php b/wp-content/themes/score/loop-dedication-data.php index 1117595..a3bf530 100644 --- a/wp-content/themes/score/loop-dedication-data.php +++ b/wp-content/themes/score/loop-dedication-data.php @@ -20,9 +20,9 @@ if(get_post_meta($post->ID, 'ghostpool_thumbnail_height', true) && get_post_meta // Song data $gp_settings['video'] = get_post_meta($post->ID, 'ghostpool_dedication_url', true); $gp_settings['artist'] = get_post_meta($post->ID, 'ghostpool_dedication_artist', true); -$gp_settings['artist_short'] = cutstr($gp_settings['artist'], 80, '...'); +$gp_settings['artist_short'] = cutstr($gp_settings['artist'], 47, '...'); $gp_settings['song'] = get_post_meta($post->ID, 'ghostpool_dedication_song', true); -$gp_settings['song_short'] = cutstr($gp_settings['song'], 80, '...'); +$gp_settings['song_short'] = cutstr($gp_settings['song'], 47, '...'); $gp_settings['artist_song'] = $gp_settings['artist'] . '. ' . $gp_settings['song']; $gp_settings['artist_song_span'] = '' . $gp_settings['artist'] . '. ' . $gp_settings['song']; $gp_settings['artist_song_span_short'] = cutstr($gp_settings['artist_song_span'], 38, ''); diff --git a/wp-content/themes/score/style-asong2u.css b/wp-content/themes/score/style-asong2u.css index 90be471..d88763e 100644 --- a/wp-content/themes/score/style-asong2u.css +++ b/wp-content/themes/score/style-asong2u.css @@ -414,7 +414,7 @@ ul.navmenu li a.logout:hover { #dedicationComments_container { display: inline-block; - width: 73.51% !important; + width: 90% !important; } #dedicationComments_container #comments { @@ -622,23 +622,27 @@ ul.navmenu li a.logout:hover { } /* Top members widget */ -#sidebar-home .widget.top_members { +.widget.top_members { color: #bf2d2d; width: 195px; float: left; } -#sidebar-home .widget.top_members a { +.widget.top_members a { color: #bf2d2d; } -#sidebar-home .widget.top_members h3 { +.widget.top_members h3 { color: #bf2d2d !important; font-size: 12px; text-transform: uppercase; + border: none; + background: none; + margin: 0; + padding: 0; } -#sidebar-home .widget.top_members .post-text { +.widget.top_members .post-text { text-align: center; font-size: 12px; font-weight: bold; @@ -646,7 +650,7 @@ ul.navmenu li a.logout:hover { heigth: 38px; } -#sidebar-home .widget.top_members a.button { +.widget.top_members a.button { color: #bf2d2d; text-shadow: none; background: #f4d2e3; @@ -686,18 +690,26 @@ ul.navmenu li a.logout:hover { } .widget.sidebarposts .post-loop .post-text { - float: right; - width: 58%; + float: left; + margin-left: 10px; + width: 100%; overflow: visible; } +.widget.sidebarposts .post-loop .post-text img.dedicationFlag { + height: 16px; + vertical-align: middle; + width: 16px; + margin: 0; +} + .widget.sidebarposts .post-loop .post-thumbnail { - float: left; - width: 75px; + text-align: center; + width: 100%; } .widget.sidebarposts a { - color: #34a089 !important; + color: #2E374A !important; } .widget.sidebarposts a span { @@ -705,7 +717,7 @@ ul.navmenu li a.logout:hover { } .widget.sidebarposts .post-loop .post-meta { - color: #34a089; + color: #2E374A; white-space: nowrap; line-height: 19px; } @@ -747,7 +759,7 @@ ul.navmenu li a.logout:hover { } .widget.sidebarposts .top_10 { - margin-top: -27px; + /*margin-top: -27px;*/ } .widget.sidebarposts .top_10 h3 { @@ -763,6 +775,7 @@ ul.navmenu li a.logout:hover { margin-bottom: 5px; color: #34A089 !important; text-align: center; + cursor: pointer; } @@ -1117,6 +1130,7 @@ h3.comments { .home-page #respond textarea { height: 90px !important; width: 100%; + max-width: none; } #respond h3 {