yuurisan
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
it finally work thanks a lot man…. but i still getting this err when i am changing option in wp-admin
Warning: Cannot modify header information – headers already sent by (output started at /inc/widgets/wg-sidebar.php:1) in /wp-includes/pluggable.php on line 1228
when i go there in wg-sidebar.php
<?php <---- this is line 1 /* ========================================================== RECENT POSTS ========================================================== */in the pluggable.php
$status = apply_filters( 'wp_redirect_status', $status, $location ); if ( ! $location ) return false; $location = wp_sanitize_redirect($location); if ( !$is_IIS && PHP_SAPI != 'cgi-fcgi' ) status_header($status); // This causes problems on IIS and some FastCGI setups this is the line 1228 header("Location: $location", true, $status); return true;It work in the post but not in the widget front page like here but on other widget it work http://i.imgur.com/X3KVq8D.png… that why I need to fix it… i did try the code u give me but it’s not working it give me err and using ur plugin and here is the code from the theme
foreach($posts as $post) { $image_thumb = get_post_meta($post->ID, 'img_url', true); $return_html.= '<li class="clearfix">'; $pm_video = get_post_meta($post->ID, 'pm_video_encode', true); $pm_has_video = $pm_video != ""; $pm_overall_score = get_post_meta($post->ID, 'pm_overall_score', true); $pm_review_enable = get_post_meta($post->ID, 'pm_review_enable', true); $pm_review_type = get_post_meta($post->ID, 'pm_review_type', true); if (has_post_thumbnail($post->ID)) { $image_id = get_post_thumbnail_id($post->ID); $image_url = wp_get_attachment_image_src($image_id, 'mini-thumbs', true); $return_html.= ' <span class="img-frame"> <a href="'.get_permalink($post->ID).'"> <img src="'.$image_url[0].'" width="95" height="53" alt="'. $post->post_title .'" /></a>'; if ($pm_has_video) { $return_html.= ' <a href="'.get_permalink($post->ID).'"><span class="pm-icon"><i class="icon-play"></i></span></a>'; } $return_html.= ' </span>';here is the site http://www.animearabs.net/atest/
Viewing 3 replies - 1 through 3 (of 3 total)