wp-user-frontend icon indicating copy to clipboard operation
wp-user-frontend copied to clipboard

The frontend individual user dashboard shortcodes is not rendering the output.

Open mmarj opened this issue 2 years ago • 2 comments

How to reproduce:

  1. Use the shortcode on a page and see the output.
  2. 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.

mmarj avatar Jun 22 '22 20:06 mmarj

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 avatar Jun 23 '22 06:06 sapayth

@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.

mmarj avatar Jun 23 '22 11:06 mmarj