Any Wordpress 3 Pros in here?

Associate
Joined
21 Oct 2008
Posts
1,679
Location
Mooching... in your house
Really quick question, been playing with custom post types, which seem really powerful however I could really do with adding a second content block to one..

I'm imagining the output to be something like:

Code:
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

<div>
  <?php the_content(); ?>
</div>

<div>
  <?php the_content_2(); ?>
</div>

<?php endwhile; ?>

Know what I mean? I can't see a way when constructing the custom type in the functions.php file to create this extra content block to show up in the admin...

Any ideas? surely its a very common thing to need to do? most sites have multiple content areas...
 
Or even just proper custom areas without using "custom fields" so if I was adding a book I might want a specific textbox for "ISBN" and "Author" but only for that custom post type... Surely theres a way?
 
Hmm, I used custom fields. That content is probably right at the core of the application, I don't know how easy it would be to add another.

Would it not change the DB too?
 
yeah I register them using register_post_type() in functions.php...

can't see on that pages where it mentions about this kinda stuff tbh :(
 
Back
Top Bottom