A lot of times when building a site or theme with WP User Manager, you will want to customize the template of the like button or the profile tab likes content. Luckily WPUM allows you to do this and it’s very easy to do.
First of all, you should learn how the template system works. Read more information in this article:
Now that you learned how to override the templates, we will have a look at which templates are used by the user directory.
The button.php file, is the template file responsible for rendering the Likes button and showing the current count of likes. The structure of the HTML is an anchor with a specific class and data attribute, as well as child span elements with classes, both will need keeping in any custom HTML your write.
Profiles Tab Content
The likes.php file, is the template file responsible for rendering the liked content of a user on their profile page.
Get Started with the Best WordPress Membership Plugin Today
Connect, Manage and Build your Membership Site