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:
|
Quote:
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!!! |
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> |
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... |
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"> HTML Code:
// Page Menu Bar |
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:
|
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!! |
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 |
Quote:
HTML Code:
<li><a href="http://digitalvillage.org.uk/blog/?page_id=53" >Research Blog</a></li> HTML Code:
<li><a href="http://digitalvillage.org.uk/blog/?page_id=53" >Research Blog</a></li> |
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> PHP Code:
|
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:
PHP Code:
|
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:
|
Thanks Flynn - that's exactly what wanted. You're the top WP theme dude
|
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? ;) |
I had this same question and was diven a very simple solution by a Mod at the WP forums.
Quote:
|
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 |
|
Hi. Does post #2 and #10 also apply for 3.2? Thanks.
|
Yes, it should.
|
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!
|
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 |
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! |
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. |
This whole thread is messy and I am looking to include something in 3.3.3 where all this won't be needed anymore.
|
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. :confused: 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! |
All times are GMT -6. The time now is 09:21 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.