I am trying to: display CRED new post form inside view wpv-items-not-found when no results are found
Link to a page where the issue can be seen: versteckter Link
I expected to see: the new post form as the vie have no results
Instead, I got: Just a message that there are no results found
I created a view that allow users to see one post they created for the post type.
in this view I would like to show the create new post form if the user never created the post before. to do that i want to leverage the [wpv-no-items-found] short code but for some reason this is not working.
if the user already created the custom post it will display with the edit post form (this part is working)
The view filter is set to show only one post the user is the author of (see enclosed screenshot)
I use the following short code in the view:
[wpv-no-items-found]
[cred_form form='calculate-net-worth' form_name='Calculate Net Worth'] // this is not working the new post form not display
//the lines below works just fine
<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
You have not submited your Net Worth analysis.
<a href="<em><u>versteckter Link</u></em>">Start your Net Worth Anlysis now!</a>
[/wpv-no-items-found]
Please advise,
thanks,
David
Dear David,
I can not duplicate same problem, please check these in your website:
1) Since you are using Access plugin, you will need to make sure the users can access to the CRED form "Calculate Net Worth", more help:
https://toolset.com/documentation/user-guides/access-control-for-cred-forms/
2) In case there are other compatibility problem in your website, please deactivate other plugins and switch to wordpress default theme, and test again
3) If the problem still persists, please provide a database dump file(ZIP file) of your website in below "private detail box", I need to duplicate same problem and debug it in my localhost, thanks