Home Forums Newsletter Plugin Support Custom themes and social

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17058
    gruppo_sgr
    Participant

    ENGLISH:
    Hi,
    I’ve created two custom themes (contained in “/extensions/newsletter/emails/themes”). I need to place custom social icons on the footer. The once way to do that is editing the “default” theme (contained in “/plugins/newsletter/emails/themes”): “social.php”, “social-options.php”, “social_main.php” and customized icons.

    The problem is that everytime I upgrade the plugin I lose my edits.
    How can I do?

    Many thanks,
    G.

    ITALIANO:
    Buongiorno,
    ho creato due template personalizzati (contenuti in “/extensions/newsletter/emails/themes”). Ho dovuto modificare i riferimenti social (icone comprese) nel footer. L’unico modo è stato quello di lavorare sul template “default” (contenuto in “/plugins/newsletter/emails/themes”). Ogni volta però che aggiorno il plugin perdo tutte le modifiche (e devo ricaricare i file modificati subito dopo l’aggiornamento).
    Come posso fare?

    Grazie mille,
    G.

    #17064
    Stefano
    Keymaster

    Hi, if you create a custom theme, just add the social icon in a static way, you probably don’t need to use a configurable block. If you need it to be configurable you cannot change the original plugin files, you should create your own.

    Plugin files are always replaced by wordpress on updates.

    More, a custom theme must be added to a different folder: see the plugin documentation about custom themes.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.