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
Forum title
Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 5:21 pm

Hi,

When I disabled the page title, my menu plugin didn't show the forum title.

There's a title filter in sp-load-forum.php line 93, which calls the function sp_setup_page_title in sp-forum-support-functions.php on line 594. It looks to me like the function returns an empty title when a setting to display the page title is disabled in the forum settings.

I have two questions:

1) How can I disabled the page title, but still keep the data passing to the menu ?

2) In case the page title is enabled, I see "Consulting Zone | AppGo2Market | Consulting Zone" which is the page title, followed by the site name, followed again by the page title. Can this be modified ?

Thanks,

Ronen.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2014 - 5:42 pm
  1. By 'menu' do you literally mean the dark grey bar with the search field to the right of it? You mean it disappears from there? If so then it sounds like it might not be using standard WordPress functions to display the menu. You will note that the page title is not displayed above but the page DOES appear in the menu. I would need to know how the menu is being created to come close to working out why it vanishes.
  2. Yes indeed - forum admin > components > seo - you can set the page title structure there...

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 5:46 pm

yes. the bar with the search. The "Consulting Zone" menu item, that is actually the forum, disappears from my site menu if I disable the title of the page. I'd like to remove page title, and to keep the site menu working.

On Sat, Jan 25, 2014 at 12:42 AM, Simple:Press Support wrote:

> >

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2014 - 6:00 pm

As I said we will need to know how that menu is being generated. Removing the text from the page title should have no effect on the menu if being generated using standard WordPess core menu functions. It just suggests that your theme is perhaps using something different

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 6:16 pm

I'm using uber mega menu from code canyon. When the menu item for simple press disappeared on the simple press page only, I opened a ticket in the uber menu support. They have looked into that and replied with the following:

"The issue doesn't stem from the menu, and isn't related to UberMenu at all, so unfortunately I don't have any insight into the specific code that causes this issue. The code that is removing the title could be in any of your plugins or your theme.

Working logically, this is occurring on a forum page - and that is the most obvious difference from the other pages. So it is likely related to the forum plugin you are using. I hunted down the plugin and downloaded the Simple Press forum plugin, and then did a global search for the_title. I found a title filter in sp-load-forum.php line 93, which calls the function sp_setup_page_title in sp-forum-support-functions.php on line 594. It looks to me like the function returns an empty title when a setting to display the page title is disabled in the forum settings.

If I had to bet, I'd put my money on that setting being the issue (though it's certainly possible there is another filter elsewhere doing something similar). That filter is too generic and shouldn't be stripping the title out of menu items, but it is. From the look of the code, there's probably a setting you can enable/disable in the forum settings to display the title."

Indeed, my page title was disabled. when I enabled, I got a title I don't want or need, but, my menu got back to live.

Is there a way to keep the menu working, and still have the title forum title disabled ?

Thanks, Ronen.

On Sat, Jan 25, 2014 at 1:00 AM, Simple:Press Support wrote:

> >

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 8:43 pm

no need to address their misunderstanding - wont help...

but why are you disabling the page title? to remove it from the actual page display above the forum?  If so, just remove the page title from the wp theme page template...  if you are using the default page template for the forum, then just create a custom page template for the forum page and remove it from that template...

if removed, for another reason, please explain...

Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2014 - 12:19 pm

I have a page title of my own, and it's part of the branding/look an feel of the site.

You can see: here (The upper part - has a banner with title).

This is why I don't need another title.

Moving the page title from WP didn't help, and actually, for the sake of maintenance, I'd rather keep the name of the pages.

Current situation - I don't need the page title, but as soon as I disable it, the forum "consulting zone" menu disappears.

Best Regards,

Ronen.

 

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2014 - 1:57 pm

sorry, what am I looking at there that you dont like???  the pink strip?

Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2014 - 2:02 pm

The Pink stripe is mine. That's my title.I like it.

What I don't want to have is what's in the forum's pink square below - the first text you see:

"Consulting Zone | AppGo2Market | Consulting Zone"

 

When I use the settings and remove the title, this text disappears (and so does the forum menu).

I'd like to remove it, and keep my menu working.

Thanks,

Ronen.

Avatar
Ronen Laviv
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2014 - 2:05 pm

Please let me know, if you need me use the "remove title" option, and keep the site for some time for you to see.

You would be able to see that the "Consulting Zone | AppGo2Market | Consulting Zone" is gone, but so does the "Consulting Zone" from the top menu, leaving a blank link.

...I want the menu to remain in place, regardless of dropping the "Consulting Zone | AppGo2Market | Consulting Zone".

 

Thanks,

Ronen.

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625