Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

conditional formatting for custom post types


  #1  
Old Feb 22, 2011, 09:15 AM
titaniumbones
 
3 posts · Feb 2011
conditional formatting for custom post types

Hi,

I'm trying to create a template for use with a custom post type, developed with the custom content type manager plugin. The new type is "people", and I'd like to include an image, contact info, and various other things in a table just before the post body (which will be a description of the person). All that content will be managed with custom fields and a php function that the plugin provides, get_custom_field().

My problem is that I can't figure out where to insert all this stuff. I'd like to do as little damage to the atahualpa theme as possible -- that is, *if possible*, still use the bfa://content_inside_loop from within index.php, and insert the conditional formatting I guess somewhere in the "Style & Edit CENTER COLUMN". Does this sound difficult? An alternative is to create a single-people_cctm.php file in which I replace this line from index.php:
<?php include 'bfa://content_inside_loop'; ?>
with my own html/php. If I do that, what should I take as my starting point for the template to keep these pages as much in line as possible with the rest of my text? Or, I guess I mean, "what does bfa://content_inside_loop" refer to, exactly?

Thanks for an incredibly rich and fascinating theme. I'm really enjoying getting to know it. Best,
Matt

Bookmarks

Tags
custom post type

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show Custom Post Types in Atahualpa? GreenCoast Center area post/pages 2 Feb 15, 2011 03:46 PM
Feature Request: option settings for custom post types (WP 3.1) webalyst New Versions, & Updating 0 Jan 4, 2011 02:56 PM
Page formatting different then post formatting Old Stevenick Atahualpa 3 Wordpress theme 7 Nov 28, 2010 07:21 PM
[SOLVED] Formatting custom links in header jlampka Page & Category Menu Bars 4 Oct 2, 2009 02:27 AM


All times are GMT -6. The time now is 10:59 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.