Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
where is the title pulled from?
Avatar
lisalew
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2011 - 12:27 am

I have a navigation menu plugin that is displaying the title of my forum as "FORUM | CHIC CRITIQUE | FORUM" instead of simply "FORUM" like I have configured it to in the menu.  What file is the title pulled from?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 18, 2011 - 2:21 am

It is not pulled from any file. It is dynamically generated.
Try forum admin > options > styles - turn On the option to filter the wp_list_pages function.

andy-signature.png
YELLOW
SWORDFISH
Avatar
lisalew
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2011 - 9:48 am

I found this in the setting in "Integration -> Pages and Permalinks" but it was already set.  On this same page it shows that my title if "Forum."  I noticed that in my header file is where the title is configured by pulling the page title and the site title and concatenating them.  But this is how it is done for all of the pages on the site, yet the rest show the correct page name on the navigation bar.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 18, 2011 - 10:52 am

Apologies. Mid-read this as being a V4 question. The option has been moved for V5.

This problem is most often caused by a very old bug in WP that they seem totally unwilling to fix. The filter we apply is an attempt to work around that bug.

So - we might be missing something in that filter - possibly the capitalisation although I thought we catered for that long ago - or maybe your menu is not built using the wp api. are you able to determine if the plugin in question is using either wp_list_pages() or wp_navmenu() to build it's list?

andy-signature.png
YELLOW
SWORDFISH
Avatar
lisalew
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2011 - 12:43 pm

wp_list_pages.

 

I think I can figure out how to do an if statement in the header that will change the page title if it's the forum page - maybe this will work.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 19, 2011 - 2:52 am

Could you let us know what the menu plugin is as well? We can not possibly test with them all but do try wherever possible and time permitting.

andy-signature.png
YELLOW
SWORDFISH
Avatar
lisalew
Member
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2011 - 9:31 am

The plugin is Webfish Dropdown Menu.  So I'm not very familiar with php or the wp functions, but is there something I can check for in an "if" statement within the <title></title> that will tell me if it's the forum page so I can force a different title? 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2011 - 9:10 pm

you can check

sp_is_forumpage()

to see if on forum page...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626