Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6959859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:19:40+00:00 2026-05-27T15:19:40+00:00

My custom post type is for describing companies. Each post will require 4 images

  • 0

My custom post type is for describing companies. Each post will require 4 images of specific type and size:

  • Logo: 100 x 100
  • Banner: 300 x 150
  • Action image 1: 600 x 400
  • Action image 2: 600 x 400

I’d like to simply store the files in a directory structure like this underneath wp-content somewhere and bypass or improve on the media upload dialog:

/orgs
   /good-deeds-inc
      /logo.jpg
      /banner.jpg
      /action1.jpg
      /action2.jpg
   /stout-heart
      /logo.jpg
      /banner.jpg
      /action1.jpg
      /action2.jpg

In creating the display and edit template, the attachment relationship would be assumed. I’d write a function that looks for the images in the expected place (plug of the custom post title). If not found a placeholder would be selected.

I like the simplicity for the person charged with gathering images. Simply put them in the proper directory.

My question is whether this simplification might lead to problems down the road. Perhaps there is a plug in that allows easier upload and management.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:19:41+00:00Added an answer on May 27, 2026 at 3:19 pm

    There is a plugin that assigns one image to a custom post type: custom post type image.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Custom Post Type and I am going to customize it to
I have created a custom post type of 'portfolio' and page with a template
I am using a custom post type in my wordpress theme, and I need
So I've just made a custom post type for my wordpress theme named Products.
I'm trying to output a custom post type but nothing shows up. The code
I observed that if I have a custom post type called article, the links
I am using WordPress 3, and I created a custom post type called article,
I have a custom post type called song and i want to query the
I've created a custom post type and a custom taxonomy to go with it.
I have setup a custom Post Type in WordPress and have a question. How

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.