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 »

Small Question - Links in Header


  #26  
Old Feb 1, 2009, 04:35 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
My bad, I lost track about the context in which that code would be posted (inside php tags)

The complete replacement code as per post #11 in this thread, first part (for page menu bar) would be

PHP Code:
// Page Menu Bar 
$page_menu_bar '<div id="menu1"><div class="clearfix rMenu-center"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n";
#if ($bfa_ata_home_page_menu_bar != '') {
#    $page_menu_bar .= '<li class="page_item';
#   if (function_exists('is_front_page')) {
#        if (is_front_page() OR is_home()) { $page_menu_bar .= ' current_page_item';
#        }} elseif (is_home()) { $page_menu_bar .= ' current_page_item';    }
#$page_menu_bar .= '"><a href="' . get_option('home') . '/" title="' . get_option('blogname') . '">' . 
#$bfa_ata_home_page_menu_bar . '</a></li>' . "\n";    
#}    
#if ($bfa_ata_levels_page_menu_bar == "") {$bfa_ata_levels_page_menu_bar = 0; }    
#$page_menu_bar .= bfa_hor_pages($bfa_ata_sorting_page_menu_bar, $bfa_ata_levels_page_menu_bar, $bfa_ata_titles_page_menu_bar, $bfa_ata_exclude_page_menu_bar);

$page_menu_bar .= '
<li><a href="link">Link 1</a></li>
<li><a href="link">Link 2</a></li>
<li><a href="link">Link 3</a></li>
<li><a href="link">Link 4</a></li>
<li class="rMenu-expand"><a href="#">Categories</a> 
 <ul class="rMenu-ver">
'
;
$page_menu_bar .=  bfa_hor_cats($bfa_ata_sorting_cat_menu_bar$bfa_ata_levels_cat_menu_bar$bfa_ata_titles_cat_menu_bar$bfa_ata_exclude_cat_menu_bar);
$page_menu_bar .= '
 </ul> 
</li> 
<li><a href="link">Link Text</a></li>'
;
$page_menu_bar .= '</ul></div></div>' "\n";
// END of Page Menu Bar 
There may still be issues with this but it should be better now

  #27  
Old Feb 1, 2009, 04:51 PM
Masselyn
 
91 posts · Jan 2009
So. California
Quote:
Originally Posted by Flynn
My bad, I lost track about the context in which that code would be posted (inside php tags)

The complete replacement code as per post #11 in this thread, first part (for page menu bar) would be

PHP Code:
// Page Menu Bar 
$page_menu_bar '<div id="menu1"><div class="clearfix rMenu-center"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n";
#if ($bfa_ata_home_page_menu_bar != '') {
#    $page_menu_bar .= '<li class="page_item';
#   if (function_exists('is_front_page')) {
#        if (is_front_page() OR is_home()) { $page_menu_bar .= ' current_page_item';
#        }} elseif (is_home()) { $page_menu_bar .= ' current_page_item';    }
#$page_menu_bar .= '"><a href="' . get_option('home') . '/" title="' . get_option('blogname') . '">' . 
#$bfa_ata_home_page_menu_bar . '</a></li>' . "\n";    
#}    
#if ($bfa_ata_levels_page_menu_bar == "") {$bfa_ata_levels_page_menu_bar = 0; }    
#$page_menu_bar .= bfa_hor_pages($bfa_ata_sorting_page_menu_bar, $bfa_ata_levels_page_menu_bar, $bfa_ata_titles_page_menu_bar, $bfa_ata_exclude_page_menu_bar);

$page_menu_bar .= '
<li><a href="link">Link 1</a></li>
<li><a href="link">Link 2</a></li>
<li><a href="link">Link 3</a></li>
<li><a href="link">Link 4</a></li>
<li class="rMenu-expand"><a href="#">Categories</a> 
 <ul class="rMenu-ver">
'
;
$page_menu_bar .=  bfa_hor_cats($bfa_ata_sorting_cat_menu_bar$bfa_ata_levels_cat_menu_bar$bfa_ata_titles_cat_menu_bar$bfa_ata_exclude_cat_menu_bar);
$page_menu_bar .= '
 </ul> 
</li> 
<li><a href="link">Link Text</a></li>'
;
$page_menu_bar .= '</ul></div></div>' "\n";
// END of Page Menu Bar 
There may still be issues with this but it should be better now


