diff --git a/wp-content/themes/score/author.php b/wp-content/themes/score/author.php index a54a936..bf6f306 100644 --- a/wp-content/themes/score/author.php +++ b/wp-content/themes/score/author.php @@ -65,7 +65,7 @@ global $current_user; get_currentuserinfo();
- <?php if(get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true); } else { echo $p->post_title; } ?> + <?php if(get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true); } else { echo $p->post_title; } ?>
diff --git a/wp-content/themes/score/functions.php b/wp-content/themes/score/functions.php index a2be739..04016d2 100644 --- a/wp-content/themes/score/functions.php +++ b/wp-content/themes/score/functions.php @@ -517,7 +517,6 @@ function gp_ajax_pagination($pages = '', $range = 2) { /* * ************************* Posts Per Page Fix ************************** */ function gp_posts_per_page($query_string) { - require(ghostpool_inc . 'options.php'); if (!is_admin()) { @@ -643,7 +642,7 @@ function htmlwrap(&$str, $maxLength, $char='
'){ function cutstr($str, $length, $ellipsis=''){ $cut = (array)explode('\n\n', htmlwrap($str, $length, '\n\n')); - return $cut[0].((strlen($cut) 1, "orderby" => $orderby, "order" => $order, - "gdsr_sort" => $gdsr_sort, - "gdsr_order" => $gdsr_order, "paged" => $paged, "posts_per_page" => -1 ); @@ -52,8 +50,6 @@ $args = array( "ignore_sticky_posts" => 1, "orderby" => $orderby, "order" => $order, - "gdsr_sort" => $gdsr_sort, - "gdsr_order" => $gdsr_order, "paged" => $paged, "posts_per_page" => $gp_settings['posts_per_page'], "post__not_in" => $ids_descartados diff --git a/wp-content/themes/score/lib/admin/inc/theme-meta-options.php b/wp-content/themes/score/lib/admin/inc/theme-meta-options.php index 14485de..7e380a6 100644 --- a/wp-content/themes/score/lib/admin/inc/theme-meta-options.php +++ b/wp-content/themes/score/lib/admin/inc/theme-meta-options.php @@ -1,6 +1,4 @@ \ No newline at end of file +?> \ No newline at end of file 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 8eccc28..8a9b73c 100644 --- a/wp-content/themes/score/lib/admin/inc/theme-widgets.php +++ b/wp-content/themes/score/lib/admin/inc/theme-widgets.php @@ -60,6 +60,8 @@ class SidebarPosts extends WP_Widget { // Column Width $column_width = "300"; + + $counter = 0; if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post(); include(dirname(__FILE__).'/../../../loop-dedication-data.php'); @@ -82,7 +84,7 @@ class SidebarPosts extends WP_Widget {
- <?php if (get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) {
+                                    <img src=" width="" height="" alt=" - <?php if (get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) {
+                                    <img src=" width="" height="" alt=" - * + * * * @param int $attach_id * @param string $img_url diff --git a/wp-content/themes/score/members/single/profile/profile-loop.php b/wp-content/themes/score/members/single/profile/profile-loop.php index e9b61ff..3cc94a4 100644 --- a/wp-content/themes/score/members/single/profile/profile-loop.php +++ b/wp-content/themes/score/members/single/profile/profile-loop.php @@ -70,7 +70,7 @@ if($current_user->ID == $bp->displayed_user->id) { ?>
- <?php if(get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true); } else { echo $p->post_title; } ?> + <?php if(get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id($o), '_wp_attachment_image_alt', true); } else { echo $p->post_title; } ?>
diff --git a/wp-content/themes/score/review-tabs.php b/wp-content/themes/score/review-tabs.php index 8f997d9..efcb154 100644 --- a/wp-content/themes/score/review-tabs.php +++ b/wp-content/themes/score/review-tabs.php @@ -75,7 +75,7 @@ ID, '', 137, 100, true); ?> - <?php echo $attachment->post_title ?> + <?php echo $attachment->post_title ?> diff --git a/wp-content/themes/score/slider.php b/wp-content/themes/score/slider.php index fb071e8..290735e 100644 --- a/wp-content/themes/score/slider.php +++ b/wp-content/themes/score/slider.php @@ -68,7 +68,7 @@ - <?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?> + <?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?> @@ -119,7 +119,7 @@ - <?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?> + <?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?> ID, 'ghostpool_slide_url', true) OR get_post_meta($post->ID, 'ghostpool_slide_link_type', true) != "Page" OR get_post_type() != "slide") { ?>