Forums

custom field plugins for post templates (6 posts)

  1. achurch27
    Member
    Posted 3 years ago #

    I'm building a site for a client who is a broker of various types of vehicles. There will be three categories of vehicles, and the listings must include an image gallery and specifications unique to each different vehicle type (category) It will be somewhat similar to a real estate-type setup.

    My problem is this: I've spent 2 days researching various custom field plug-ins to create these category post templates (i.e., More Fields, Magic Fields, Flutter, Custom Post Template, etc.) and now I'm really confused. Some don't work with 2.9, some are redundant, some require too much code manipulation or the documentation is completely inadequate. I need something down and dirty that, once the post template is created, he will be able to easily pass off to his office admin to enter/change/delete individual listings (posts) on a daily basis.

    Any recommendations?

  2. MichaelH
    Member
    Posted 3 years ago #

    Just use Category Templates. Custom Post Templates would only be necessary if you wanted each and every post to have a unique Template. More Fields, Magic Fields, and Flutter just makes it easier to manage custom fields on your write post screen.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

    Note: just to confuse you more but if you are using custom fields I like http://wordpress.org/extend/plugins/custom-field-taxonomies/ to help user navigate posts in particular custom fields. And for search http://wordpress.org/extend/plugins/wp-custom-fields-search/

  3. achurch27
    Member
    Posted 3 years ago #

    I've tried both the Magic Fields and Custom Write Template plugins (the latter doesn't even show up in my write panel). Magic Fields will do what I need, however, for some reason I have both the Magic Fields write panel and the default custom write panels showing now. Needless to say, it would be confusing to the end user. Also, both are showing up in the post as well. Is there some way to turn off the default custom write panel?

    On a related note, the meta data in the post displays the key (with underscores) as opposed to the label on the page. I'm using the script exactly as shown on the Magic Fields site (see below):

    <?php the_meta();?>
    	<ul class='post-meta'>
    
    <li><?php echo get( 'Monthly Payment'); ?></li>
    <li><?php echo get( 'Model'); ?></li>
    <li><?php echo get( 'Brand'); ?></li>
    <li><?php echo get( 'Mileage'); ?></li>
    <li><?php echo get( 'Color'); ?></li>
    <li><?php echo get( 'Origin'); ?></li>
    <li><?php echo get( 'Equipment'); ?></li>

    Any help would be great!

  4. mrmist
    Forum Janitor
    Posted 3 years ago #

    For info if you want to post code in here please surround it with back ticks by pressing the "code" button before and after it.

  5. achurch27
    Member
    Posted 3 years ago #

    thanks

  6. achurch27
    Member
    Posted 3 years ago #

    On an update to this problem, I figured out how to turn the default write panel off on the dashboard, but I'm still getting both arrays showing up on the page - the Magic Fields panel and the default panel. And the Magic Fields panel has no labels. I'm wondering if I should just hardcode them on the page.

    Please, if anyone here knows anything about Magic Fields and could help. Their support form is no longer in operation and I've tried contacting them to no avail.

    The page in question is:

    test bike page

Topic Closed

This topic has been closed to new replies.

About this Topic