Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mmarj opened this issue Jun 22, 2022 · 2 comments
Open
Assignees
Labels

Comments

@mmarj
Copy link
Contributor

mmarj commented Jun 22, 2022

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.

@sapayth
Copy link
Member

sapayth commented Jun 23, 2022

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.

@mmarj
Copy link
Contributor Author

mmarj commented Jun 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants