Add category column
Author | Posts |
---|---|
September 3, 2013 at 8:43 pm 7764 | |
Marie-Hélène | How to add category column in frontend dashborad? I would like to display the category name for each post on user's dashboard. I've read http://docs.wedevs.com/adding-columns-to-dashboard-table/ but I'm very new to PHP so it would be great if I get the required codes. Is it possible to separate the post-list on dashboard month or year wise as per created/modified date of the post or at least display another column with date? |
September 5, 2013 at 12:49 am 7802 | |
Tareq Hasan | You can use the same exact code from there. Just one modification is needed. Instead of showing this following code in the 2nd function: Use this following code: Whole code (with created date): add_action( ‘wpuf_dashboard_head_col’, ‘wpufe_dashboard_change_head’ ); function wpufe_dashboard_row_col( $args, $post ) { add_action( ‘wpuf_dashboard_row_col’, ‘wpufe_dashboard_row_col’, 10, 2 ); |
September 5, 2013 at 4:06 pm 7826 | |
nabharoy | Thank you very much Tareq… it’s working fine…. |
November 8, 2013 at 3:46 am 9845 | |
Marie-Hélène | Hi There! |
November 8, 2013 at 3:49 am 9846 | |
Marie-Hélène | Oh.. I just get it! |