Support » Themes and Templates » Sidebar Issues on custom theme…..

  • howdy,

    my site is http://www.site-tonight.com

    ive looked through all the documentation on wordpress and i must be doing something wrong….

    i have a sidebar-1.php that is the first bottom column on the home page (websites that get results) and a sidebar-2.php that controls the right hand bottom sidebar (testimonials).

    my issue is im trying to NOT have the testimonials sidebar AT ALL on the Works Page so i have more room for images.

    i tried creating a template.php but i couldnt find anywhere where it was calling the sidebar-2.php and i tried adding ‘<?php include (‘sidebar3.php’); ?>’ in one of my pages that leads to a custom sidebar-3.php that would just be Blank but i think thats the wrong route.

    Here’s my index.php:

    <?php get_header(); ?>
    
    		<h1 class="color1">custom sites that start at only $459</h1>
    		<?php if (have_posts()) : ?>
    			<?php while (have_posts()) : the_post(); ?>
    				<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    
                        <div class="indent">
                            <div class="title"><h2><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></div>
                            <div>
    
     </span></div>
                            <div class="text-box">
    							<?php the_content(''); ?>
    						</div>
                        </div>
    
    				</div>
    			<?php endwhile; ?>
    
    			<div class="navigation nav-top">
    				<div class="alignleft"><?php next_posts_link('<< Older entries') ?></div>
    				<div class="alignright"><?php previous_posts_link('Newer entries >>') ?></div>
    			</div>
    
    		<?php else : ?>
    			<h2 class="pagetitle">Not Found</h2>
    			<p class="center">Sorry, but you are looking for something that isn't here.</p>
    			<?php get_search_form(); ?>
    		<?php endif; ?>
    
    <?php get_footer(); ?>

    and here’s my page.php:

    <?php get_header(); ?>
    
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<div id="post-<?php the_ID(); ?>">
    
    				<div class="indent">
                        <div class="title"><h1><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1></div>
                        <div class="text-box">
                            <?php the_content(''); ?>
                        </div>
                    </div>
    
    			</div>
    		<?php endwhile; endif; ?>
    
    <?php get_footer(); ?>

    I also found the Widget Logic widget, but i don’t actually have stuff in the “right side bar” per say on the widgets page, i have a sidebar-x.php that is drawn from.

    is there any custom widget that i could use to accomplish this or anything else?

    thanks much, Kyle

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try looking in header.php or footer.php.

    Thread Starter kyleb319

    (@kyleb319)

    yes, i found a reference to the sidebar-2.php in the bottom of the header.php, actually is was <?php get_sidebar(2); ?> which doesn’t have the dash in it, like the actual named one.

    here’s my header text. What do i do now? i need help!

    [Code moderated as per the Forum Rules. Please use the pastebin]

    need help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar Issues on custom theme…..’ is closed to new replies.