You've been the best. It is working now. I am playing around with trying to get the drop down to be beneath the main category button. I'll see my way through. Frankly, that is how I am learning so much about all of this side of development (instead of just HTML design), and you have been such a great help!!!
  #28  
Old Feb 1, 2009, 05:09 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You're almost there... The trouble you're still having is because you're closing the parent's <LI> too early. Compare the following with your code (Note: I left out the opening 2 div's and 1 ul and their closing counterparts because you have those right):

HTML Code:
<li><a href="index.php">Home</a></li>
<li><a href="#">About</a>
   <ul class="rMenu-ver">
      <li><a href="test-page">About Mallika</a></li>
      <li><a href="http://www.mikifoto.com">Website</a></li>
      <li><a href="link">Session Info</a></li>
   </ul>
</li><!-- "About" parent closing here -->
<li><a href="prices">Pricing</a></li>
<li><a href="#">Contact</a>
   <ul class="rMenu-ver">
      <li><a href="mailto:xxxx@xxxxxxx.com">xxxxx@xxxxxxx.com</a></li>
      <li><a href="#">888.555.1212</a></li>
   </ul>
</li><!-- "Contact" parent closing here -->
<li class="rMenu-expand"><a href="#">Categories</a> 
   <ul class="rMenu-ver">
      <li><a href="http://masselyn.com/mikifoto/category/categories/kids/" title="View all posts filed under Kids">Kids</a></li>
      <li><a href="http://masselyn.com/mikifoto/category/categories/simple/" title="View all posts filed under Simple Photos">Simple Photos</a></li>
   </ul>
</li><!-- "Categories" parent closing here -->
<li><a href="link">Link Text</a></li>
Note how the parent's <li> is not getting closed on the same line (it might seem they should - but they should not). The parent <LI>'s get closed with </li> AFTER all their children (which themselves are enclosed inside <ul class="rMenu-ver"> ... </ul> )
  #29  
Old Feb 1, 2009, 05:17 PM
Masselyn
 
91 posts · Jan 2009
So. California
I caught one place I did that, and realized how the heck would it know to do something if I closed it off before telling it what to do. I'll go through the code carefully, and check all areas to see where else I messed up. I got it to work at one point, but it threw the categories onto another line. Yikes....trial and error, I'll tell ya. Trial and Error!

More to come...
  #30  
Old Feb 1, 2009, 05:24 PM
Masselyn
 
91 posts · Jan 2009
So. California
Perhaps I am missing something, because it all appears to be closing at the right part. The issue is that the category has a choice on the main bar, then drops down with another category choice and then flys out to the right with the actual categories. I was trying to have the categories drop down from the main choice on the top. When I remove the following lines:
HTML Code:
<a href="#">Categories</a> <ul class="rMenu-ver">
- it works, but throws the whole category menu under the "home" link..therefore putting things on two lines. Does that make sense? I'll post what my current code looks like, cause I'm sure it will make more sense to you than me.

HTML Code:
// Page Menu Bar 
$page_menu_bar = '<div id="menu1"><div class="clearfix rMenu-center"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' . "\n";
#if ($bfa_ata_home_page_menu_bar != '') {
#    $page_menu_bar .= '<li class="page_item';
#   if (function_exists('is_front_page')) {
#        if (is_front_page() OR is_home()) { $page_menu_bar .= ' current_page_item';
#        }} elseif (is_home()) { $page_menu_bar .= ' current_page_item';    }
#$page_menu_bar .= '"><a href="' . get_option('home') . '/" title="' . get_option('blogname') . '">' . 
#$bfa_ata_home_page_menu_bar . '</a></li>' . "\n";    
#}    
#if ($bfa_ata_levels_page_menu_bar == "") {$bfa_ata_levels_page_menu_bar = 0; }    
#$page_menu_bar .= bfa_hor_pages($bfa_ata_sorting_page_menu_bar, $bfa_ata_levels_page_menu_bar, $bfa_ata_titles_page_menu_bar, $bfa_ata_exclude_page_menu_bar);

$page_menu_bar .= '
<li><a href="index.php">Home</a></li>
<li class="rMenu-expand"><a href="#">About</a>
<ul class="rMenu-ver">
    <li><a href="test-page">About Mallika</a></li>
    <li><a href="http://www.mikifoto.com">Website</a></li>
	<li><a href="link">Session Info</a></li>
</ul>
</li>
<li><a href="prices">Pricing</a></li>
<li class="rMenu-expand"><a href="#">Contact</a>
<ul class="rMenu-ver">
    <li><a href="mailto:xxxx.com">xxxx.com</a></li>
    <li><a href="#">888.555.1212</a></li>
</ul>
</li>
<li><a href="archives">Archives</a></li>
<li class="rMenu-expand"><a href="#">Categories</a> 
 <ul class="rMenu-ver">
';
$page_menu_bar .=  bfa_hor_cats($bfa_ata_sorting_cat_menu_bar, $bfa_ata_levels_cat_menu_bar, $bfa_ata_titles_cat_menu_bar, $bfa_ata_exclude_cat_menu_bar);
$page_menu_bar .= '
 </ul> 
</li>';
$page_menu_bar .= '</ul></div></div>' . "\n";
// END of Page Menu Bar
  #31  
Old Feb 1, 2009, 06:26 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The problem is that "rMenu-ver" appears twice in the "Category" path but it should only appear max once below a top level parent.

Since you have 2 levels in your Wordpress-created categories (parent "categories" and their childs) you can use this easier version below and use that existing parent "categories" as the top level.

The version from above would have been for a flat list of only-top-level categories.

This is something I had not thought about. "rMenu-ver" can only appear once below each top level parent, and including the categories into the page menu bar via bfa_hor_cats as shown here in this thread will only work if

1) The included categories are all one flat level -> use code from post #30)
2) or they START with a parent that contains all child categories, without further levels (you can set the category order only to some extent at Atahualpa Theme Options -> Category Menu Bar, to bring the parent cat into the first place) -> use code from post #31 = this post here
3) otherwise bfa_hor_cats.php would have to edited, too, but this thread is complicated enough as it is

