WordPress.org

Ready to get started?Download WordPress

Forums

Removing Widgets off Static Homepage (1 post)

  1. abriel_s
    Member
    Posted 1 year ago #

    Right now, I'm currently trying to remove a couple of widgets off of the static homepage. Currently, it seems in the index.php code there isn't anything specifically calling any particular app, calling different blog entries.

    What widgets I'd like to remove are Event Previews, Event Reviews & Wrap Ups, and Blogs. Below is the code for the main div containing the code for the left content.

    <!-- #main Starts -->
                <?php woo_main_before(); ?>
                <div id="main">      
    
    				<?php woo_loop_before(); ?>
    			<?php
    				// Exclude stored duplicates
    				// $exclude = get_option('woo_exclude');
    				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    				$args = array( 'post_type' => 'post',
    							   'category__not_in' => '',
    							   'paged' => $paged ); 
    
    				query_posts($args);
    			?>
    
                <?php if (have_posts()) : $count = 0; ?>
                <?php while (have_posts()) : the_post(); $count++; ?>
    
                   	<?php if (get_option('woo_woo_tumblog_switch') == 'true') { $is_tumblog = woo_tumblog_test(); } else { $is_tumblog = false; } ?>
    
                    <!-- Post Starts -->
                    <?php woo_post_before(); ?>
                    <div <?php post_class(); ?>>
    
                        <?php woo_post_inside_before(); ?>
    
                        <?php if (!$is_tumblog) { woo_image('width='.$woo_options['woo_thumb_w'].'&height='.$woo_options['woo_thumb_h'].'&class=thumbnail '.$woo_options['woo_thumb_align']); } ?> 
    
                        <?php if ($is_tumblog) { woo_tumblog_the_title('h2','title'); } else { ?><h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><?php } ?>
    
                        <?php woo_post_meta($is_tumblog); ?>
    
                        <div class="entry">
                        	<?php if ($is_tumblog) { woo_tumblog_content_before(); } ?>
    	                    <?php if ( $woo_options['woo_post_content'] == "content" ) the_content(__('Continue Reading &rarr;', 'woothemes')); else the_excerpt(); ?>
                            <?php if ($is_tumblog) { woo_tumblog_content_after(); } ?>
                        </div>
    
                        <?php woo_post_inside_after(); ?>
    
                    </div><!-- /.post -->
                    <?php woo_post_after(); ?>
    
                <?php endwhile; else: ?>
                    <div class="post">
                        <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
                    </div><!-- /.post -->
                <?php endif; ?>  
    
                    <?php woo_pagenav(); ?>
    
                </div><!-- /#main -->

    Here's the link: http://the217.com/

Topic Closed

This topic has been closed to new replies.

About this Topic