Support Forum
I have not looked at the code @mr-papa suggested as yet but - while I feel changing core files is not a good idea you can at least test things and do temp live changes with safety.
As far as I know the code is in the file /sp-startup/forum/sp-forum-support-functions.php and the function is sp_get_metadescription() which starts at line 499. You will see the '120' at line 534.
YELLOW
SWORDFISH
|
What was the final code of mine you used??? did it have 120 or 300 (as I suggested you change) in there?
Visit Cruise Talk Central and Mr Papa's World
I have not dug into it today. If the description and open graph description share the same characters I'll have to fiddle with the length and run I post through Google testing tool checking for overage errors.
On Jul 6, 2017 11:10 PM, "Simple:Press Support" wrote:
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
yes, the two share the same length number... changing the location or using my code will change both as well..
if you want to change just the OG, you would have to go down around line 796 in that same file and not use the meta description... so you could take the meat of my code and replace line 796 with it to directly create a separate OG description...
Visit Cruise Talk Central and Mr Papa's World
Hi Steve, not comfortable digging around in php, i increased the number of characters in sp default file. That's working for now. Thanks for your help as always.
The correct length is sketchy. Yoast is saying 160 characters, and does not mention the open graph description. However Search Engine Journal has more in depth info.
Title tags have been increased to 70–71 characters, which is up from its previous 50–60 characters. That’s at least enough to fit in another word or two.
Meta descriptions have been increased by 100 characters per line, and extended from two to three lines. That’s a significant increase, and presents far more of an opportunity to tell searchers what the page is about.
Slegg reports that Google is still truncating the descriptions to two lines for many search results still, so you may still see them coming in at around 160 characters at times. When a three line snipped is displayed they come in at 278 characters per line.
I'm thinking having separate meta description and open graph description tags would be good idea. An easy core update for y'all. Possibly adding a variable to the SEO component allowing the admin to choose the lengths?
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
we can create a ticket for consideration in upcoming releases... thanks for the info...
Visit Cruise Talk Central and Mr Papa's World