Move all child categories to the first level and use the code from post #30

Or

Leave them as they are (parent category "categories" with childs) and delete the hard coded "Categories" parent like this:

PHP Code:
// Page Menu Bar 
$page_menu_bar '<div id="menu1"><div class="clearfix rMenu-center"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n";
#if ($bfa_ata_home_page_menu_bar != '') {
#    $page_menu_bar .= '<li class="page_item';
#   if (function_exists('is_front_page')) {
#        if (is_front_page() OR is_home()) { $page_menu_bar .= ' current_page_item';
#        }} elseif (is_home()) { $page_menu_bar .= ' current_page_item';    }
#$page_menu_bar .= '"><a href="' . get_option('home') . '/" title="' . get_option('blogname') . '">' . 
#$bfa_ata_home_page_menu_bar . '</a></li>' . "\n";    
#}    
#if ($bfa_ata_levels_page_menu_bar == "") {$bfa_ata_levels_page_menu_bar = 0; }    
#$page_menu_bar .= bfa_hor_pages($bfa_ata_sorting_page_menu_bar, $bfa_ata_levels_page_menu_bar, $bfa_ata_titles_page_menu_bar, $bfa_ata_exclude_page_menu_bar);

$page_menu_bar .= '
<li><a href="index.php">Home</a></li>
<li class="rMenu-expand"><a href="#">About</a>
<ul class="rMenu-ver">
    <li><a href="test-page">About Mallika</a></li>
    <li><a href="http://www.mikifoto.com">Website</a></li>
    <li><a href="link">Session Info</a></li>
</ul>
</li>
<li><a href="prices">Pricing</a></li>
<li class="rMenu-expand"><a href="#">Contact</a>
<ul class="rMenu-ver">
    <li><a href="mailto:xxxx.com">xxxx.com</a></li>
    <li><a href="#">888.555.1212</a></li>
</ul>
</li>
<li><a href="archives">Archives</a></li>
'
;
$page_menu_bar .=  bfa_hor_cats($bfa_ata_sorting_cat_menu_bar$bfa_ata_levels_cat_menu_bar$bfa_ata_titles_cat_menu_bar$bfa_ata_exclude_cat_menu_bar);
$page_menu_bar .= '<li><a href="archives">Archives</a></li>
</ul></div></div>' 
"\n";

// END of Page Menu Bar 
  #32  
Old Feb 1, 2009, 07:40 PM
Masselyn
 
91 posts · Jan 2009
So. California
Ha. I had forgotten about creating that silly "categories" category. I didn't intend to keep that, and since removing it I see what you are talking about. It works! It's amazing, and you're talented. I have to see if the person I am doing this for intends to have top level categories only....or will have children categories that I need to take the above code into account.

You've been wonderful. A wealth of information and knowledge. Thanks so much!!
  #33  
