• Resolved dejudicibus

    (@dejudicibus)


    I wish to adda new template but I wonder if, if I add a template in template subdirectory of plugin, it could be removed next time I upgrade to new version. On the other hand I cannot use advanced options because template code uses PHP too. Where could I place that template? Do you have a shortcode that allow me to specify template url?

    https://wordpress.org/plugins/skype-online-status/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes it will porbably be overritten — i’m not even sure! it might be just left untouched as it has a different file name — and if you’re depending on PHP you cannot use the advanced custom template field…

    I’ll consider this a feature request for an added external custom template directory. Do you need this on very short notice? Are you willing to test a development version as soon as this would implemented?

    Thread Starter dejudicibus

    (@dejudicibus)

    No, it is not so urgent. I really solved my problem (I had to change the text of the button depending on language) by adding a

    <span id=”skype-text”> … </span>

    in template, and adding to WordPress template a jQuery call to change that text depending on a PHP variable.

    Nice 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add template’ is closed to new replies.