Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Page without sidebar?


  #1  
Old Mar 30, 2013, 10:06 AM
greektranslation
 
6 posts · Mar 2013
First of all thank you for this brilliant free theme.

I wonder whether it is possible to have a full size page without the sidebar (Montezuma 1.1.4).
Also, I see only a "Widget Area ONE", is it possible to have widgets at the bottom instead of on the side?
  #2  
Old Mar 30, 2013, 10:28 AM
jerryc
 
367 posts · Oct 2012
Florida
Quote:
Originally Posted by greektranslation
I wonder whether it is possible to have a full size page without the sidebar
For a full width, you'd use:

HTML Code:
<div class = "row col12">
  ... your page code ...
</div>
See this post for using the MZ grids.

Quote:
Also, I see only a "Widget Area ONE", is it possible to have widgets at the bottom instead of on the side?
Widgets go in sidebars, which can go in any template or subtemplate. After you declare a sidebar, the widget automatically shows up in your widget interface.
  #3  
Old Mar 30, 2013, 05:47 PM
greektranslation
 
6 posts · Mar 2013
Many thanks. Where exactly do I use the code:

Code:
<div class = "row col12">
In page template I see:

Code:
<div id="main" class="row">
	
	<div id="content" class="col8">
		
		<div id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?>>

			<h1>
				<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
				<?php bfa_comments_number(); ?>
			</h1>
			
			<div class="post-bodycopy cf">
  #4  
Old Mar 30, 2013, 05:59 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you want to have all pages have no sidebar,
1) go to mto->Main Templates->page.php
2) remove the code
HTML Code:
	<div id="widgetarea-one" class="col4">
		<?php dynamic_sidebar( 'Widget Area ONE' ); ?>
	</div>
3) change the line
HTML Code:
	<div id="content" class="col8">
to
HTML Code:
	<div id="content" class="col12">
if you only want this to happen on one page
1) find the page ID (edit the page and look for the '/post.php?post=nnn' where nnn is the page ID
2) go to mto->Main Templates->Add main template
3) name the template 'page-nnn' where you use the page ID in place of the nnn
4) in the 'Make new template a copy of:' select 'page.php' and press the '+ ADD Main Template' button

5) remove the code
HTML Code:
	<div id="widgetarea-one" class="col4">
		<?php dynamic_sidebar( 'Widget Area ONE' ); ?>
	</div>
6) change the line
HTML Code:
	<div id="content" class="col8">
to
HTML Code:
	<div id="content" class="col12">
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 31, 2013, 02:52 AM
greektranslation
 
6 posts · Mar 2013
Wow, amazing reply, thank you so much.
Perhaps, if you don't already have it like this, it should be part of the documentation?

What if I want to the new Page template to add a widget area at the bottom?
  #6  
Old Mar 31, 2013, 04:52 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Ok, I gave you the other answer, now you have to work for this one. This will take you some looking at the virtual templates and 'Limited PHP Code'

1) how do you create a 'dynamic sidebar' (should be called 'dynamic widget area')?
2) how would you create a new footer?
3) how would you have one template call another?

(don't expect a reply from me till tomorrow)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
sidebar bottom of page (again) or text wraps around sidebar dkennedy Sidebars & Widgets 3 Nov 15, 2010 06:44 PM
[SOLVED] Sidebar color won't change on one page -- fine on other page c12281 Sidebars & Widgets 2 Sep 14, 2010 12:02 PM
[SOLVED] Slight page shift when adding inner sidebar to a single page mmqc2 Sidebars & Widgets 2 Feb 19, 2010 10:34 PM
static front page, page title on header, remove content but keep sidebar questions Magic Atahualpa 3 Wordpress theme 0 Jan 25, 2010 12:12 AM
[SOLVED] Sidebar page nav widget - text color of current page TheBoringOne Sidebars & Widgets 3 Dec 12, 2009 10:29 PM


All times are GMT -6. The time now is 08:28 PM.


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