The MU forums have moved to WordPress.org

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

  1. chicoi08
    Member
    Posted 13 years ago #

    http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/
    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 http://saktolang.com.

    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