Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How to eliminate sidebars
Old 01-02-2010, 02:39 PM How to eliminate sidebars
Average Talker

Posts: 16
Trades: 0
My self hosted WP blog has 2 sidebars. One left, one right, and content in center.

I would like to keep this setup on the homepage but eliminate the right sidebar from other pages.

I am not too familiar with PHP and am not sure which file needs to be changed.

Any help would be greatly appreciated.
cabdziner is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-02-2010, 03:20 PM Re: How to eliminate sidebars
Aquarezz's Avatar
Experienced Talker

Posts: 33
Name: Aquarezz
Trades: 0
Go to your themes map and go to sidebar.php copy it to here
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Aquarezz is offline
Reply With Quote
View Public Profile
 
Old 01-02-2010, 09:03 PM Re: How to eliminate sidebars
Average Talker

Posts: 16
Trades: 0
PHP Code:
<!-- begin sidebar -->
        <div id="sidebar">
                <?php     /* Widgetized sidebar, if you have the plugin installed. */
                    
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Sidebar One") ) : ?>
                    <div class="side-widget">
                        <?php include 'searchform.php'?>
                    </div>                
                    <div class="side-widget">
                           <?php _e('<h2>Links</h2>'"magazine-basic"); ?>
                            <ul>
                            <?php wp_list_bookmarks('title_li=&categorize=0'); ?>
                            </ul>
                    </div>
                    <div class="side-widget">
                           <?php _e('<h2>Calendar</h2>'"magazine-basic"); ?>
                                <?php get_calendar(); ?>
                    </div>
                    <div class="side-widget">
                           <?php _e('<h2>Archives</h2>'"magazine-basic"); ?>
                            <ul>
                                <?php wp_get_archives('type=monthly'); ?>
                            </ul>
                    </div>
                    <div class="side-widget">
                           <?php _e('<h2>Tags</h2>'"magazine-basic"); ?>
                                <?php wp_tag_cloud(); ?>
                    </div>
                  <?php endif; ?>
        </div>
<!-- end sidebar -->
cabdziner is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to eliminate sidebars
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11234 seconds with 12 queries