This topic contains 5 reply and 3 voices, and was last updated by Sekander Badsha 5 years, 4 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
June 20, 2014 at 11:08 am 22224
Sekander Badsha Is it possible to show the author's post comment counts on their dashboard page where frontend lists their posts? If this isn't clear ... On the user's dashboard where it lists their posts, I'd like there to be a section in between TITLE and STATUS where it can show the number of comments from other members on that user's posts. Possible? Thanks!
June 20, 2014 at 9:56 pm 22255
Oritro Ahmed Oritro Ahmed

Hello JOE,

Its obviously possible. You can do it easily if you know about wordpress codex. I can guide you through it.

Go to wpuf plugin directory. Which Should be located at WPROOT/wp-content/plugins/wp-user-frontend-pro/. There you will find a file named frontend-dashboard.php. Open it in a text editor, Better if your text editor has line numbers. Notepad++ or Sublime text will do the best.

Go to line number 109, and in the next line, add this <th><?php _e( 'Comments', 'wpuf' ); ?></th>. This is the Table Header of the WPUF Dashboard list. Then go to line number 155, in the next line, add this segment of code,

 <?php echo $post->comment_count; ?>

You should be done. For a Better understanding, I am adding image of this to code segment tothat you can understand better.

June 24, 2014 at 3:10 am 22350
Joe F Joe F

Beautiful…worked like a charm. Thanks much — awesome addition!

June 25, 2014 at 4:18 pm 22413
Oritro Ahmed Oritro Ahmed

Glad to help 🙂

August 11, 2014 at 5:20 pm 24946
Joe F Joe F


Thanks again for the prior help!

Any ideas on the code to add a “page views” column as well to the my submissions page?

August 16, 2014 at 7:05 pm 25281
Sekander Badsha Sekander Badsha

Hello Joe,
Can you give me some screenshot about what you’re trying to do?

Viewing 5 Posts - 1 through 5 (of 5 total)