Home › Forums › WoodMart support forum › WordPress Upload Directory
WordPress Upload Directory
- This topic has 5 replies, 2 voices, and was last updated 7 years ago by Artem Temos.
-
AuthorPosts
-
December 4, 2017 at 11:26 pm #27155
rjmlParticipantFirst let me thank you for the wonderful theme you’ve provided. I am working on it for 2 projects and the setup and configuration was a very smooth proccess.
I am contacting because I have a problem (which happens on both of the projects where I am running the theme) that is the upload dir.
When I switch the theme to the wordpress default theme, the upload dir is good.
When I activate woodmart theme the upload dir is always on 2017/06 folder, even if I upload it on later dates (in fact, I didn’t even had an installation on 2017/06).This only happens when I upload direct to the media.
If I do create a new post and upload direct to the post, the upload dir is fine, and it appears on the right year/month.
But on media it always goes to 2017/06 (can’t explain why).I run through the normal debug proccess.
I activate and deactivate plugins – even woocommerce.
But only when I deactivate the theme and activate wordpress default theme is that uploading to media makes it to right directory.Can you verify, please?
This is urgent, as the problem arises (otherwise I wouldn’t even notice it) because we’re using Product CSV Import Suite from woocommerce, which to have csv rows link to images, we have to bulk upload (which are hundreds of images) to wordpress first.
And as we prefer an organization year/month for the uploads dir and the woocommerce CSV Import Suite plugin does need to images be uploaded on that month dir the same as CSV.Thank you and I wait for your feedback.
Attachments:
You must be logged in to view attached files.December 5, 2017 at 7:27 am #27165
Artem TemosKeymasterHello,
Thank you so much purchasing our theme and contacting our support center.
Could you please provide us your website admin access so we can test this problem on your side?
Kind Regards
XTemos StudioDecember 5, 2017 at 12:48 pm #27217
rjmlParticipantHello.
Thanks for your answer.
I have prepared a clean installation with the current wordpress version + your theme version + required plugins and dummy content.
This installation doesn’t have any additional custom code, neither additional – non-required plugins.
You can test, that when uploading via media, the images always go to the same old folder.
While when switching to TwentySeventeen theme, and trying the upload, the images goes to the right current month folder.When installing clean, I did tests at each stage, and I found out that:
– if I activate theme with theme plugins, and before importing dummy content, I tested the upload and it went to right folder: 2017/12
– after I download dummy content (which also downloads images – some of them goes to folders 2017/06), then after this (before no dummy version selected) it stops working. Images upload to media goes to 2017/06 folder :(.Information for access is in private content.
Thanks in advance.
December 5, 2017 at 3:25 pm #27269
Artem TemosKeymasterHi,
We found that it is somehow caused by our custom sidebars functionality. We will try to find some solution to this in our future updates. For now, you can simply comment or remove this code http://prntscr.com/hjffcu in the file
woodmart/inc/theme-setup.php
December 5, 2017 at 4:17 pm #27284
rjmlParticipantHello.
Yes. That seems to solve it.
Commenting out those lines, I can already upload images to the right folder.Just to question.
Thanks so much.I’ll let know here, if something changes, but for now I think it is solved.
December 5, 2017 at 9:40 pm #27313
Artem TemosKeymasterHi,
OK, contact us if you will notice any additional issues with this question.
Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register