[SOLVED] Solving comma (,), duplicated in blog plugin
Posted: Mon Jan 09, 2023 2:10 am
Hello everyone, I'm a WonderCMS user and I'm from Brazil, so any errors here are because I'm using a translation tool.
All articles created with the blog plugin were displayed with ,,,,, in their description. Therefore, making the description confusing. Even when they were indexed on google.
I managed to solve the problem in the plugin and I would like to share it with you, because I think the project is excellent. So let's go to the steps.
Open the simple-blog folder and open the class.SimpleBlog.php file to edit, go to line 263 of the code and change
(' ', ', ',
per
('',',',
That is, we should just remove the spaces.
Doing this will not show (,,,,,) in your description.
All articles created with the blog plugin were displayed with ,,,,, in their description. Therefore, making the description confusing. Even when they were indexed on google.
I managed to solve the problem in the plugin and I would like to share it with you, because I think the project is excellent. So let's go to the steps.
Open the simple-blog folder and open the class.SimpleBlog.php file to edit, go to line 263 of the code and change
(' ', ', ',
per
('',',',
That is, we should just remove the spaces.
Doing this will not show (,,,,,) in your description.