Sometimes a change is applied and it needs to be reverted, or simply  the admin/collaborator wants to apply the most recent default layout for a Member Post Type on the website.


To override the current code used in a Member Post Type with the most recent default version of that code, please follow the instructions below.


1. Navigate to My Content »  Edit Post Settings in the Admin area of the website. Click on "Edit" for the Member Post Type that needs to be restored:




2. Click on the tab that corresponds to the layout that needs to be edited (only one layout can be restored at a time - the entire post type can be restored to default by restoring each individual tab to default):



3. Move to the tab where the code needs to be edited: Profile Page Design, Search Results or Page Detail and click on the View/Edit Code button.




4. Select the Member Post Type that needs to be restored. In this example,  the "Discussions" Post Type will be edited, so it's necessary to  select "Discussions" to restore this Post Type:



5. Click on the "Restore Default Code" button:



6. Click on I understand, Continue" to proceed. Once confirmed, all code in the "Page Header", "Page Loop", and "Page Footer" fields (if editing the Profile Page Design or the Search Results Design tabs) or "Page Layout" field (if editing the Detail Page Design tab) will be replaced with the latest default code available for the feature.

7. Click on "Save Changes" to apply the new code.



IMPORTANT NOTE: Following the steps above will replace all of the code above with the most recent default code, and any customizations to the code will be lost. Once this change has been saved, they cannot be reverted.


To learn How to Customize the Default Post Types Code click on this article: How to Customize the Default Post Types Code