• Resolved davidcthomas

    (@davidcthomas)


    I have WP installed on Heroku, so the only way to get the theme installed is to git push the theme folder. For images, I also need to git push them, I believe, since when I bounce the site, any uploaded images get stomped by Heroku. What folder under the theme to uploaded images go in?

    Thanks,
    Dave

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hardeep Asrani

    (@hardeepasrani)

    Hi,

    They go inside /images/ directory, as you can see here: https://themes.svn.wordpress.org/zerif-lite/1.6.0/images/

    Regards,
    Hardeep

    Thread Starter davidcthomas

    (@davidcthomas)

    I’ve git pushed them to <wp dir>\wp-content\uploads\20153 and they stay intact across Heroku redeployments (thanks to git). Are you sure the uploaded user content (logo, big background, team photos) go to the images dir? I see the bg file in your images dir, but overriding this with an upload puts them to the uploads dir.

    Thanks for a great theme!

    Dave

    Thread Starter davidcthomas

    (@davidcthomas)

    One other thing I’ve noticed is that the files I upload get a “1” appended to their filenames, so I actually need to git mv to rename the originals. Not sure why that is happening.

    Hardeep Asrani

    (@hardeepasrani)

    Hi,

    Because those images are default, and are customizable using Customizer and Widgets. I have 0 experience with Heroku, but as you can see in the link I gave – those images go to /images/ dir. 🙂

    Regards,
    Hardeep

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Heroku install of Zerif theme: What folder to uploaded pictures go in?’ is closed to new replies.