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 »

Making menu bar links shorter

Old Feb 8, 2009, 04:59 PM
35 posts · Feb 2009
I have pages with long names.
They look ugly on menu bar.
Is there any way to create custom 'slugs' just for the menu bar (pages and categories)?

Old Feb 8, 2009, 09:46 PM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
You can do that with custom fields, see http://forum.bytesforall.com/showthread.php?t=149 , the second half of post #7 (the upper part of post #7 is about something different)
Old Feb 8, 2009, 09:52 PM
35 posts · Feb 2009
The magic of custom fields, thanks!
(I'll re-copy for others)

In index.php, around line 97-99, change
PHP Code:
             } ?>"><?php 
        if( !
is_single() AND !is_page() ) { ?>
PHP Code:
} ?>"><?php 
} if (is_page()) { echo get_post_meta($post->ID'long-title'TRUE); } else { the_title(); }
        if( !
is_single() AND !is_page() ) { ?>

PS: would be nice to have this a documented part of theme for both pages and categories.



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Atahualpa Page Menu Bar -&gt; BFA Page Menu Bar? bhannemann Page & Category Menu Bars 16 Feb 21, 2011 05:49 AM
Shorter Page Menu Title tkeller Page & Category Menu Bars 3 Jul 13, 2009 10:35 PM
[SOLVED] Page Menu Bar - Strange Space Occurring Between Menu Items NealSchaffer Page & Category Menu Bars 2 Jun 20, 2009 11:18 AM
how to shift the text in menu bar without shifting the entire side bar? collymore Page & Category Menu Bars 10 May 9, 2009 07:29 PM
How to make popup menu links? Hansuke Page & Category Menu Bars 5 Feb 13, 2009 11:49 AM

All times are GMT -6. The time now is 01:48 AM.

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