Class on 5.7.13

Today we are going to do two things.

At the beginning of the class we are going to go over using Custom Fields to show bio information on the subject of the articles. Then in the second half you will review each other’s progress against the project requirements.

Custom Fields

Custom fields allow you to enter specific information along with the normal post content. You can then pull out this information in your template. Here is the codex page on Custom Fields:

We will also use get_post_meta() to retrieve the information. Here is an (unfinished) example:

<?php  if((get_post_meta($post->ID, "bio", true))) { ?>
	<div id="bio">
		<?php echo get_post_meta($post->ID, "bio", true); ?>		
<?php } ?>

Partner Progress Evaluation

Using the Final Requirements, go over where each of you are in relation to the requirements. Help each other out with things you are unsure about or need work on.

Leave a Reply