Notifications
Clear all

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

35 Posts
4 Users
3 Likes
1,588 Views
CENTRAL4ALL
Posts: 473
Topic starter
(@central4allgmail-com)
Honorable Member
Joined: 4 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
Martin
Posts: 866
Moderator
(@martin)
Support Team
Joined: 6 years ago

Hi @central4allgmail-com,

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

CENTRAL4ALL
Posts: 473
Topic starter
(@central4allgmail-com)
Honorable Member
Joined: 4 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
Martin
Moderator
(@martin)
Joined: 6 years ago

Support Team
Posts: 866

@central4allgmail-com

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

 

CENTRAL4ALL
(@central4allgmail-com)
Joined: 4 years ago

Honorable Member
Posts: 473

@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

 

Martin
Moderator
(@martin)
Joined: 6 years ago

Support Team
Posts: 866

@central4allgmail-com

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

 

CENTRAL4ALL
Posts: 473
Topic starter
(@central4allgmail-com)
Honorable Member
Joined: 4 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
Martin
Moderator
(@martin)
Joined: 6 years ago

Support Team
Posts: 866

@central4allgmail-com

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

 

CENTRAL4ALL
(@central4allgmail-com)
Joined: 4 years ago

Honorable Member
Posts: 473

@martin sure

 

CENTRAL4ALL
Posts: 473
Topic starter
(@central4allgmail-com)
Honorable Member
Joined: 4 years ago

Same problem, no titles

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

Support Team
Posts: 9710

@central4allgmail-com

I see titles work fine on your website.

 

CENTRAL4ALL
(@central4allgmail-com)
Joined: 4 years ago

Honorable Member
Posts: 473

@robert i removed again the update

 

Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9710

@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.

 

CENTRAL4ALL
(@central4allgmail-com)
Joined: 4 years ago

Honorable Member
Posts: 473

@robert

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

 

Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9710

@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
Share: