There also may be the risk of rankbrain from google penalizing and thinking the reviews are spammy. LIke @lesley said. Smarty truncate last name value to first character. How about Firstname L. ??
It would not work for all cases, but you could use a string function to find a space and go from there. I think that is the closest you can get with smarty.
Sure, that is a possibility. It would take a custom edit to the core of the module. It is not something we would edit into the module to release just because it will likely get reviews excluded from everywhere that might aggregate them.
Recommended Posts
lesley
It would take something more than smarty to make it work with both the first and the last name.
dprophitjr
There also may be the risk of rankbrain from google penalizing and thinking the reviews are spammy. LIke @lesley said. Smarty truncate last name value to first character. How about Firstname L. ??
wakabayashi
How would you achieve that @dprophitjr? Looks to me, as a change in php is needed, to have a clean solution.
lesley
It would not work for all cases, but you could use a string function to find a space and go from there. I think that is the closest you can get with smarty.
wakabayashi
Yeah I think so too!
30knees
Couldn't one redefine customername somewhere to be firstname concatenated with lastname from tbcustomer and then just truncate firstname and lastname?
lesley
Sure, that is a possibility. It would take a custom edit to the core of the module. It is not something we would edit into the module to release just because it will likely get reviews excluded from everywhere that might aggregate them.
30knees
For future reference: https://store.thirtybees.com/shop-modules/front-office/revws-product-reviews has this implemented.
30knees
Also, the reviews are not excluded from Google despite having initials.