well this got me thinking and I have come up with a hack that works...but will be unsupported and you will have to reinstall it after each upgrade
1 - create your template
- make a copy of 'index.php' and call it 'no-menu.php'
- edit 'no-menu.php' and change lines 1-3 from
HTML Code:
<?php
list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();
get_header();
to
HTML Code:
<?php
/*
Template Name: no menu
Version: 1.0
LICENSE:
"no menu" is a template for the Atahualpa theme
Copyright (C) 2013 Paul M Woodard, The User's Guru (www.theusersguru.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
For a copy of the GNU General Public License go to 'www.gnu.org/licenses'
*/
?>
<?php
list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();
global $bfa_pagetemplate_name;
$bfa_pagetemplate_name = 'no-menu.php';
get_header();
2 - edit bfa_header_config.php (this is in the 'functions' subfolder of the theme)
- change lines 4-16 from
HTML Code:
global $bfa_ata, $post;
$templateURI = get_template_directory_uri();
$homeURL = get_home_url();
// Since 3.6: bfa_header_config() instead of bfa_header_config($header_items)
$header_items = $bfa_ata['configure_header'];
$page_menu_bar = ''; $cat_menu_bar = ''; $logo_area = '';
$header_image = ''; $horizontal_bar1 = ''; $horizontal_bar2 = '';
// Page Menu Bar
if ( strpos($header_items,'%pages') !== FALSE OR strpos($header_items,'%page-center') !== FALSE
OR strpos($header_items,'%page-right') !== FALSE ) {
to
HTML Code:
global $bfa_ata, $bfa_pagetemplate_name, $post;
$templateURI = get_template_directory_uri();
$homeURL = get_home_url();
// Since 3.6: bfa_header_config() instead of bfa_header_config($header_items)
$header_items = $bfa_ata['configure_header'];
$page_menu_bar = ''; $cat_menu_bar = ''; $logo_area = '';
$header_image = ''; $horizontal_bar1 = ''; $horizontal_bar2 = '';
// Page Menu Bar
if ( ( strpos($header_items,'%pages') !== FALSE OR strpos($header_items,'%page-center') !== FALSE
OR strpos($header_items,'%page-right') !== FALSE ) AND ($bfa_pagetemplate_name !== 'no-menu.php') ){
at this point you are set other than maybe some customizing in the css insert to keep the space taken by the menu. You can do that by adding something like this (this assumes you have the image following the menu in the header configuration) to ato->Add HTML/CSS Inserts->CSS Inserts
HTML Code:
body.page-template-no-menu-php #imagecontainer {border-top: 37px solid #eeeeee;}
Hope this helps.