WordPress.org

Ready to get started?Download WordPress

Forums

Customer Area
[resolved] Private page short code (6 posts)

  1. kimso
    Member
    Posted 9 months ago #

    Hi, I have a question, let's see if someone can answer it...

    There's some short code as [customer-area] to load all the user private files in a private page?

    It will work as [customer-area] but only loading files and ignoring pages.

    Thanks

    http://wordpress.org/extend/plugins/customer-area/

  2. Vincent Mimoun-Prat
    Member
    Plugin Author

    Posted 9 months ago #

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

  3. kimso
    Member
    Posted 9 months ago #

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

  4. Vincent Mimoun-Prat
    Member
    Plugin Author

    Posted 9 months ago #

    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\

  5. carlosgonca
    Member
    Posted 9 months ago #

    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.

  6. Vincent Mimoun-Prat
    Member
    Plugin Author

    Posted 9 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic