Magenaut

Magenaut

A blog about Magento Development, Magento bug fixing, and more

Skip to content
Menu
  • Notes
  • Tutorial
  • Bug fixing
  • Extension
  • Server
  • Q&A
  • Code Solution
  • About

Tag: media-settings

Q&APosted onAugust 6, 2022

WP is showing wrong image dimensions

Several times over time I changed sizes of thumbnails WP generate when images are uploaded, always setting bigger size.

Read More
Q&APosted onAugust 3, 2022August 4, 2022

Different upload directory based on post type in a theme

I have a lot of uploaded image files and image sizes. So it would be better to organize media files into folders based on post type. I have just read this tutorial, but as I can see it works with plugins. How to change this to use in a theme?
Thanks.

Read More
Q&APosted onAugust 2, 2022August 3, 2022

Post type specific upload folder in 3.5

In 3.4 I used the following function to change image upload folder by post type.
Different upload directory based on post type in a theme
Now it doesn’t work anymore in 3.5. Do you have any idea how to replace this function in 3.5 version?

Read More

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 142 other subscribers

Recent Comments

  • anonymous on Fix libwacom9 dependency issue when upgrade Debian
  • sreedhar on Fix libwacom9 dependency issue when upgrade Debian
  • saintnick on Fix libwacom9 dependency issue when upgrade Debian
  • ranafoul on Fix libwacom9 dependency issue when upgrade Debian
  • John Fro on UFW rule from a list of IPs

Tags

ajax bash block-editor categories command-line custom-field custom-post-types custom-taxonomy customization dataframe debian dictionary django files filters functions hooks images javascript linux list matplotlib numpy pandas permalinks php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script shortcode ssh string terminal text-processing theme-development uploads users wp-admin wp-query

© Magenaut - The Magento Astronaut