Topic RSS
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
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.
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
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.
Well 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?
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…
Ok I fully understand ! Sorry for that.
So if I find the menu call somewhere – what will i have to change it to ?
Find it first then we might be able to talk you through it. Need to know what it is.
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 ?
Most Users Ever Online: 444
Currently Online: Mr Papa, SPQC
54 Guest(s)
Currently Browsing this Page:
1 Guest(s)
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
Newest Members: ordie69, mutha66, jawaulk, mastergalen, ikkiamonrah, OlafKS, js, Anne Wayman, vinzMtl, VikingBrent
Moderators: Brandon C (158)
Administrators: Yellow Swordfish (22131), Mr Papa (23580)
Log In
Register
Home
Add Reply
Add Topic
Offline
Quote


Online
Visit 
Privacy Policy



