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 8926659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:01:30+00:00 2026-06-15T08:01:30+00:00

I know how to create a custom post type in WordPress. But how can

  • 0

I know how to create a custom post type in WordPress. But how can I set a layout or design of this post type?

I want to have a title, below should be a picture. Then 2 tabs. Each with different content.
See screenshot:

enter image description here

Any ideas?

Thanks

  • 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-06-15T08:01:31+00:00Added an answer on June 15, 2026 at 8:01 am

    Dave, I go with WordPress terminology: page = type of post called “page” & controlled by “page.php”. “post” = controlled by “single.php”. Custom post type = controlled by “single-yourposttype.php” (for example “single-videos.php” if your custom post type is “videos”). I suppose you want all custom posts of one type to be displayed this way, not just one single post (otherwise, there would be no point). So this is exactly what I explained how to do in my previous answer.
    For the tabs, you just have to create a tab system (maybe like http://jqueryui.com/tabs/) and adapt your template (again, your template will be single-nameofyourposttype.php). If you have prepared metaboxes to save the content for each tab in two different fields, you will use get_post_meta() (see http://codex.wordpress.org/Function_Reference/get_post_meta) to retrieve the contents for each tab.
    But maybe your difficulty is more so to prepare your custom post type admin before even worrying about displaying it. What you need is to create “meta boxes” (extra fields so you can enter different type of contents for your custom post type : here in this case: one text editor for each tab, with a possibility to upload photos, etc., just like the content area for a normal post). You can read more about creating meta boxes here : http://wp.smashingmagazine.com/2011/10/04/create-custom-post-meta-boxes-wordpress/
    or here : http://thomasgriffinmedia.com/blog/2011/07/how-to-automatically-add-meta-boxes-to-custom-post-types/
    It can look a bit overwhelming at first, but once you get the idea, everything is very easy and efficient.

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

Sidebar

Related Questions

I'm currently studying WordPress and want to create a custom Post Type and have
I want to know something about this article In order to create custom post
I know I can create custom files for specific custom-post-types Unfortunately, the method works
Not sure how to word this. I've set up a custom post type in
I'm a newbie in WordPress. I have created a custom post type for videos
I have created a wordpress custom post type. I am using custom field template
I know I can create a List<T> from IEnumerable<T> by doing myEnumerableCollection.ToList() , but
I know this is a long post, but please bear with me :) Currently
I have created a custom post type of 'portfolio' and page with a template
I've created a custom post type in WordPress, and in the single post template,

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.