The MU forums have moved to

Custom fields and WordPress MU Sitewide Tags Pages plugin (1 post)

  1. chicoi08
    Posted 13 years ago #
    I created a theme for my bloggers that will allow them to add a certain Information using a custom field or meta_boxes.

    In the WordPress MU Sitewide Tags Pages plugin, I set the new posts to appear on the main blog.
    you can see it here

    I also see in the admin option the field named "Post Meta"

    So how can I use this? I tried to add the name of the post meta. now my problem is how can I echo out the value?

    I used this to echo it out on the main blog but it seems that nothing is inside the value.

    <?php $data = get_post_meta( $post->ID, 'key', true ); $sprice = $data[ 'price' ]; echo "Php " . number_format($sprice, 2, '.', ',');?>

About this Topic

  • Started 13 years ago by chicoi08