How to customize the messages AND being update-proof
-
Hello,
And thanks a lot for this great plugin. I use it on many websites, and it’s working fine.
I would like to display a message to new visitors customized according to the category of the article they are reading. The way I’m planning to do :
– add a parameter to the wwsgd_the_message() function (like $categories)
– pass it to the wwsgd_get_the_message() function
– in wwsgd_get_the_message(), add some tests according to the categories of the article and tuning the message to display.
This will work, but as soon as an update will appear, the PHP code would be overwritten and my changes lost.
Do you have an idea for a “clean” update-proof way of doing this kind of things ?Regards
Jérémie
- The topic ‘How to customize the messages AND being update-proof’ is closed to new replies.