• User

    Modifica template homepage DeepFocus

    Ciao a tutti,
    data la mia poca dimenstichezza con i css, vi chiedo un piccolo aiuto per modificare la home del mio sito fatto con wp..

    fotomenis.it

    Praticamente vedete che, nella parte centrale, ci sono 3 blocchi: portfolio, servizi e blog.

    Se io volessi eliminare uno dei 3 blocchi, ad esempio il primo (portfolio), e far sì che il blocco servizi aumenti la dimensione (diventando quindi "doppio" rispetto a com'è ora).. come potrei procedere?

    Grazie!! 😃


  • User Attivo

    Per eliminare il primo blocco devi agire sul html della pagina home eliminando il primo div.
    Per aumentare in larghezza il secondo blocco devi portare a 612px il width alla riga 131 del file css quello cioè che inizia con div.service


  • User

    @elmanisero said:

    Per eliminare il primo blocco devi agire sul html della pagina home eliminando il primo div.
    Per aumentare in larghezza il secondo blocco devi portare a 612px il width alla riga 131 del file css quello cioè che inizia con div.service

    Grazie mille, stasera provo e vi faccio sapere!

    Altra domandina.. vedete che nel terzo blocco, quello sul blog, sotto il titolo di ogni post c'è "scritto da...", ecco, io volessi eliminare il nome di chi l'ha scritto, ma lasciare solo la data, come potrei fare?
    Premetto che, nelle impostazioni del tema, il campo "autore" è già stato disabilitato (v. sezione "Blog" dal menu in alto), ma in quel particolare blocco continua a comparire..

    Grazie!


  • User Attivo

    Sempre in home page togli quello che non vuoi che appaia.
    Fai sempre un back-up di quello che modifichi perchè se qualcosa non dovesse andare ripristini la copia salvata.


  • User

    @elmanisero said:

    Per eliminare il primo blocco devi agire sul html della pagina home eliminando il primo div.

    Non è così semplice come sembra, ho fatto alcuni test ma mi escono errori..

    Mi puoi dire cosa devo togliere per eliminare quel primo blocco centrale?

    Questo il codice della home:

    <?php get_header(); ?>

    <div id="content-full">
        <div id="home-top"></div>
        <div id="hr">
            <div id="hr-center">
                <div id="intro">
                    <div class="center-highlight">
                    
                        <div class="container">
    
                            <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>
                            
                            <?php if (get_option('deepfocus_quote') == 'on') { ?>
                                <div id="tagline">
                                    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
                                    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
                                </div>    <!-- end #tagline-->
                            <?php } ?>
                            
                        </div> <!-- end .container -->    
                    </div> <!-- end .center-highlight -->
                </div>    <!-- end #intro -->    
            </div> <!-- end #hr-center -->
        </div> <!-- end -->
                
        <div class="center-highlight">
            <div class="container">
                
                <?php if (get_option('deepfocus_blog_style') == 'false') { ?>
                    <?php for ($i=1; $i <= 2; $i++) { ?>
                        <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocus_home_page_'.$i)))); while (have_posts()) : the_post(); ?>
                            <div class="service">
                                <h3 class="hometitle"><?php the_title(); ?></h3>
                                <?php global $more;
                                $more = 0;    
                                the_content(''); ?>
                                <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Continua...','DeepFocus'); ?></span></a>
                            </div> <!-- end .service -->
                        <?php endwhile; wp_reset_query(); ?>
                    <?php } ?>
                
                    
                    <div class="service" id="blog">
                        <div id="blog-top"></div>
                        <div id="blog-wrapper">
                            <div id="blog-content">
                                <h4 class="widgettitle"><?php _e('Dal Blog','DeepFocus'); ?></h4>
                                <div class="recentscroll">
                                    <ul>
                                        <?php query_posts("showposts=".get_option('deepfocus_fromblog_number')."&cat=".get_cat_ID(get_option('deepfocus_blog_cat')));
                                        if (have_posts()) : while (have_posts()) : the_post(); ?>
                                            <li class="clearfix">
                                                <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
                                                <span class="postinfo"><?php _e('Scritto','DeepFocus'); ?> <?php _e('da','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('il','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
                                            </li>
                                        <?php endwhile; endif; wp_reset_query(); ?>
                                    </ul> <!-- end ul.nav -->
                                </div> <!-- end .recentscroll -->
                            </div> <!-- end #blog-center -->
                        </div> <!-- end #blog-wrapper -->    
                        
                        <div id="controllers2">
                            <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
                            <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
                        </div>    <!-- end #controllers2 -->
                    </div> <!-- end .service -->
                    
                    <div class="clear"></div>
                    
                    <h3 class="hometitle recentworks"><?php _e('Ultime Immagini','DeepFocus'); ?></h3>
                    
                    <div id="portfolio-items" class="clearfix">
                        
                        <?php $allCats = get_categories();
                        
                        $blogCats = array();
                        $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));
                        
                        foreach ($allCats as $category) {
                            if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
                        }
                        
                        $args = array('category__not_in' => $blogCats,
                                      'showposts' => get_option('deepfocus_portfolio_number'));
                        
                        $i = 1;
                        query_posts($args);
                        if (have_posts()) : while (have_posts()) : the_post(); ?>
                            <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
                        <?php $i++; endwhile; endif; wp_reset_query(); ?>
                        
                        <div class="clear"></div>
                        
                        <a href="<?php echo(get_category_link(get_cat_ID(get_option('deepfocus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Entra nella Gallery','DeepFocus'); ?></span></a>
                    </div> <!-- end #portfolio-items -->    
                
                <?php } else { ?>
                    <div id="content-area" class="clearfix">
                
                        <div id="left-area">
                            <?php $args=array(
                                'showposts'=>get_option('deepfocus_homepage_posts'),
                                'paged'=>$paged,
                                'category__not_in' => get_option('deepfocus_exlcats_recent'),
                            );
                            if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
                            query_posts($args); ?>
                            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>                    
                                <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
                                <?php $i++; ?>
                            <?php endwhile; ?>
                                <div class="clear"></div>
                                <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
                                else { ?>
                                     <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
                                <?php } ?>
                                
                            <?php else : ?>
                                <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
                            <?php endif; wp_reset_query(); ?>
                            
                        </div> <!-- end #left-area -->
                        
                        <?php get_sidebar(); ?>
    
                    </div> <!-- end #content-area -->
                <?php } ?>
                
            </div> <!-- end .container -->
                    
            <?php get_footer(); ?>

  • User Attivo

    [PHP]<?php get_header(); ?>

    <div id="content-full">
    <div id="home-top"></div>
    <div id="hr">
    <div id="hr-center">
    <div id="intro">
    <div class="center-highlight">

    <div class="container">

    <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>

    <?php if (get_option('deepfocus_quote') == 'on') { ?>
    <div id="tagline">
    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
    </div> <!-- end #tagline-->
    <?php } ?>

    </div> <!-- end .container -->
    </div> <!-- end .center-highlight -->
    </div> <!-- end #intro -->
    </div> <!-- end #hr-center -->
    </div> <!-- end -->

    <div class="center-highlight">
    <div class="container">

    <?php if (get_option('deepfocus_blog_style') == 'false') { ?>
    <?php for ($i=1; $i <= 2; $i++) { ?>
    <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocu s_home_page_'.$i)))); while (have_posts()) : the_post(); ?>

    <?php endwhile; wp_reset_query(); ?>
    <?php } ?>

    <div class="service" id="blog">
    <div id="blog-top"></div>
    <div id="blog-wrapper">
    <div id="blog-content">
    <h4 class="widgettitle"><?php _e('Dal Blog','DeepFocus'); ?></h4>
    <div class="recentscroll">
    <ul>
    <?php query_posts("showposts=".get_option('deepfocus_fro mblog_number')."&cat=".get_cat_ID(get_option('deep focus_blog_cat')));
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <li class="clearfix">
    <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
    <span class="postinfo"><?php _e('Scritto','DeepFocus'); ?> <?php _e('da','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('il','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
    </li>
    <?php endwhile; endif; wp_reset_query(); ?>
    </ul> <!-- end ul.nav -->
    </div> <!-- end .recentscroll -->
    </div> <!-- end #blog-center -->
    </div> <!-- end #blog-wrapper -->

    <div id="controllers2">
    <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
    <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
    </div> <!-- end #controllers2 -->
    </div> <!-- end .service -->

    <div class="clear"></div>

    <h3 class="hometitle recentworks"><?php _e('Ultime Immagini','DeepFocus'); ?></h3>

    <div id="portfolio-items" class="clearfix">

    <?php $allCats = get_categories();

    $blogCats = array();
    $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));

    foreach ($allCats as $category) {
    if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
    }

    $args = array('category__not_in' => $blogCats,
    'showposts' => get_option('deepfocus_portfolio_number'));

    $i = 1;
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
    <?php $i++; endwhile; endif; wp_reset_query(); ?>

    <div class="clear"></div>

    <a href="<?php echo(get_category_link(get_cat_ID(get_option('deep focus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Entra nella Gallery','DeepFocus'); ?></span></a>
    </div> <!-- end #portfolio-items -->

    <?php } else { ?>
    <div id="content-area" class="clearfix">

    <div id="left-area">
    <?php $args=array(
    'showposts'=>get_option('deepfocus_homepage_posts' ),
    'paged'=>$paged,
    'category__not_in' => get_option('deepfocus_exlcats_recent'),
    );
    if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
    query_posts($args); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
    <?php $i++; ?>
    <?php endwhile; ?>
    <div class="clear"></div>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    else { ?>
    <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
    <?php } ?>

    <?php else : ?>
    <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
    <?php endif; wp_reset_query(); ?>

    </div> <!-- end #left-area -->

    <?php get_sidebar(); ?>

    </div> <!-- end #content-area -->
    <?php } ?>

    </div> <!-- end .container -->

    <?php get_footer(); ?>[/PHP]


  • User

    @elmanisero said:

    [php]<?php get_header(); ?>

    <div id="content-full">
    <div id="home-top"></div>
    <div id="hr">
    <div id="hr-center">
    <div id="intro">
    <div class="center-highlight">

    <div class="container">

    <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>

    <?php if (get_option('deepfocus_quote') == 'on') { ?>
    <div id="tagline">
    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
    </div> <!-- end #tagline-->
    <?php } ?>

    </div> <!-- end .container -->
    </div> <!-- end .center-highlight -->
    </div> <!-- end #intro -->
    </div> <!-- end #hr-center -->
    </div> <!-- end -->

    <div class="center-highlight">
    <div class="container">

    <?php if (get_option('deepfocus_blog_style') == 'false') { ?>
    <?php for ($i=1; $i <= 2; $i++) { ?>
    <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocu s_home_page_'.$i)))); while (have_posts()) : the_post(); ?>

    <?php endwhile; wp_reset_query(); ?>
    <?php } ?>

    <div class="service" id="blog">
    <div id="blog-top"></div>
    <div id="blog-wrapper">
    <div id="blog-content">
    <h4 class="widgettitle"><?php _e('Dal Blog','DeepFocus'); ?></h4>
    <div class="recentscroll">
    <ul>
    <?php query_posts("showposts=".get_option('deepfocus_fro mblog_number')."&cat=".get_cat_ID(get_option('deep focus_blog_cat')));
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <li class="clearfix">
    <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
    <span class="postinfo"><?php _e('Scritto','DeepFocus'); ?> <?php _e('da','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('il','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
    </li>
    <?php endwhile; endif; wp_reset_query(); ?>
    </ul> <!-- end ul.nav -->
    </div> <!-- end .recentscroll -->
    </div> <!-- end #blog-center -->
    </div> <!-- end #blog-wrapper -->

    <div id="controllers2">
    <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
    <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
    </div> <!-- end #controllers2 -->
    </div> <!-- end .service -->

    <div class="clear"></div>

    <h3 class="hometitle recentworks"><?php _e('Ultime Immagini','DeepFocus'); ?></h3>

    <div id="portfolio-items" class="clearfix">

    <?php $allCats = get_categories();

    $blogCats = array();
    $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));

    foreach ($allCats as $category) {
    if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
    }

    $args = array('category__not_in' => $blogCats,
    'showposts' => get_option('deepfocus_portfolio_number'));

    $i = 1;
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
    <?php $i++; endwhile; endif; wp_reset_query(); ?>

    <div class="clear"></div>

    <a href="<?php echo(get_category_link(get_cat_ID(get_option('deep focus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Entra nella Gallery','DeepFocus'); ?></span></a>
    </div> <!-- end #portfolio-items -->

    <?php } else { ?>
    <div id="content-area" class="clearfix">

    <div id="left-area">
    <?php $args=array(
    'showposts'=>get_option('deepfocus_homepage_posts' ),
    'paged'=>$paged,
    'category__not_in' => get_option('deepfocus_exlcats_recent'),
    );
    if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
    query_posts($args); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
    <?php $i++; ?>
    <?php endwhile; ?>
    <div class="clear"></div>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    else { ?>
    <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
    <?php } ?>

    <?php else : ?>
    <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
    <?php endif; wp_reset_query(); ?>

    </div> <!-- end #left-area -->

    <?php get_sidebar(); ?>

    </div> <!-- end #content-area -->
    <?php } ?>

    </div> <!-- end .container -->

    <?php get_footer(); ?>[/php]

    Ciao, ho provato a fare quella modifica, ma mi toglie proprio tutti e due i blocchi (praticamente i primi due a sx), mi lascia soltanto il blocco "Dal Blog" e tra l'altro questo blocco si sovrappone a quello in basso.. se vai sul sito vedi come viene (ho lasciato così)..

    Altre idee? Grazie!


  • User Attivo

    Non è facile non avendo il tema e per di più questo è un tema premium.
    Comunque facciamo sta prova e se non va potresti rivolgerti al produttore che di sicuro ti darà una mano.
    [PHP]<?php get_header(); ?>

    <div id="content-full">
    <div id="home-top"></div>
    <div id="hr">
    <div id="hr-center">
    <div id="intro">
    <div class="center-highlight">

    <div class="container">

    <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>

    <?php if (get_option('deepfocus_quote') == 'on') { ?>
    <div id="tagline">
    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
    </div> <!-- end #tagline-->
    <?php } ?>

    </div> <!-- end .container -->
    </div> <!-- end .center-highlight -->
    </div> <!-- end #intro -->
    </div> <!-- end #hr-center -->
    </div> <!-- end -->

    <div class="center-highlight">
    <div class="container">

    <?php if (get_option('deepfocus_blog_style') == 'false') { ?>

    <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocu s_home_page_'.$i)))); while (have_posts()) : the_post(); ?>
    <div class="service">
    <h3 class="hometitle"><?php the_title(); ?></h3>
    <?php global $more;
    $more = 0;
    the_content(''); ?>
    <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Continua...','DeepFocus'); ?></span></a>
    </div> <!-- end .service -->
    <?php endwhile; wp_reset_query(); ?>

    <div class="service" id="blog">
    <div id="blog-top"></div>
    <div id="blog-wrapper">
    <div id="blog-content">
    <h4 class="widgettitle"><?php _e('Dal Blog','DeepFocus'); ?></h4>
    <div class="recentscroll">
    <ul>
    <?php query_posts("showposts=".get_option('deepfocus_fro mblog_number')."&cat=".get_cat_ID(get_option('deep focus_blog_cat')));
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <li class="clearfix">
    <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
    <span class="postinfo"><?php _e('Scritto','DeepFocus'); ?> <?php _e('da','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('il','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
    </li>
    <?php endwhile; endif; wp_reset_query(); ?>
    </ul> <!-- end ul.nav -->
    </div> <!-- end .recentscroll -->
    </div> <!-- end #blog-center -->
    </div> <!-- end #blog-wrapper -->

    <div id="controllers2">
    <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
    <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
    </div> <!-- end #controllers2 -->
    </div> <!-- end .service -->

    <div class="clear"></div>

    <h3 class="hometitle recentworks"><?php _e('Ultime Immagini','DeepFocus'); ?></h3>

    <div id="portfolio-items" class="clearfix">

    <?php $allCats = get_categories();

    $blogCats = array();
    $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));

    foreach ($allCats as $category) {
    if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
    }

    $args = array('category__not_in' => $blogCats,
    'showposts' => get_option('deepfocus_portfolio_number'));

    $i = 1;
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
    <?php $i++; endwhile; endif; wp_reset_query(); ?>

    <div class="clear"></div>

    <a href="<?php echo(get_category_link(get_cat_ID(get_option('deep focus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Entra nella Gallery','DeepFocus'); ?></span></a>
    </div> <!-- end #portfolio-items -->

    <?php } else { ?>
    <div id="content-area" class="clearfix">

    <div id="left-area">
    <?php $args=array(
    'showposts'=>get_option('deepfocus_homepage_posts' ),
    'paged'=>$paged,
    'category__not_in' => get_option('deepfocus_exlcats_recent'),
    );
    if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
    query_posts($args); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
    <?php $i++; ?>
    <?php endwhile; ?>
    <div class="clear"></div>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    else { ?>
    <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
    <?php } ?>

    <?php else : ?>
    <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
    <?php endif; wp_reset_query(); ?>

    </div> <!-- end #left-area -->

    <?php get_sidebar(); ?>

    </div> <!-- end #content-area -->
    <?php } ?>

    </div> <!-- end .container -->

    <?php get_footer(); ?> [/PHP]


  • User

    @elmanisero said:

    Non è facile non avendo il tema e per di più questo è un tema premium.
    Comunque facciamo sta prova e se non va potresti rivolgerti al produttore che di sicuro ti darà una mano.
    [php]<?php get_header(); ?>

    <div id="content-full">
    <div id="home-top"></div>
    <div id="hr">
    <div id="hr-center">
    <div id="intro">
    <div class="center-highlight">

    <div class="container">

    <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>

    <?php if (get_option('deepfocus_quote') == 'on') { ?>
    <div id="tagline">
    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
    </div> <!-- end #tagline-->
    <?php } ?>

    </div> <!-- end .container -->
    </div> <!-- end .center-highlight -->
    </div> <!-- end #intro -->
    </div> <!-- end #hr-center -->
    </div> <!-- end -->

    <div class="center-highlight">
    <div class="container">

    <?php if (get_option('deepfocus_blog_style') == 'false') { ?>

    <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocu s_home_page_'.$i)))); while (have_posts()) : the_post(); ?>
    <div class="service">
    <h3 class="hometitle"><?php the_title(); ?></h3>
    <?php global $more;
    $more = 0;
    the_content(''); ?>
    <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Continua...','DeepFocus'); ?></span></a>
    </div> <!-- end .service -->
    <?php endwhile; wp_reset_query(); ?>

    <div class="service" id="blog">
    <div id="blog-top"></div>
    <div id="blog-wrapper">
    <div id="blog-content">
    <h4 class="widgettitle"><?php _e('Dal Blog','DeepFocus'); ?></h4>
    <div class="recentscroll">
    <ul>
    <?php query_posts("showposts=".get_option('deepfocus_fro mblog_number')."&cat=".get_cat_ID(get_option('deep focus_blog_cat')));
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <li class="clearfix">
    <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
    <span class="postinfo"><?php _e('Scritto','DeepFocus'); ?> <?php _e('da','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('il','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
    </li>
    <?php endwhile; endif; wp_reset_query(); ?>
    </ul> <!-- end ul.nav -->
    </div> <!-- end .recentscroll -->
    </div> <!-- end #blog-center -->
    </div> <!-- end #blog-wrapper -->

    <div id="controllers2">
    <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
    <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
    </div> <!-- end #controllers2 -->
    </div> <!-- end .service -->

    <div class="clear"></div>

    <h3 class="hometitle recentworks"><?php _e('Ultime Immagini','DeepFocus'); ?></h3>

    <div id="portfolio-items" class="clearfix">

    <?php $allCats = get_categories();

    $blogCats = array();
    $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));

    foreach ($allCats as $category) {
    if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
    }

    $args = array('category__not_in' => $blogCats,
    'showposts' => get_option('deepfocus_portfolio_number'));

    $i = 1;
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
    <?php $i++; endwhile; endif; wp_reset_query(); ?>

    <div class="clear"></div>

    <a href="<?php echo(get_category_link(get_cat_ID(get_option('deep focus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Entra nella Gallery','DeepFocus'); ?></span></a>
    </div> <!-- end #portfolio-items -->

    <?php } else { ?>
    <div id="content-area" class="clearfix">

    <div id="left-area">
    <?php $args=array(
    'showposts'=>get_option('deepfocus_homepage_posts' ),
    'paged'=>$paged,
    'category__not_in' => get_option('deepfocus_exlcats_recent'),
    );
    if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
    query_posts($args); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
    <?php $i++; ?>
    <?php endwhile; ?>
    <div class="clear"></div>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    else { ?>
    <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
    <?php } ?>

    <?php else : ?>
    <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
    <?php endif; wp_reset_query(); ?>

    </div> <!-- end #left-area -->

    <?php get_sidebar(); ?>

    </div> <!-- end #content-area -->
    <?php } ?>

    </div> <!-- end .container -->

    <?php get_footer(); ?> [/php]

    Grande, ora si vede solo il primo blocco! :smile5:

    Grazie mille.. ora provo ad allargarlo in modo che copra anche lo spazio dell'altro blocco..


  • User

    Benissimo, combinato anche con la larghezza! :smile5:

    Ora devo solo togliere, dalla home, il titolo della pagina e il tasto "Continua", proverò a smanettare un pochettino..


  • User

    Uhm.. sai qual'è l'unico problema?

    Prima di fare la modifica, avevo impostato (nelle impostazioni del tema) la visualizzazione di una certa pagina in quello spazio (ad esempio la pagina "Contatti" com'è adesso), però ora se vado a modificare la pagina da visualizzare, ad esempio metto la pagina "Servizi", non me la cambia, in home si vede sempre quella (e cioè "Contatti")..

    Forse facendo quelle modifiche mi "blocca" la visualizzazione su quella pagina fissa e poi non posso più modificarla?

    Quindi, una possibile soluzione, sarebbe quella di impostare la pagina che resterà sempre lì prima di fare la modifica al codice da te suggerita?

    Grazie mille! :wink3:


  • User Attivo

    Vedo che si tratta di un tema di Elegantthemes.
    In verità forse non servivano queste modifiche al tema, puoi gestire tranquillamente da pannello di controllo Epanel o tramite shorcode.
    Il tema mette già a disposizione alcuni template per le varie pagine (vedi in Attributi pagina > Template nell'editor).
    Qui invece trovi gli shortcode applicabili alle varie pagine del sito: elegantthemes.com/preview/TheProfessional/357-2/

    Vedi se riesci a trovare una soluzione mediante questi strumenti prima di modificare il tema.


  • User

    @manetta said:

    Vedo che si tratta di un tema di Elegantthemes.
    In verità forse non servivano queste modifiche al tema, puoi gestire tranquillamente da pannello di controllo Epanel o tramite shorcode.
    Il tema mette già a disposizione alcuni template per le varie pagine (vedi in Attributi pagina > Template nell'editor).
    Qui invece trovi gli shortcode applicabili alle varie pagine del sito: elegantthemes.com/preview/TheProfessional/357-2/

    Vedi se riesci a trovare una soluzione mediante questi strumenti prima di modificare il tema.

    Ciao, ti ringrazio per le info.

    In realtà avevo già visto tutto ciò che c'è nell'epanel, che però non dà la possibilità di modificare l'homepage.. a me serviva più che altro quello, per il resto mi dovrei arrangiare..

    Approfitto per chiedervi ancora una cosetta: io vorrei togliere la riga, ad esempio: "Scritto il 30 marz, 2011 in | 0 commenti", che si trova sotto il titolo di ogni pagina del sito, come dovrei procedere? Vorrei però che restasse**[LEFT]**[/LEFT] negli articoli e nel blog, ma vorrei sparisse dalle pagine statiche del sito.
    Ho già provato dall'epanel, che mi dà però solo la possibilità di scegliere cosa visualizzare (autore, data, etc) in home e negli articoli interni, non fa però distinzioni fra articoli e pagine.

    Dove dovrei andare a modificare e cosa dovrei togliere?

    Grazie!


  • User Attivo

    Se c'è in un file chiamato page.php, cosa togliere è impossibile dirtelo non avendo il codice.


  • User Attivo

    Devi eliminare la stringa:

    <?php get_template_part('includes/postinfo'); ?>
    

    che trovi in tutte la pagine template es: page.php, page-blog.php, page-full.php
    naturalmente elimina in base al template che stai usando.


  • User

    @elmanisero said:

    Non è facile non avendo il tema e per di più questo è un tema premium.
    Comunque facciamo sta prova e se non va potresti rivolgerti al produttore che di sicuro ti darà una mano.
    [php]<?php get_header(); ?>

    <div id="content-full">
    <div id="home-top"></div>
    <div id="hr">
    <div id="hr-center">
    <div id="intro">
    <div class="center-highlight">

    <div class="container">

    <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>

    <?php if (get_option('deepfocus_quote') == 'on') { ?>
    <div id="tagline">
    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
    </div> <!-- end #tagline-->
    <?php } ?>

    </div> <!-- end .container -->
    </div> <!-- end .center-highlight -->
    </div> <!-- end #intro -->
    </div> <!-- end #hr-center -->
    </div> <!-- end -->

    <div class="center-highlight">
    <div class="container">

    <?php if (get_option('deepfocus_blog_style') == 'false') { ?>

    <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocu s_home_page_'.$i)))); while (have_posts()) : the_post(); ?>
    <div class="service">
    <h3 class="hometitle"><?php the_title(); ?></h3>
    <?php global $more;
    $more = 0;
    the_content(''); ?>
    <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Continua...','DeepFocus'); ?></span></a>
    </div> <!-- end .service -->
    <?php endwhile; wp_reset_query(); ?>

    <div class="service" id="blog">
    <div id="blog-top"></div>
    <div id="blog-wrapper">
    <div id="blog-content">
    <h4 class="widgettitle"><?php _e('Dal Blog','DeepFocus'); ?></h4>
    <div class="recentscroll">
    <ul>
    <?php query_posts("showposts=".get_option('deepfocus_fro mblog_number')."&cat=".get_cat_ID(get_option('deep focus_blog_cat')));
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <li class="clearfix">
    <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
    <span class="postinfo"><?php _e('Scritto','DeepFocus'); ?> <?php _e('da','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('il','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
    </li>
    <?php endwhile; endif; wp_reset_query(); ?>
    </ul> <!-- end ul.nav -->
    </div> <!-- end .recentscroll -->
    </div> <!-- end #blog-center -->
    </div> <!-- end #blog-wrapper -->

    <div id="controllers2">
    <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
    <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
    </div> <!-- end #controllers2 -->
    </div> <!-- end .service -->

    <div class="clear"></div>

    <h3 class="hometitle recentworks"><?php _e('Ultime Immagini','DeepFocus'); ?></h3>

    <div id="portfolio-items" class="clearfix">

    <?php $allCats = get_categories();

    $blogCats = array();
    $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));

    foreach ($allCats as $category) {
    if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
    }

    $args = array('category__not_in' => $blogCats,
    'showposts' => get_option('deepfocus_portfolio_number'));

    $i = 1;
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
    <?php $i++; endwhile; endif; wp_reset_query(); ?>

    <div class="clear"></div>

    <a href="<?php echo(get_category_link(get_cat_ID(get_option('deep focus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Entra nella Gallery','DeepFocus'); ?></span></a>
    </div> <!-- end #portfolio-items -->

    <?php } else { ?>
    <div id="content-area" class="clearfix">

    <div id="left-area">
    <?php $args=array(
    'showposts'=>get_option('deepfocus_homepage_posts' ),
    'paged'=>$paged,
    'category__not_in' => get_option('deepfocus_exlcats_recent'),
    );
    if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
    query_posts($args); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
    <?php $i++; ?>
    <?php endwhile; ?>
    <div class="clear"></div>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    else { ?>
    <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
    <?php } ?>

    <?php else : ?>
    <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
    <?php endif; wp_reset_query(); ?>

    </div> <!-- end #left-area -->

    <?php get_sidebar(); ?>

    </div> <!-- end #content-area -->
    <?php } ?>

    </div> <!-- end .container -->

    <?php get_footer(); ?> [/php]

    Ciao, c'è un piccolo problema con queste impostazioni modificate.. nel blocco centrale mi visualizza solo la pagina "Contatti" e non la pagina che voglio io, non si riesce neppure a modificare.. come faccio ad associare l'id della pagina che voglio si visualizzi nel blocco grande al centro della home?

    Grazie! :smile5:


  • User Attivo

    Con questo codice dovresti riuscire a selezionare ciò che vuoi che appaia, ma ti ricordo che il nostro apporto è volontario, gratuito e a discrezione, ci siamo già capiti.

    [PHP]<?php get_header(); ?>

    <div id="content-full">
        <div id="home-top"></div>
        <div id="hr">
            <div id="hr-center">
                <div id="intro">
                    <div class="center-highlight">
                    
                        <div class="container">
    
                            <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>
                            
                            <?php if (get_option('deepfocus_quote') == 'on') { ?>
                                <div id="tagline">
                                    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
                                    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
                                </div>    <!-- end #tagline-->
                            <?php } ?>
                            
                        </div> <!-- end .container -->    
                    </div> <!-- end .center-highlight -->
                </div>    <!-- end #intro -->    
            </div> <!-- end #hr-center -->
        </div> <!-- end -->
                
        <div class="center-highlight">
            <div class="container">
                
                <?php if (get_option('deepfocus_blog_style') == 'false') { ?>
                    <?php for ($i=1; $i <= 1; $i++) { ?>
                        <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocus_home_page_'.$i)))); while (have_posts()) : the_post(); ?>
                            <div class="service">
                                <h3 class="hometitle"><?php the_title(); ?></h3>
                                <?php global $more;
                                $more = 0;    
                                the_content(''); ?>
                                <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Learn More','DeepFocus'); ?></span></a>
                            </div> <!-- end .service -->
                        <?php endwhile; wp_reset_query(); ?>
                    <?php } ?>
                
                    
                    <div class="service" id="blog">
                        <div id="blog-top"></div>
                        <div id="blog-wrapper">
                            <div id="blog-content">
                                <h4 class="widgettitle"><?php _e('From The Blog','DeepFocus'); ?></h4>
                                <div class="recentscroll">
                                    <ul>
                                        <?php query_posts("showposts=".get_option('deepfocus_fromblog_number')."&cat=".get_cat_ID(get_option('deepfocus_blog_cat')));
                                        if (have_posts()) : while (have_posts()) : the_post(); ?>
                                            <li class="clearfix">
                                                <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
                                                <span class="postinfo"><?php _e('Posted','DeepFocus'); ?> <?php _e('by','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('on','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
                                            </li>
                                        <?php endwhile; endif; wp_reset_query(); ?>
                                    </ul> <!-- end ul.nav -->
                                </div> <!-- end .recentscroll -->
                            </div> <!-- end #blog-center -->
                        </div> <!-- end #blog-wrapper -->    
                        
                        <div id="controllers2">
                            <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
                            <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
                        </div>    <!-- end #controllers2 -->
                    </div> <!-- end .service -->
                    
                    <div class="clear"></div>
                    
                    <h3 class="hometitle recentworks"><?php _e('Recent Works','DeepFocus'); ?></h3>
                    
                    <div id="portfolio-items" class="clearfix">
                        
                        <?php $allCats = get_categories();
                        
                        $blogCats = array();
                        $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));
                        
                        foreach ($allCats as $category) {
                            if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
                        }
                        
                        $args = array('category__not_in' => $blogCats,
                                      'showposts' => get_option('deepfocus_portfolio_number'));
                        
                        $i = 1;
                        query_posts($args);
                        if (have_posts()) : while (have_posts()) : the_post(); ?>
                            <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
                        <?php $i++; endwhile; endif; wp_reset_query(); ?>
                        
                        <div class="clear"></div>
                        
                        <a href="<?php echo(get_category_link(get_cat_ID(get_option('deepfocus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Enter The Gallery','DeepFocus'); ?></span></a>
                    </div> <!-- end #portfolio-items -->    
                
                <?php } else { ?>
                    <div id="content-area" class="clearfix">
                
                        <div id="left-area">
                            <?php $args=array(
                                'showposts'=>get_option('deepfocus_homepage_posts'),
                                'paged'=>$paged,
                                'category__not_in' => get_option('deepfocus_exlcats_recent'),
                            );
                            if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
                            query_posts($args); ?>
                            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>                    
                                <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
                                <?php $i++; ?>
                            <?php endwhile; ?>
                                <div class="clear"></div>
                                <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
                                else { ?>
                                     <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
                                <?php } ?>
                                
                            <?php else : ?>
                                <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
                            <?php endif; wp_reset_query(); ?>
                            
                        </div> <!-- end #left-area -->
                        
                        <?php get_sidebar(); ?>
    
                    </div> <!-- end #content-area -->
                <?php } ?>
                
            </div> <!-- end .container -->
                    
            <?php get_footer(); ?>[/PHP]

  • User

    @elmanisero said:

    Con questo codice dovresti riuscire a selezionare ciò che vuoi che appaia, ma ti ricordo che il nostro apporto è volontario, gratuito e a discrezione, ci siamo già capiti.

    [php]<?php get_header(); ?>

    <div id="content-full">
        <div id="home-top"></div>
        <div id="hr">
            <div id="hr-center">
                <div id="intro">
                    <div class="center-highlight">
                    
                        <div class="container">
    
                            <?php if (get_option('deepfocus_featured') == 'on') include(TEMPLATEPATH . '/includes/featured.php'); ?>
                            
                            <?php if (get_option('deepfocus_quote') == 'on') { ?>
                                <div id="tagline">
                                    <p><?php echo(get_option('deepfocus_quote_one')); ?></p>
                                    <span class="quote2"><?php echo(get_option('deepfocus_quote_two')); ?></span>
                                </div>    <!-- end #tagline-->
                            <?php } ?>
                            
                        </div> <!-- end .container -->    
                    </div> <!-- end .center-highlight -->
                </div>    <!-- end #intro -->    
            </div> <!-- end #hr-center -->
        </div> <!-- end -->
                
        <div class="center-highlight">
            <div class="container">
                
                <?php if (get_option('deepfocus_blog_style') == 'false') { ?>
                    <?php for ($i=1; $i <= 1; $i++) { ?>
                        <?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('deepfocus_home_page_'.$i)))); while (have_posts()) : the_post(); ?>
                            <div class="service">
                                <h3 class="hometitle"><?php the_title(); ?></h3>
                                <?php global $more;
                                $more = 0;    
                                the_content(''); ?>
                                <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('Learn More','DeepFocus'); ?></span></a>
                            </div> <!-- end .service -->
                        <?php endwhile; wp_reset_query(); ?>
                    <?php } ?>
                
                    
                    <div class="service" id="blog">
                        <div id="blog-top"></div>
                        <div id="blog-wrapper">
                            <div id="blog-content">
                                <h4 class="widgettitle"><?php _e('From The Blog','DeepFocus'); ?></h4>
                                <div class="recentscroll">
                                    <ul>
                                        <?php query_posts("showposts=".get_option('deepfocus_fromblog_number')."&cat=".get_cat_ID(get_option('deepfocus_blog_cat')));
                                        if (have_posts()) : while (have_posts()) : the_post(); ?>
                                            <li class="clearfix">
                                                <a href="<?php the_permalink(); ?>" class="title"><span><?php truncate_title(30); ?></span></a>
                                                <span class="postinfo"><?php _e('Posted','DeepFocus'); ?> <?php _e('by','DeepFocus'); ?> <?php the_author_posts_link(); ?> <?php _e('on','DeepFocus'); ?> <?php the_time(get_option('deepfocus_date_format')) ?></span>
                                            </li>
                                        <?php endwhile; endif; wp_reset_query(); ?>
                                    </ul> <!-- end ul.nav -->
                                </div> <!-- end .recentscroll -->
                            </div> <!-- end #blog-center -->
                        </div> <!-- end #blog-wrapper -->    
                        
                        <div id="controllers2">
                            <a href="#" id="left-arrow"><?php _e('Previous','DeepFocus'); ?></a>
                            <a href="#" id="right-arrow"><?php _e('Next','DeepFocus'); ?></a>
                        </div>    <!-- end #controllers2 -->
                    </div> <!-- end .service -->
                    
                    <div class="clear"></div>
                    
                    <h3 class="hometitle recentworks"><?php _e('Recent Works','DeepFocus'); ?></h3>
                    
                    <div id="portfolio-items" class="clearfix">
                        
                        <?php $allCats = get_categories();
                        
                        $blogCats = array();
                        $blogcat = get_cat_ID(get_option('deepfocus_blog_cat'));
                        
                        foreach ($allCats as $category) {
                            if (in_subcat($blogcat, $category->cat_ID)) $blogCats[] = $category->cat_ID;
                        }
                        
                        $args = array('category__not_in' => $blogCats,
                                      'showposts' => get_option('deepfocus_portfolio_number'));
                        
                        $i = 1;
                        query_posts($args);
                        if (have_posts()) : while (have_posts()) : the_post(); ?>
                            <?php include(TEMPLATEPATH . '/includes/gallery.php'); ?>
                        <?php $i++; endwhile; endif; wp_reset_query(); ?>
                        
                        <div class="clear"></div>
                        
                        <a href="<?php echo(get_category_link(get_cat_ID(get_option('deepfocus_portfolio_cat')))); ?>" class="readmore entergallery"><span><?php _e('Enter The Gallery','DeepFocus'); ?></span></a>
                    </div> <!-- end #portfolio-items -->    
                
                <?php } else { ?>
                    <div id="content-area" class="clearfix">
                
                        <div id="left-area">
                            <?php $args=array(
                                'showposts'=>get_option('deepfocus_homepage_posts'),
                                'paged'=>$paged,
                                'category__not_in' => get_option('deepfocus_exlcats_recent'),
                            );
                            if (get_option('deepfocus_duplicate') == 'false') $args['post__not_in'] = $ids;
                            query_posts($args); ?>
                            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>                    
                                <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
                                <?php $i++; ?>
                            <?php endwhile; ?>
                                <div class="clear"></div>
                                <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
                                else { ?>
                                     <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
                                <?php } ?>
                                
                            <?php else : ?>
                                <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
                            <?php endif; wp_reset_query(); ?>
                            
                        </div> <!-- end #left-area -->
                        
                        <?php get_sidebar(); ?>
    
                    </div> <!-- end #content-area -->
                <?php } ?>
                
            </div> <!-- end .container -->
                    
            <?php get_footer(); ?>[/php]
    

    Hai ragione!
    Comunque ho combinato.. grazie mille!! 🙂