Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

How do I remove colums on a page? I want full width for some pages...


  #1  
Old Jan 24, 2014, 04:36 PM
mrjak01
 
12 posts · May 2010
I don't know why I am not figuring this one out.. derp!

Thanks

This is an old template that I have that won't work anymore:


PHP Code:

<?php
/*
Template Name: Full Page / No Side Bar
*/
 
?>
<?php 
// Do not delete these lines ?>
<?php     
/* get all options: */
# error_reporting(-1);
include (TEMPLATEPATH '/functions/bfa_get_options.php');
global 
$bfa_ata;

$left_col ="off";
$left_col2 "off";
$right_col2 "off";
$right_col "off";
    
get_header(); ?>

<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] = 0/* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>

    <?php /* This outputs the next/previous post or page navigation. 
    This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
    
bfa_center_content($bfa_ata['content_above_loop']); ?>

    <?php /* The LOOP starts here. Do this for all posts: */
    
while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>
    
        <?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
        
$odd_or_even = (($bfa_ata['postcount'] % 2) ? 'odd-post' 'even-post' ); ?> 

        <?php /* This is the actual Wordpress LOOP. 
        The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
        
bfa_center_content($bfa_ata['content_inside_loop']); ?>
                        
    <?php /* END of the LOOP */
    
endwhile; ?>

<?php /* This is the new widget area Home Page Posts*/ ?>
<?php 
if (is_home()) { ?>
<?php 
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Home Page Posts') ) : endif; ?>
<?php 
}; ?>


<?php /* This outputs the next/previous post or page navigation and the comment template.
    This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_below_loop']); ?>
    
    
<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>

<?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_not_found']); ?>

<?php endif; /* END of: If there are no posts */ ?>

<?php bfa_center_content($bfa_ata['center_content_bottom']); ?>

<?php get_footer(); ?>
  #2  
Old Jan 24, 2014, 08:22 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see HOWTO: create a 'no sidebar' template (or 1, 2, 3 or 4 sidebar template)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 25, 2014, 07:04 PM
mrjak01
 
12 posts · May 2010
Heya JD,

I'd check this out but I no longer have access to that portion of the site.

Thanks though!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I remove colums on a page? I want full width for some pages... mrjak01 Center area post/pages 3 Jan 24, 2014 05:06 PM
Change thumbnail size in post above colums with Multi Colums Custom Query homepage Staysimple Center area post/pages 11 Dec 6, 2013 12:16 PM
Full width slider for home page ewopper Atahualpa 3 Wordpress theme 5 Aug 8, 2013 07:42 AM
Is a Full Width Page Possible? Shan_LSOS Center area post/pages 5 Apr 17, 2011 05:08 PM
[SOLVED] Optional Full-width page? kirks Atahualpa 3 Wordpress theme 2 Mar 12, 2011 01:59 PM


All times are GMT -6. The time now is 08:04 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.