Support » Plugin: What Would Seth Godin Do » How to customize the messages AND being update-proof

  • Resolved jb42



    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 ?



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Richard K Miller


    Hi Jérémie,

    I don’t believe there’s a clean way to do what you are suggesting. I will make note of your suggestion and see if I can make any changes to accommodate this in the future. In the meantime, you may have to keep a copy of your code changes and make manual edits each time WWSGD is updated (which isn’t often :)).

    Best regards,

    Hello Richard,

    Sorry for the delay, I haven’t been notified by email about your reply (although I should have been).

    Thanks for your reply, I understand !

    Thanks again for your great plugin

    Best regards


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to customize the messages AND being update-proof’ is closed to new replies.