Old Feb 2, 2009, 11:43 PM
Steve_T
 
59 posts · Jan 2009
hello

I'm using 3.1.9 of your excellent theme. I believe it should be packaged with Wordpress as the "Only theme you'll ever need"

I have followed your instructions in post #10 and #2 and have the following

http://digitalvillage.org.uk/blog/

almost right but the extra links appear on a new line - how do I get them to follow on in a straight line from the other links?

Thanks
  #34  
Old Feb 3, 2009, 04:55 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Quote:
Originally Posted by Steve_T
hello

I'm using 3.1.9 of your excellent theme. I believe it should be packaged with Wordpress as the "Only theme you'll ever need"

I have followed your instructions in post #10 and #2 and have the following

http://digitalvillage.org.uk/blog/

almost right but the extra links appear on a new line - how do I get them to follow on in a straight line from the other links?

Thanks
You got two menu bars, the first is being closed after "Research Blog", and then a new one is opened.
HTML Code:
<li><a href="http://digitalvillage.org.uk/blog/?page_id=53" >Research Blog</a></li>
</ul></div> <--- closed
<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu"> <-- re-opened
<li><a href="link">Link Text</a></li>
should be:

HTML Code:
<li><a href="http://digitalvillage.org.uk/blog/?page_id=53" >Research Blog</a></li>
<li><a href="link">Link Text</a></li>
  #35  
Old Feb 3, 2009, 10:13 AM
Steve_T
 
59 posts · Jan 2009
I don't understand

I've edited header.php as per posts #2 and #10
I don't see the following HTML in header php

HTML Code:
<li><a href="http://digitalvillage.org.uk/blog/?page_id=53" >Research Blog</a></li>
</ul></div> <--- closed
<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu"> <-- re-opened
<li><a href="link">Link Text</a></li>
I don't see this HTML in header.php - I simply pasted the code you suggested after

PHP Code:
<?php bfa_header_config($bfa_ata_configure_header); ?>
  #36  
Old Feb 3, 2009, 12:05 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
This thread got a bit messy, but...

The post #2 plus the required extra changes (post #5 for Atahualpa up to 3.1.7, and post #10 for Atahualp 3.1.8 and later) was for replacing the whole page menu bar and using its CSS & Javascript for a menu bar full of arbitrary links instead. You want to append arbitrary links to the page menu bar (and keep using the page menu bar with its "Page" page links).

To do that find, in bfa_header_config.php, line 11-24, find this:

PHP Code:
 // Page Menu Bar 
$page_menu_bar '<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n";
if (
$bfa_ata_home_page_menu_bar != '') {
    
$page_menu_bar .= '<li class="page_item';
    if (
function_exists('is_front_page')) {
        if (
is_front_page() OR is_home()) { $page_menu_bar .= ' current_page_item';
        }} elseif (
is_home()) { $page_menu_bar .= ' current_page_item';    }
$page_menu_bar .= '"><a href="' get_option('home') . '/" title="' get_option('blogname') . '">' 
$bfa_ata_home_page_menu_bar '</a></li>' "\n";    
}    
if (
$bfa_ata_levels_page_menu_bar == "") {$bfa_ata_levels_page_menu_bar 0; }    
$page_menu_bar .= bfa_hor_pages($bfa_ata_sorting_page_menu_bar$bfa_ata_levels_page_menu_bar$bfa_ata_titles_page_menu_bar$bfa_ata_exclude_page_menu_bar);
$page_menu_bar .= '</ul></div>' "\n";
// END of Page Menu Bar 
and replace all that with this:

PHP Code:
 // Page Menu Bar 
$page_menu_bar '<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n";
if (
$bfa_ata_home_page_menu_bar != '') {
    
$page_menu_bar .= '<li class="page_item';
    if (
function_exists('is_front_page')) {
        if (
is_front_page() OR is_home()) { $page_menu_bar .= ' current_page_item';
        }} elseif (
is_home()) { $page_menu_bar .= ' current_page_item';    }
$page_menu_bar .= '"><a href="' get_option('home') . '/" title="' get_option('blogname') . '">' 
$bfa_ata_home_page_menu_bar '</a></li>' "\n";    
}    
if (
$bfa_ata_levels_page_menu_bar == "") {$bfa_ata_levels_page_menu_bar 0; }    
$page_menu_bar .= bfa_hor_pages($bfa_ata_sorting_page_menu_bar$bfa_ata_levels_page_menu_bar$bfa_ata_titles_page_menu_bar$bfa_ata_exclude_page_menu_bar);

