-
AuthorPosts
-
April 28, 2020 at 9:44 am #1207723
Goodmorning
There is a limit (words or characters) for blog post title length?
I ask this question because on this site https://www.studiopaoloaccornero.com/ there is a problem with post title.
For example…
This article
https://www.studiopaoloaccornero.com/consigli-nutrizionali-bodybuilding-calisthenics-powerlifting-manphysique/
with title “Consigli nutrizionali: BodyBuilding, Calisthenics, Powerlifting e Man Physique” is not visible.But if the title was “Consigli nutrizionali: BodyBuilding, Calisthenics, Powerlifting e Man”, without last word, the article return visible.
Tks a lot
Bye
April 28, 2020 at 6:39 pm #1207917Hey Giorgio Mario,
Best regards,
VictoriaApril 28, 2020 at 8:58 pm #1207974Good evening
Yes, issue persists!
Tks
Best regards
April 29, 2020 at 1:21 pm #1208148Hi,
Could you please try de-activating all active plugins and check if that helps?
I tried naming one of posts to “Consigli nutrizionali: BodyBuilding, Calisthenics, Powerlifting e Man Physique” and it works fine on my installation. Attached a screenshot in private content field below.
Regards,
YigitApril 29, 2020 at 1:34 pm #1208154Hi
I’ve already tried several times to disable and re-enable plugins
The problem was also with other articles for which we have shortened the title.
Tks
Best regards
April 29, 2020 at 8:26 pm #1208310Hi GiorgioAldeghi,
Please check in Customize -> Blog -> Posts -> Post Title Excerpt Length.
Best regards,
VictoriaApril 30, 2020 at 9:16 am #1208460Hi
We don’t find the setting indicated…
Tks
May 4, 2020 at 4:29 pm #1209599Hi GiorgioAldeghi,
Please have a look at the following articles:
https://wordpress.org/support/topic/limit-post-titles-length/
If you need further assistance please let us know.
Best regards,
VictoriaMay 25, 2020 at 8:39 am #1216018Hi
The recommended plug-in hasn’t been updated in 5 years and still doesn’t work.
Also the code in functions.php doesn’t work.
How can we solve the problem?
Tks
Best regards
May 31, 2020 at 3:12 am #1218110Hi,
Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:function max_title_length( $title ) { $max = 2000; if( strlen( $title ) > $max ) { return substr( $title, 0, $max ). " …"; } else { return $title; } } add_filter( 'the_title', 'max_title_length');
I see that you tried some code, but perhaps it wasn’t the same as this.
Best regards,
MikeMay 31, 2020 at 2:40 pm #1218186Hi
I tried to insert the code you indicated but without success and without any change.
Why?
Tks
Best regards
May 31, 2020 at 6:04 pm #1218223Hi,
For that page on the backend, I can see you have content, but I’m not seeing anything on the front end, is this intentional or a new issue?Best regards,
MikeMay 31, 2020 at 6:59 pm #1218245Hi
That’s the problem. On the backend there is everything, but on the frontend a green screen is returned.
In cases where this problem occurs, it is sufficient to shorten the title of the article to solve the problem.
The fact is that in some cases the title is long X (for example) while in other cases it is long Y (for example).
There is no fixed title length with which the problem occurs.Tks
Best regards
May 31, 2020 at 7:59 pm #1218272Hi,
Oh I see, sorry I misunderstood the issue, so please remove the code I posted earlier.
On my localhost I was able to publish a post using your title twice and the post showed fine, I see that you are using v4.7.2 so to rule out a bug in that version please try updating to v4.7.5
You will need to create an Envato Token to update, the API you are using will no longer work. Or you can update via FTP, but don’t try to overwrite the theme folder as it will leave old files behind and cause errors.Best regards,
MikeJune 1, 2020 at 8:46 am #1218368Hi
We are a web agency with a lot of experience in WordPress, so we have no difficulty getting anywhere. :-)
I updated the theme from the website server cPanel, but the issue persist. :-(
Tks a lot
Best regards
Giorgio Mario Aldeghi
June 3, 2020 at 1:36 pm #1219048Hi,
Thank you, I have not seen this before and I can’t reproduce it on my localhost, I have asked the rest of the team for suggestions, Thank you for your patience.Best regards,
MikeJune 10, 2020 at 11:48 am #1221146Hi Mike
So how can we solve the problem permanently?
Tks
Best regards
Giorgio Mario Aldeghi
June 10, 2020 at 11:54 am #1221147Hey,
Sorry for the late reply but it seems like none of us experienced such issue before.
Could you please post FTP logins here privately as well so we can look further into it?Best regards,
YigitJune 14, 2020 at 2:53 pm #1222477Hi
You can find FTP accesses in private content.
Tks
Best regards
Giorgio Mario Aldeghi
June 17, 2020 at 1:48 pm #1223384Hi,
Could you please contact your hosting provider and ask them to enable “mbstring” extension?
I am pretty sure issue is related to your server configuration however cannot put a finger on it yet :)Best regards,
YigitJune 19, 2020 at 10:53 am #1224014Hi Yigit
We are the customer’s provider. Or rather, we resell the service and therefore we manage it.
The problem was solved by activating the mbstring function.
Tks
Best regards
Giorgio Mario Aldeghi
June 19, 2020 at 10:56 am #1224016But now we have another problem.
The share button on WhatsApp at the bottom of the articles, it works but is recognized as a 404 Error by the “Broken link checker” WordPress plugin.
Why?
Tks
Best regards
Giorgio Mario Aldeghi
June 19, 2020 at 11:44 am #1224026Hi,
Glad the first issue was resolved!
Regarding second one, I think it is related to the plugin. Links in plugin settings are broken and when updating them with correct URL, notification goes away. Please contact plugin authors and ask what could be the reason or update the links in plugin settings manually :)
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.