wp-user-frontend
wp-user-frontend copied to clipboard
The frontend individual user dashboard shortcodes is not rendering the output.
How to reproduce:
- Use the shortcode on a page and see the output.
- You will have only the content without the post/custom post list.
Doc ref- https://wedevs.com/docs/user-dashboard/
I tried with these shortcodes, but none of these works.
[wpuf_dashboard]
[wpuf_dashboard post_type="post"]
[wpuf_dashboard post_type="product"]
You can try it on your local site to replicate the same. Kindly make sure you have cross-checked the mentioned shortcode parameter (see doc) as well.
Expected behavior: It should render the output, and the parameters/sorting should work as usual.
As I mentioned a while ago, the shortcode name [wpuf_dashboard]
is a little misleading. It shows only the posts
by the mentioned post_type
of the logged-in user. Something like this.
The screenshot you provided is generating the dashboard section of the shortcode [wpuf_account]
I believe.
@sapayth Bhai, Please disregard my Dashboard listing output render issue. I found a conflict in my local site, causing the problem. It's working fine with the plugin. We need to work on the parameters.
I have checked below:
- [ ] Passing multiple post type (
[wpuf_dashboard post_type="post, product"]
) simultaneously is mixing the post/CPT lists inside a single table list. It should display the post-list table with two individual entities (like this Dashboard). - [ ] Passing meta parameter (
[wpuf_dashboard meta="text, textarea"]
) is not showing the output - [ ] WP_Query support parameter like "category__in" (
[wpuf_dashboard post_type="product"category__in="hoodies"]
) is not rendering the output.
Let me know if you need further information.