Merhabalar. Elimdeki bir tema için özel alan bilgisine ihtiyacım var. index.php dosyasını buraya ekliyorum ona bakaraktan bir çözüme ulaşılabilirmi acaba.


get_header();

$sidebar = "true";
$align = strtolower( (!get_option("hades_sidebar_align")) ? 'right' : get_option("hades_sidebar_align") );

if($sidebar=="true") {

if($align == "right")
$hasSidebar = "hasRightSidebar";
else
$hasSidebar = "hasLeftSidebar";
}


?>










">


include(HPATH."/slidermanager/slidersettings.php");
else echo"
";
?>






    if ( have_posts() ) : while ( have_posts() ) : the_post();

    $more = 0;
    ?>


  • $width = "half";
    if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) :
    $id = get_post_thumbnail_id();
    $ar = wp_get_attachment_image_src( $id , array(9999,9999) );

    $theImageSrc = $ar[0];
    global $blog_id;
    if (isset($blog_id) && $blog_id > 0) {
    $imageParts = explode('/files/', $theImageSrc);
    if (isset($imageParts[1])) {
    $theImageSrc = '/blogs.dir/' . $blog_id . '/files/' . $imageParts[1];
    }
    }
    ?>







    global $more; // Declare global $more (before the loop).
    $more = 1;
    $content = get_the_content('');
    $content = apply_filters('the_content', $content);
    $content = str_replace(']]>', ']]>', $content);
    $helper->shortenContent( 200 , strip_tags( $content ) ); ?>









  • _e( '

    Hiç Yazı Yok !

    ','h-framework' );
    endif;
    ?>













"); ?>












wp_reset_query();

get_sidebar(); ?>