Customizing the layout of private content
-
-
Patrick KlineParticipant# il y a 7 mois et 1 semaine
I just started using this plugin today and so far it has done what I want but I am just full on confusion on how to change certain aspects of the layout. For example, when a client views a file, how can I get rid of the “assigned to, author, date, category”? Another example would be either adding or taking away fields for account details and editing account information.
Thank you,
-
ThomasMaître des clés# il y a 7 mois et 1 semaine
Hello,
Customizing the frontend private area mainly relies on template. Please check our template system documentation: You’ll learn how to find the appropriate template, how to copy and edit it.
For instance, if you’d like to completely remove the top area including all the tiles, this is what you should do:
- The template file (for private files), is the following : customer-area/src/php/core-addons/customer-private-files/templates/customer-private-files-single-post-header.template.php
- It contains the whole code used to display those stats and information on top of the page. So you can override it by creating the file wp-content/customer-area/templates/customer-private-files-single-post-header.template.php and by replacing it with the content below.
Warning: please note that the path is wp-content/customer-area, and not wp-content/plugins/customer-area.
<?php /** Template version: 3.4.1 * * -= 3.4.1 =- * - Whole template deleted by user */ ?>
It is great to keep a comment block including the version number when you edit a template, so WPCA will warn if we update a template you overrided.
Another example would be either adding or taking away fields for account details and editing account information.
This part works a bit differently. You’ll need to create a custom plugin and add this code snippet.
If you’d like to add (more complex) fields, we recommend using ACF and our ACF Integration add-on, which allows adding fields to private content and registration/login/account pages.Best regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂 -
Albert SiosteenParticipant# il y a 6 mois et 4 semaines
Hi Thomas, I am also new with this plugin.
In the private area, this reference is given [customer-area-private-files /] in Elementor. And I don’t understand how Elementor will be able integrate with these files for design changes.
I also wonder if there is any YouTube clips about WPCA that could help beginners to make changes in private area design.
I have read about making skins. Is there any free skins or examples from other users that I could implement or learn from?
Or is there an ad-on that I should have that will open up the design in the private area?
(I use Astra theme and Elementor.)
I am not a programmer!
Thank you!
-
ThomasMaître des clés# il y a 6 mois et 3 semaines
Hello,
I also wonder if there is any YouTube clips about WPCA that could help beginners to make changes in private area design.
You could find a few community clips on Youtube related to WP Customer Area, but I don’t think you’ll find tutorials specifically related to layout customization.
Customizing your private area is like customizing a WordPress theme. This rely on editing some templates, tweaking the CSS rules, and playing around with hooks and filters. We cannot provide full courses about this since we’re just following the WordPress development principles, but you could take a look at our template system documentation, our code snippets documentation, our code snippets examples, and ask there about anything you’d like to edit, so we could advice about the best approach.
I have read about making skins. Is there any free skins or examples from other users that I could implement or learn from?
Not from the community. The design extras add-on is actually including a dozen of skins. But I don’t recommend you to create a skin, it would not be the best approach, especially if you are not a programmer. This is definitely a way that require development skills.
Or is there an ad-on that I should have that will open up the design in the private area?
What do you mean by “open up the design”?
Do not hesitate to give precise examples about what you’d like to edit, what you’d like to do, and I could give advices.
Also, please create your own support topic.
Regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂
-
-
You must be logged in to reply to this topic.