Re: Tutorial to remove the "Price" field.
(perform at your own risk, i just threw this together)
just quickly, it'd probably involve opening post-form.php and commenting out the following:
<label for="price"><?php _e('Price','cp'); ?> <span>*</span>
<?php _e('(do not enter currency symbol)','cp'); ?></label>
<input type="text" id="price" class="adfields" name="price" size="60" maxlength="100" value="<?php echo $_POST['price']; ?>" />
then opening form_process.php and removing price as a mandatory field.
Find this:
if ($post_title == "" || $post_cat == "" || $price == "" || $location == "" || $name == "" || $email == "" || $description == "") {
and replace with this:
if ($post_title == "" || $post_cat == "" || $location == "" || $name == "" || $email == "" || $description == "") {
------------------------------------------------------------------------
now price column needs to be removed from index.php
so in index.php, remove or comment out these:
<span class="price">
<?php _e('Price','cp'); ?>
</span>
AND
<span class="price"><?php echo get_option('currency'); ?><?php echo get_post_meta($post->ID, "price", true); ?></span>
--------------------------------------------------------
DO THE EXACTS SAME IN SEARCH.PHP AS YOU DID IN INDEX.PHP
------------------------------------------------------------
then open single.php comment out:
<div class="prices"><?php echo get_option('currency'); ?><?php echo get_post_meta($post->ID, "price", true); ?></div>
alternatively some of the above could be done with "display: none" for the respective class or id within master.css and your chosen color.css
you'll probably need to adjust some css stuff to make everything look ok.
you can keep the tenner