A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Removing the sidebar
Jun 6, 2010
12:13 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

so did you actually remove the call to get_sidebar() (or other technique) in your custom page template so the sidebar isnt displayed???  thats step one… if its not in your custom page template, you will need to locate where its called (some themes do it in footer.php)…

the wiki is a guideline and not an exact set of things to do… no way it could cover every possible theme implementation…

Jun 6, 2010
4:45 pm
Rookie
Forum Posts: 4
Member Since:
Jun 2, 2010
Offline

I couldnt find it?

 

here is my forums.php

 

<?php 
/*
Template Name: Forums
*/
?>
<?php
global $options;
foreach ($options as $value) {
        if (get_option( $value['id'] ) === FALSE) { $value['id'] = $value['std']; } else { $value['id'] = get_option( $value['id'] ); } }
?>
<?php get_header(); ?>
<?php if ($flex_feat_display == "no" OR $flex_feat_pages == "home only" OR $flex_feat_pages == "home and posts") { ?>
<?php if ( is_front_page() AND $flex_feat_display != "no" ) { ?>
<div id="feature"><div class="topshadow">
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
   <?php include (TEMPLATEPATH . '/feature.php'); ?>    
    <?php endif; ?><div style="clear:both;"></div>
    </div></div><?php } ?>
       <?php } else { ?>
    <div id="feature"><div class="topshadow">
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
   <?php include (TEMPLATEPATH . '/feature.php'); ?>    
    <?php endif; ?><div style="clear:both;"></div>
    </div></div><?php } ?>
<div id="content" class="forums">
  <?php if ($flex_adsense_loc1 == "yes") { ?>
  <div style="width:730px;height:90px;display:block;margin:5px auto 15px auto;">
    <?php 
$adsize = $flex_adsense_loc1size;
$adtype = $flex_adsense_loc1type;
include('adsense.php'); ?>
  </div>
  <?php } else { ?>
  <?php } ?>
  <div class="postwrap">
  <h2 class="pagetitle">
        <?php the_title(); ?>
      </h2>
     
    <div class="post"> <div class="postcontent">
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      
      <?php the_content("<p>__('Read the rest of this page')</p>"); ?>
      <?php edit_post_link(__('Edit'), '<p>', '</p>'); ?>
      <?php endwhile; endif; ?>
    </div></div>
    <?php if(comments_open()) : ?>
    <?php comments_template('', true); ?>
    <?php endif; ?>
  </div>
</div>
<?php get_footer(); ?>
Jun 6, 2010
5:15 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

did you look in footer.php as I said it might be in there too…  and it might be an inlcude using templatepath instead of a get_sidebar…

Jun 6, 2010
5:21 pm
Rookie
Forum Posts: 4
Member Since:
Jun 2, 2010
Offline

There are no get_sidebar commands in the footer.php

I'm a total beginner at this so really don't know what i'm looking for if its not spelled out for me!

Jun 6, 2010
5:34 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

sorry, no way to be exact…  its something EVERY theme can do differently…

somewhere in your theme, its activating the sidebar… most will do it via get_sidebar() call in the template page file (this is the forum.php) or in footer.php or header.php or other…

some themes will do it with include (TEMPLATEPATH . '/sidebar.php') but it does not have to be called sidebar.php and be called just about anything…  yours is including feature.php but guessing thats the top widget area, but maybe its in there too…

how did you get the current stuff in your sidebar?  the widgets page?  if you look there, you can at least see wht the widget area is called…

Jun 7, 2010
2:22 am
Rookie
Forum Posts: 4
Member Since:
Jun 2, 2010
Offline

The current widgets in the side bar are just drag and drop text boxes.

 

I'll get in touch with the theme creators, i imagine they would be able to help.

 

Thanks

Ben

Jun 7, 2010
8:09 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

there might already be a sidebarless page template too… good luck!

Sep 29, 2010
6:58 pm
Rookie
Forum Posts: 2
Member Since:
Sep 29, 2010
Offline

I know this topic is old, but I find myself trying to do the same thing.

I am using innox theme in wp.

I am not able to change the page template. The only choice is default template.

I have tried several times to create another template, still not showing in the rollout window for templates.

 

Any suggestions?

Sep 30, 2010
8:22 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

well, if the only choice (and no idea why that would be) is default template and that template has a sidebar, not much you can do (you could do page check in template for forum and not display sidebar)…

so when you create the page template, have you put the required template header info at the top (please post)? and then uploaded the new template file to your wp theme directory on your server?

a link to your site could help too…

Sep 30, 2010
3:59 pm
Rookie
Forum Posts: 2
Member Since:
Sep 29, 2010
Offline

I got it thanks for the help

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, steve.engelking
56 Guest(s)

Currently Browsing this Page:
2 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7361

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10890

Posts: 79531

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22211), Mr Papa (23688)