A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Menubutton text change !
Jan 14, 2010
3:16 am
Member
Forum Posts: 23
Member Since:
Jan 11, 2010
Offline

Hy Guys

Thanks for a nice forum and for this help desk

I dont know if this is a main problem or something that can be fixed in the settings but i cant find it:

My site:press is build into my wordpress site where I have a top menu. I have a menubutton called "Forum" and thats how the visitors open Site:press forum.
When I for instans is in my forum member profile and go to "Manage members Profile" this will also appear in my menu button instead of "Forum" and make no sence for the use.
Its not nice as its making a mess in my tight menu ! How can I solve this problem

Jan 14, 2010
4:28 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

This is a bug in WordPress (in the wp_list_pages() template tag which they have failed to fix since about Version 2.1.
Two choices: Exclude the forum from the code that buikds the menu and add the link manually (best solution) – or – turn off the forum/topic title appearing in page title option in Forum > Options > Global Display Settings.

Yellow Swordfish
Jan 14, 2010
5:38 am
Member
Forum Posts: 23
Member Since:
Jan 11, 2010
Offline

Hi Yello
- well the best solution you mentioned seems OK to me but it leads to new questions :

The forum menu button was created by itself when i added the simple:press plugin. So

im not familiar how i can "exclude the forum from the code" as You say ?

Secondly i did not try to add a button maually in wordpress yet – but with a hint to some

guidelines i hope I can manage that step ?

 

//G

Jan 14, 2010
5:49 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

You will need to find where in the theme the 'menu' is created to find out what WP function is being used. Most usually that will be in the header.php file but not always. All themes are different. These tags all end up calling a function named wp_list_pages() which, if you look it up on the WP codex, can have pages excluded from the list. That is the first step. Adding a link to the forum page is the easy bit but you need to do the above first.

Yellow Swordfish
Jan 14, 2010
6:10 am
Member
Forum Posts: 23
Member Since:
Jan 11, 2010
Offline

SurprisedWell my php header looks like this

<title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' – ' ; bloginfo('name'); }
 elseif (is_single() ) { single_post_title(); }
 elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
 else { wp_title('',true); } ?></title>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!–[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]–>
<!–[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]–>
<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>

 

I do not find any : wp_list_pages() here - any idea of where i have to look?

Jan 14, 2010
6:19 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

Please don't post reams of code here – it doesn't really help. By all means post snippets but whole files wont get read – we just do not have that sort of time.

Well – as I said – header.php is the most usual but all themes are different. You just need to look through the theme files until you find what looks like the menu call. It MAY be wp_list_pages() it MAY be something with the word 'menu' in it. But it will have to be there somewhere. it is impossible for me to tell you where but a bit of patient searching should turn it up…

Yellow Swordfish
Jan 14, 2010
6:22 am
Member
Forum Posts: 23
Member Since:
Jan 11, 2010
Offline

Ok I fully understand ! Sorry for that.
So if I find the menu call somewhere – what will i have to change it to ?

Jan 14, 2010
6:39 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

Find it first then we might be able to talk you through it. Need to know what it is.

Yellow Swordfish
Jan 16, 2010
3:52 am
Member
Forum Posts: 23
Member Since:
Jan 11, 2010
Offline

Hey Yello

I found now "function art_menu_items()" in the function.php file. (Please notice I used Artisteer to create my theme)

Do you think I got something usefull here ?

Jan 16, 2010
9:29 am

SP Master
Forum Posts: 23582
Member Since:
Dec 10, 2006
Online

could be what you are looking for.  but if thats the case, likley you have a theme options panel in the admin for actually setting the values.  have you looked?

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Mr Papa, SPQC
54 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 485

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2616

Members: 7328

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10839

Posts: 79118

Moderators: Brandon C (158)

Administrators: Yellow Swordfish (22131), Mr Papa (23580)