Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

How to add links under the header?


  #1  
Old Jul 16, 2009, 03:12 PM
kevandali
 
26 posts · Jul 2009
Hi All, first things first, think this theme is great, not donated via paypal yet but definitely will do.

At the moment I have the 'bar1' showing under the header with the 'Home' button on it.

I would like to add other buttons that link to other pages of my blog.

ie I have a page full of photos that are part of the blog http://chocolatebones.co.uk/kev/photos/ and want to link straight to it, plus have the options to link to other sites or pages.

I have looked all over and can't find what I need, I do realise its probably quite simple but any pointers in the right direction much appreciated.

Kev (my website is www.chocolatebones.co.uk/kev ) if its easier to take a quick look and see what I mean.

Last edited by kevandali; Jul 16, 2009 at 03:38 PM.
  #2  
Old Jul 17, 2009, 09:00 AM
kevandali
 
26 posts · Jul 2009
I have managed to get the navigation bar where I want it, I now need to add another link on the same bar to my photo page and have the ability to add further links across the bar.

Any help at all much appreciated, wil continue searching the forum.

Kev
  #3  
Old Jul 19, 2009, 06:26 PM
kevandali
 
26 posts · Jul 2009
Searched everywhere to try and find out how to add links onto the page navigation bar but no joy. I assume they should appear automatically but for some reason my page that has been created does not appear and i have no idea how to add further links, any help appreciated, I bet it is quite simple to do but no idea at all.
  #4  
Old Jul 20, 2009, 12:16 AM
kevandali
 
26 posts · Jul 2009
Hi All
I seem to be getting there slowly but no help as yet? Do I have to wait until the end of the month (pay day) to contribute through PayPal before help is given?

At the moment I have copied this code from my previous kubrick theme in header php.

<div id="navmenu">
<ul>
<li><a href="http://chocolatebones.co.uk">Main Site</a></li>
<li><a href="http://www.chocolatebones.co.uk/kev/">Blog-Home</a></li>
<li><a href="http://www.chocolatebones.co.uk/kev/photos/">Photos</a></li>
<li><a href="http://chocolatebones.co.uk/kev/contact-me/">Contact</a></li>
</ul>
</div>

It worked but just gave me a vertical list of links below my page navigation bar, any ideas at all how to get these links horizontally along the bar.

As always any information much appreciated.
Kev
  #5  
Old Jul 21, 2009, 04:14 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
check out http://forum.bytesforall.com/showthr...0772#post10772
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Jul 21, 2009, 05:09 AM
kevandali
 
26 posts · Jul 2009
Thanks for the reply, I posted the following text at the very bottom of the bfa_header_config.php (wasn't quite sure exactly where it should go)

$page_menu_bar .= '<li><a href="http://www.chocolatebones.co.uk/kev/photos/">Photos</a></li>';

Instead of a link appearing on my navigation bar I got a broad white line appearing above my header with the text below.

$page_menu_bar .= '
Photos
'; http://www.chocolatebones.co.uk/kev/photos/

Will take another look in case I have typed or done something wrong?
Also got this message:-
';
Warning: Cannot modify header information - headers already sent by (output started at /home/b13choc/public_html/kev/wp-content/themes/atahualpa/functions/bfa_header_config.php:366) in /home/b13choc/public_html/kev/wp-admin/theme-editor.php on line 69
  #7  
Old Jul 21, 2009, 06:27 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what version of Atahualpa?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Jul 21, 2009, 08:45 AM
kevandali
 
26 posts · Jul 2009
Version 3.4.1
  #9  
Old Jul 21, 2009, 08:55 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
in 3.4.1 locate line 48 in bfa_header_config.php. it should be
PHP Code:
$page_menu_bar .= '</ul></div>' "\n"
so add your code right BEFORE that line
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Jul 21, 2009, 12:06 PM
kevandali
 
26 posts · Jul 2009
Worked a treat, dead chuffed.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Sidebar to Header? mwsmedia Header configuration & styling 1 Jun 20, 2009 10:03 AM
request: please add "links.php" page template. dhani Atahualpa 3 Wordpress theme 0 May 22, 2009 03:36 AM
Add photo in kicker which links to appropriate author Cece45 Post-Kicker, -Byline & -Footer 1 Apr 10, 2009 10:52 PM
Custom Header - Inserting HTML table and links over header. hotsauce Header configuration & styling 2 Apr 9, 2009 05:56 AM
How do I add more main, sub and sub sub links? nickcee Page & Category Menu Bars 3 Mar 19, 2009 01:59 PM


All times are GMT -6. The time now is 11:00 AM.


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