Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

media-settings

WP is showing wrong image dimensions

August 6, 2022 by Magenaut

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

Categories Q&A, Wordpress Tags images, media, media-settings, post-thumbnails, thumbnails Leave a comment

Different upload directory based on post type in a theme

August 4, 2022August 3, 2022 by Magenaut

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.

Categories Q&A, Wordpress Tags media-settings, uploads Leave a comment

Post type specific upload folder in 3.5

August 3, 2022August 2, 2022 by Magenaut

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?

Categories Q&A, Wordpress Tags media-settings, uploads Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress