Support » Plugins » Simple Progress Bar with custom fields

  • Credit for:

    // Progress-bar through custom field progress-bar
    <?php $values = get_post_custom_values(“progress-bar”);
    if (isset($values[0])) {
    $values = get_post_custom_values(“progress-bar”);
    echo ‘<div style=”margin: auto; text-align: center; width: 120px;” title=”120px”><div style=”text-align: left; margin: 2px auto; font-size: 0px; line-height: 0px; border: solid 1px #000000; background: #AE12DD; overflow: hidden; “><div style=”font-size: 0px; line-height: 0px; height: 15px; min-width: 0%; max-width: ‘.$values[0].’; width: ‘.$values[0].’; background: #E3A2EB; “><!—-></div></div><div style=”font-size: 8pt; font-family: sans-serif; “>’.$values[0].'</div></div>’;
    } ?>

  • The topic ‘Simple Progress Bar with custom fields’ is closed to new replies.