[SOLVED] Add Page Menu to Dump Template
Over the past several months, I've tried to figure out how to insert the horizontal page menu into a custom HTML page that is configured using the dump template code. The page works great but I cannot get the menu inserted. I've been able to do this with other themes but not with Atahualpa.
Now, I have a client who really needs this on her site! Viewing the page source of a default template page, I've found and inserted <ul id="rmenu2" class="clearfix rMenu-hor rMenu"> in the HTML. I strongly suspect I need to add code to the page but, cannot determine what needs to be added to enable the Page Menu. The dump template file starts with: <?php /* Template Name: Dump2 template */ ?> <?php // Do not delete these lines ?> -- And I insert my HMTL (beginning with the open HTML tag) after that. What code needs to be added to the page to allow the menu bar to function (and appear where I want it). Thanks! |
The 'dump' template was just for testing and was left in the theme folder by accident. Ii no longer in the theme. If you want to build a template, you should start with index.php.
|
Thanks for the quick response.
Is there a tutorial that might explain how to insert HTML into a new template using the index.php file as a starting point? That dump template was soooo easy to work with (other than not allowing me to insert the menu). I've been able to add this line to give the template a new name but when I try to insert HTML code it fails to load: <?php /* Template Name: Dump Neew template */ ?> Not feeling very successful -- and am willing to learn if there is another post or tutorial that would help. Thanks. |
Why not just put the HTML in a page? Or maybe I should ask: what are you trying to do?
|
An HTML page would work except I need to have the page menu bar on the page so it can show new pages that my client will be adding over time. This page also has a different header graphic than the interior pages and the plugin I use for dynamic headers doesn't work with WP 3.4.2.
I could add a javascript menu system but her page updates won't show on the menu bar... Any hope of having a custom template for one page with HTML for everything except the menu bar? Thanks so much. |
here is what you do
1) create a page and add your html to it 2) go to ato->Style & edit HEADER AREA->Configure Header Area and add just after the %image HTML Code:
<div id="my-header"><img...your image here...></div> HTML Code:
#my-header {display: none;} Now Atahualpa will handle the menu the image will only show on that page the sidebars will/will not display based on your choice. |
Great solution! I've implemented your suggestions and it works exactly as I needed. You ROCK!
|
All times are GMT -6. The time now is 04:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.