Support Forum

where is the title pulled from?

LI lisalew
lisalew
Member

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?

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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.

LI lisalew
lisalew
Member

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.

YS Yellow Swordfish
Yellow Swordfish
Member

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?

LI lisalew
lisalew
Member

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.

YS Yellow Swordfish
Yellow Swordfish
Member

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.

LI lisalew
lisalew
Member

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? 

MP Mr Papa
Mr Papa
Member

you can check

sp_is_forumpage()

to see if on forum page…