Title: Simple Progress Bar with custom fields
Last modified: August 21, 2016

---

# Simple Progress Bar with custom fields

 *  [comprido](https://wordpress.org/support/users/comprido/)
 * (@comprido)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simple-progress-bar-with-custom-fields/)
 * Credit for: [http://honorless.net/progressbar.htm](http://honorless.net/progressbar.htm)
 * // 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>’; } ?>
 * [http://imageshack.com/a/img203/6082/wn2k.png](http://imageshack.com/a/img203/6082/wn2k.png)

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

 * 0 replies
 * 1 participant
 * Last reply from: [comprido](https://wordpress.org/support/users/comprido/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/simple-progress-bar-with-custom-fields/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
