Notifications
Clear all

wpForo 1.x.x [Closed] After update issue 1 pages title

35 Posts
4 Users
3 Reactions
3,040 Views
Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 6 years ago

First think that i noticed is that the name of the pages now is site title.

I had added the custom edit to show the name of the topic, ok normal with the update.

Can you please let me know what was the fix/edit in code because i cant find it, and if it is still working?

Topic Tags
34 Replies
Posts: 992
Moderator
(@martin)
Support Team
Joined: 8 years ago

Hi @central4allgmail-com,

Do you have any custom code for the titles? What SEO plugin you use?

Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 6 years ago

Yes there is somewhere inside this forum but i cant find it now.

Plus i dont know if it is working with new update

3 Replies
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@central4allgmail-com

Please clear all extra codes and answer on my second question. 

 

(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@martin

This code

 
add_filter( 'pre_get_document_title', 'wpforo_meta_wp_title', 100);

Note, this is taken and modified from line 625 of /wpforo/wpf-includes/wpf-hooks.php. I just changed the filter from 'wp_title'

https://wpforo.com/community/how-to-and-troubleshooting-2/include-topic-title-in-site-page-title/

Yoast is my SEO plugin

 

Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@central4allgmail-com

Can you remove this code and test it? Don't forget to delete the cache.

 

Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 6 years ago

Not for the moment, i will when i will try the update again.

I rolled back after other problems that i had.

2 Replies
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@central4allgmail-com

Ok, please just let us know once you updated and checked.

 

(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@martin sure

 

Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 6 years ago

Same problem, no titles

5 Replies
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@central4allgmail-com

I see titles work fine on your website.

 

(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@robert i removed again the update

 

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@central4allgmail-com,

I'm sorry but I have no idea what's wrong on your website. It's definitely not wpForo issue. Some plugin affects the standard WordPress title hook or your theme is out of all WordPress standards. We can't do such a deep debugging of your website, you should find the problem maker yourself. Use the Duplicator plugin, duplicate it in some sub-domain, then start check it. Find the problem maker by simple enable/disabling of theme features and plugins. Use default theme to make sure this issue comes from the theme and so on. This is maximum I can help in this situation.

 

(@central4allgmail-com)
Joined: 6 years ago

Prominent Member
Posts: 533

@robert

before the update it was working, i will try the same fix

 

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@central4allgmail-com,

It doesn't mean there is no any affection from other plugins and theme. The hooks are currently changed in wpForo, but those are changed correctly and works fine on even more websites. So the old solution may not work anymore.  You should have to find the problem before. Now, it's time to do the deep debug I suggested above.

 

Page 1 / 4