$page_menu_bar .='
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a></li>
<li class="rMenu-expand"><a href="link">Link with sub menu</a>
   <ul class="rMenu-ver">
      <li><a href="link">Sub menu item 1</a></li>
      <li><a href="link">Sub menu item 2</a></li>
   </ul>
</li>
<li><a href="link">Link Text</a></li>
'
;

$page_menu_bar .= '</ul></div>' "\n";
// END of Page Menu Bar 
  #37  
Old Feb 3, 2009, 12:14 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
And to append 3 levels of arbitrary links to the page menu bar (instead of only 2 levels as shown in post #36 above), use this as the replacement code in bfa_header_config.php:

PHP Code:
// Page Menu Bar 
$page_menu_bar '<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' "\n";
if (
$bfa_ata_home_page_menu_bar != '') {
    
$page_menu_bar .= '<li class="page_item';
    if (
function_exists('is_front_page')) {
        if (
is_front_page() OR is_home()) { $page_menu_bar .= ' current_page_item';
        }} elseif (
is_home()) { $page_menu_bar .= ' current_page_item';    }
$page_menu_bar .= '"><a href="' get_option('home') . '/" title="' get_option('blogname') . '">' 
$bfa_ata_home_page_menu_bar '</a></li>' "\n";    
}    
if (
$bfa_ata_levels_page_menu_bar == "") {$bfa_ata_levels_page_menu_bar 0; }    
$page_menu_bar .= bfa_hor_pages($bfa_ata_sorting_page_menu_bar$bfa_ata_levels_page_menu_bar$bfa_ata_titles_page_menu_bar$bfa_ata_exclude_page_menu_bar);

$page_menu_bar .='
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a></li>
<li class="rMenu-expand"><a href="link">Link with sub menu</a>
       <ul class="rMenu-ver"> <!-- class "rMenu-ver" for 2nd level ul -->
             <li><a href="link">Sub menu item 1</a></li>
             <li><a href="link">Sub menu item 2</a></li>
       </ul>
</li>
<li class="rMenu-expand"><a href="link">Link with sub menu</a>
       <ul class="rMenu-ver">  <!-- class "rMenu-ver" for 2nd level ul -->
             <li><a href="link">Sub menu item 1</a></li>
             <li class="rMenu-expand"><a href="link">Sub menu item with sub menu</a>
                    <ul> <!-- NO "rMenu-ver" for 3rd or deeper level ul -->
                           <li><a href="link">3rd level item 1</a></li>
                           <li><a href="link">3rd level item 2</a></li>
                    </ul>
             </li>
       </ul>
</li>
<li><a href="link">Link Text</a></li>
'
;

$page_menu_bar .= '</ul></div>' "\n";
// END of Page Menu Bar 
  #38  
Old Feb 3, 2009, 02:57 PM
Steve_T
 
59 posts · Jan 2009
Thanks Flynn - that's exactly what wanted. You're the top WP theme dude
  #39  
Old Feb 20, 2009, 01:12 PM
Webmason's Avatar
Webmason
 
69 posts · Feb 2009
Minneapolis, MN USA
Thank You!
Very helpful! That's what I needed too.
Any chance of integrating this into the "Page Menu Bar" section of the theme?

Also, do these links have to apear after the other internal pages or is there a way to set their order too? I would like intersperse them with the other page tabs if possible. Asking to much?
  #40  
Old Feb 24, 2009, 06:03 PM
jockoe
 
23 posts · Feb 2009
I had this same question and was diven a very simple solution by a Mod at the WP forums.
Quote:
copy this file
http://codex.wordpress.org/User:MichaelH/Redirectify
name it redirectify.php
drop in plugins folder
activate plugin
create page - title only
in custom field specify
redirect
with url value of
http://example.com/blog/whatever.pdf

clicking on page title sends you to pdf
It is an easy solution for users that are uncomfortable editing PHP code, like myself.
  #41  
Old Mar 3, 2009, 05:48 AM
liture
 
1 posts · Mar 2009
hello all, I need to include in thea header an image with it's links using the <map> tag in HTML something like <map name="Map" id="Map"><area shape="rect" coords="215,15,318,51" href="link1" /> so can you please guide?

One of theings I tried is to simple remove the content of header.php and replace it with my code, but that destroyed the page, so can you please guide me?

Regards
  #42  
Old Mar 3, 2009, 07:37 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
See http://forum.bytesforall.com/showthread.php?t=172
  #43  
Old Mar 18, 2009, 06:02 PM
ray-zin
 
14 posts · Mar 2009
Hi. Does post #2 and #10 also apply for 3.2? Thanks.
  #44  
Old Mar 18, 2009, 06:49 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Yes, it should.
  #45  
Old Mar 19, 2009, 04:34 PM
goblinbox's Avatar
goblinbox
 
1 posts · Mar 2009
Walla Walla, WA US
It took me quite awhile to wade through the forum and find what I needed - which was buried in post #36 on this thread - but I finally did. Thank you!
  #46  
Old Mar 19, 2009, 04:35 PM
themarox
 
1 posts · Mar 2009
Thanks very much Flynn.

Everythinkg worked out for me fine aswell!

I just need to know now how to style these new links. font-size, font-weight and so on.

And I'd like to how I can enable a change effect. Change of text color if the link was activated. which means:

.../page1 --> page1 is black, other links are grey ... and so on.


Much appreciated.

Stefan

Last edited by themarox; Mar 19, 2009 at 04:38 PM.
  #47  
Old Mar 30, 2009, 04:44 AM
Craig Atkinson's Avatar
Craig Atkinson
 
53 posts · Mar 2009
I've just found your theme and love it - thankyou!
I've also found this thread and it kind of fits what I need to do but not quite.
I'm not using the page bar but I am using the cat bar.
http//:www.news.caferoyal.org
You will see I have 'about' and 'email' links. I'd like to add these to the category bar, after the cats, along with other links to external sites.
I'm using the latest version of the theme - updated this morning!
Any help would be great



Ah, worked it out - same instructions just the category part of the code. However, I set the target as _blank and that command doesnt seem to be recognised in the dropdown?

Damn, got that now too, I used "" and it didn't want them!

Last edited by Craig Atkinson; Mar 30, 2009 at 09:03 AM.
  #48  
Old Apr 14, 2009, 10:51 PM
OneSister
 
15 posts · Apr 2009
Wow, this is quite a tutorial. I have a couple of questions, however. I hope you don’t mind me freshening up this thread again.

1. In post 20, Flynn, you address sagatr’s question about the highlighting on the current page only with internal links, which makes sense of course, but I have a horizontal nav bar with *one* external link. I would like the rest of the links on the bar to assume the current behavior while on internal pages. Is this possible?

2. Also, I noticed some flakey behavior with relative links in the nav bar. Each time one was selected it added another index.php to the address. Of course it threw a page not found error. I know I must be doing something wrong, but perhaps someone could set me straight.

3. Would you please tell me where I can change the properties of this navigation bar? I’d like to change the color.

4. After following all the instructions above (I used Post #2 and Post #10 because I’m using the newest version of Ata), when I placed the code in the header and removed %pages from Theme =>Options=>Header the new nav bar appeared below the image banner instead of above the blog name and tag line text, where it was. This is fine, but I would like to move the rest of the page down to allow room for the drop-down menu items. Is there a properties widget for this? Or could you tell me where the code is for this particular tweak?

Thanks in advance for all this assistance.
  #49  
Old Apr 16, 2009, 07:22 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
This whole thread is messy and I am looking to include something in 3.3.3 where all this won't be needed anymore.
  #50  
Old May 21, 2009, 04:45 PM
Starr's Avatar
Starr
 
2 posts · May 2009
hi,

I'm new to using this theme, new to blogging and even to Wordpress. This thread did get messy and it was sooo confusing.

Here is what I found to fix the issue of having a page name in the page menu link to an external site:

Redirect Wordpress Plugin

There was something similar posted above but that .php file wasn't recognizing as a plugin for me.

I installed this and had my page redirecting to the external site in less than a minute!

:D

Hope this helps!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header and Sidebar Question kbaldwin Header configuration & styling 4 Jul 11, 2009 12:34 PM
Image too small at 770 px for Atahualpa theme - any way to make it stretch to 100%? houston777 Header configuration & styling 1 Jul 5, 2009 04:25 PM
Custom Header - Inserting HTML table and links over header. hotsauce Header configuration & styling 2 Apr 9, 2009 05:56 AM
Additonal question about changing header clarissahulsey Header configuration & styling 1 Feb 13, 2009 07:18 PM
Elementary question re header images robertayers Header configuration & styling 1 Feb 10, 2009 05:38 PM


All times are GMT -6. The time now is 07:14 AM.


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