My company had a website developed that is entirely driven by custom fields. We're now discovering that we didn't anticipate the need for pages with custom layouts, the kinds that can be made on case by case basis in the visual editor. I have access to the site's page templates, but they all reference the custom fields. When I strip out the custom fields in a template, it doesn't retrive the content I entered in the visual editor.
I'm sure i'm missing something fundamental, but i'm not making any progress.
Example of one template:
<?php
/*
Template Name: News & Events POST
*/
get_header();?>
<style>
.nav1 li#menu-item-138 a{color: #F15C25;font-weight: bold;}
</style>
<div class="contents">
<div class="left_bar1">
<ul>
<?php wp_nav_menu( array( 'container' => false, 'menu' => 'left_news' , 'menu_id' =>'nav', ) ); ?>
</ul>
</div>
<div class="year_box">
<div class="box1">
<?php $box1=get_post_custom_values('box1'); echo $box1[0];?>
</div>
<div class="box2">
<?php $box2=get_post_custom_values('box2'); echo $box2[0];?>
</div>
<div class="box3">
<?php $box3=get_post_custom_values('box3'); echo $box3[0];?>
</div>
</div>
<div class="clear"></div>
</div>
<?php get_footer();?>