It sounds like an issue with the copy and paste. Either some special character got replaced (like the single quotes converted to curly single quotes) or you didn’t copy the whole snippet. Here it is again…
add_filter('bbp_voting_helpful', function() {
return 'Thanks';
});
add_filter('bbp_voting_not_helpful', function() {
return 'No Thanks';
});
… let me know if that work or not.
Hi,
Thanks so much for the reply. I will try the sent code and let you know. Thanks for the plugin by the way. Just what I needed.
tried the code this morning and site went down. remove the code site came back on line.
WP error is
An error of type E_PARSE was caused in line 73 of the file /home4/foodrep1/public_html/wp-content/themes/Food-child/functions.php. Error message: syntax error, unexpected ‘&’
There is no “&” in the code I provided you. Look at line 73 to see what’s causing it.
hi,
again thanks for the reply.
I checked the code again after another cut and paste and it is putting in all sorts of nonsense.
Have just put it in manually and works perfectly.
Thank you for taking the time to help on out on my stupidity 🙂 it is appreciated
regards
Steve
I have just been checking some amendments on mobile version of site and noticed that the labels and vote arrows are not lining up.
Labels the arrows are to the right of the labels. Any ideas why this would be?
Many thanks
Your site’s CSS is probably messing with it. If you know CSS, you can inspect it in your browser to figure out a CSS fix.