Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi ,
    You would add in two files, the following.

    1) file: listing-features-metabox.php
    // bathrooms
    echo ‘<div style=”width: 90%; float: left;”>’;

    printf( __( ‘<p><label>Bathrooms (allows shortcodes):<textarea name=”wp_listings[_listing_bathrooms]” rows=”3″ cols=”18″ style=”%s”>%s</textarea></label></p>’, ‘wp_listings’ ), ‘width: 99%;’, htmlentities( get_post_meta( $post->ID, ‘_listing_bathrooms’, true) ) );

    echo ‘</div><br style=”clear: both;” />’;

    2) file: single-listing.php
    <h6 class=”label”><?php _e(“Bathroom Summary”, ‘wp_listings’); ?></h6>
    <p class=”value”><?php echo do_shortcode(get_post_meta( $post->ID, ‘_listing_bathrooms’, true)); ?></p>

    Cheers,
    Ashitsak

    You may visit my web here:
    http://www.thaipropertydd.com

Viewing 1 replies (of 1 total)