• The theme-directory is not a good place to put files in for customization.

    How/where do I change the form layout?

    The plugin will look for form template and style files in the following paths, in that priority:

    ./wp-content/themes/your-current-theme/eme-frontend-submit/
    ./wp-content/themes/your-current-theme/events-made-easy-frontend-submit/
    ./wp-content/themes/your-current-theme/emefs/
    ./wp-content/themes/your-current-theme/events-made-easy/

    All files will be deleted in case of updating the theme! For the reason one misses to keep a backup of the customized form.php and style.css all filles will be lost on the update.

    https://wordpress.org/plugins/events-made-easy-frontend-submit/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Franky

    (@liedekef)

    Indeed all changes to your theme are gone after update, but that also goes for changes to functions.php.
    The recommended way is to use a child theme.

    Thread Starter Feichtl

    (@feichtl)

    Yes, you’re right. But if you have already a well configured theme with a lot of customized widgets, generating a child theme will be a lot of work. And not every WP-User is able to handle child themes.

    On the other hand, using e.g. /wp-content/extensions/emefs/… as additional search-path for customizations are adding … two lines of code into emefs.php? 😉

    Plugin Author Franky

    (@liedekef)

    Well, in fact creating external files is not the perfect way of doing things, but for now that’s the way the plugin works.
    Since I already added the option to give your own template as a parameter to the shortcode, I could add a second option that would allow to specify if the template given is a full path or not, so then the template could go anywhere you like …
    Sounds ok to you?

    Plugin Author Franky

    (@liedekef)

    Hmmm … come to think of it, that could pose a security risk. So I’ll need to think of something else …

    Thread Starter Feichtl

    (@feichtl)

    Thanks for your efforts, but don’t worry too much about this. In the meantime i’m thinking about creating a child-/custom theme because of other circumstances.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Theme direcotry is not ideal for customizing’ is closed to new replies.