Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Progress bar plugin

@nahummadrid

Participant

@nlvp this is as far as I got…the goal number would have to be created manually instead of user being able to just enter it into a preset custom field. They’d have to make a custom field called Goal and enter the number.

`

<?php
$args = array_merge( $wp_query->query, array( ‘post_type’ => ‘post’, ‘post_author’ => $bp->displayed_user->id,
‘post_status’ => ‘draft, pending’, ‘order’ => ‘DESC’, ‘posts_per_page’ => 1 ) );

query_posts($args);
?>

  • /*This will show the current word count of the listed post */
    post_content));?>

    /*This next piece is what I haven’t accomplished fully, it is supposed to show a custom field designated “goal” */

    ID, “goal”, $single = true); ?>

`

place this in your member header. should work. maybe someone else can refine it for you and add that visual graphic progress bar. Also this is if your members are authors on the main site and that’s where the posts are.

Skip to toolbar