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 » Page & Category Menu Bars »

Menu under Header Image on Specific Page


 
Prev Previous Post   Next Post Next
  #1  
Old Feb 27, 2011, 04:06 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Menu under Header Image on Specific Page

Hi there
Well its taken me a day, but I've finally figured out how to create a page that has a different header image and number of sidebars than my homepage.

I have created the Pages listed below (still in Draft) and need to add a menu under the header image of this page only. I do not want these pages to appear in the menu on the left of the page or on any other page in the website.

http://untietheknots.com.au/sewing-guidelines
http://untietheknots.com.au/sewing-links
http://untietheknots.com.au/student-work

So I followed the instructions on here.
I went to ATO > Header Area > Style & edit HEADER AREA > Configure Header Area and changed it to:

%logo <?php
if(function_exists('show_media_header')){
show_media_header();
}
?>
<?php bfa_widget_area('name=dress_submenu'); ?>

The code I created in the dress_submenu widget reads:
<?php

echo*"<div*id=\"menu2\">";
echo*"<ul*class=\"clearfix*rMenu-hor*rMenu\"*id=\"rmenu\">";

$curr_page_id*=*get_query_var('page_id');

switch*($curr_page_id)*{
****case*1199:
********echo*"
<li*class=\"cat-item*cat-item-1\"><a*href=\"http://untietheknots.com.au/sewing-guidelines\">Submenu*Item1*for*Page*1199</a></li>
<li*class=\"cat-item*cat-item-2\"><a*href=\"http://untietheknots.com.au/sewing-links\">Submenu*Item2*for*Page*1199</a></li>
<li*class=\"cat-item*cat-item-3\"><a*href=\"http://untietheknots.com.au/student-work\">Submenu*Item3*for*Page*1199</a></li>
********";
********break;
default:
*******echo*"&nbsp;*";
}
echo*"</ul></div>";
?>

This appears on every page:

DRESSMAKING SUBMENU (greyed out - doesn't go anywhere)


Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/cbc/public_html/untietheknots.com.au/wp-content/plugins/php-code-widget/execphp.php(44) : eval()'d code on line 3

So I have deleted <?php bfa_widget_area('name=dress_submenu'); ?> from the ATO Header Config Page for now. Any ideas on where I've gone wrong or if there is a better/easier way of doing this?

Once I've figured out my menu issue, what do I do, so that I can add 'blog posts' that appear only on this page and students/visitors can add comments to the posts?

Sorry for the long post - hope it makes sense
Cheers
Cathy131
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
 

Bookmarks

Tags
horizontal sub menu, second menu



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] post-specific header image w/ css insert (page-specific ones work, but not o viewdesigninc Header configuration & styling 10 Oct 1, 2012 03:43 PM
How to put specific SWF files on specific pages as header images? kippiper Header configuration & styling 2 Dec 10, 2009 08:23 AM
[SOLVED] How to show 1 specific header image on a static page and on Cat. pages Sakshin Header configuration & styling 24 Oct 3, 2009 04:36 PM
[SOLVED] 3.4.2 Specific header image per category Seb the frog Header configuration & styling 3 Aug 8, 2009 03:07 AM
Desperately looking for help with HIDING header image on one specific page Cristiacus Header configuration & styling 0 Jun 2, 2009 03:50 PM


All times are GMT -6. The time now is 02:58 AM.


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