[customer-area] shortcode should be placed within a standard WordPress page, accessible to everybody.
Customer private pages should be created using the “private pages” item under the customer area menu. Those are *not* standard WordPress pages.
Hi Vincent,
What I want is to list all private files from a user in a private page.
I don’t know if it’s possible…
For example, I’ve a private page called manuals, and in this private page I want to list all files with the private category Manuals.
Or in another way, I want to create a private page to list all the private categories and files that can acces the user…
Ok. I understand. You mean outside of the usual Customer Area page/shortcode?
If that is the case, there is no such option as of today.
However, that is very easy with a custom WP_Query. You can have a look at the file private-file-customer_area_user_files-category.template.php located in includes\core-addons\private-file\templates\
Why does it have category file if I can put all of them in one page? Is it not possible? I want to put all in Costumer Area Page.
Why does it have category file if I can put all of them in one page? Is it not possible? I want to put all in Costumer Area Page.
You can use the [customer-area] shortcode to get every private content listed. Also, you can choose in the private files settings how you want them to get listed (by year, by category or simply alphabetically).