• Resolved khubaib927

    (@khubaib927)


    Hello, I am working on a Custom Directory website that uses a child theme. I am writing my own code for Users Profile Page template. I want to know if there is a way to edit the template by adding code to child theme instead of adding it to the plugin directly because if plugin is updated all my code will be lost. That is why I want to keep my code in child theme. Let me know if there is any documentation/hook or anything that allows me to edit the template from child theme.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @khubaib927,

    How to override the WPUF template file?

    There is a way to override the WPUF template file by adding custom code to the child theme.

    To override the plugin, you can follow this blog. All procedures are the same.

    Hope this will help.

    Thread Starter khubaib927

    (@khubaib927)

    Hello, thank you for your quick response. I know how to edit the template using Child theme but I am unable to find the template for Single Profile view. Can you please let me know the complete path of single profile view template?

    FYI: The link of single profile view is in my previous thread.

    To get a single profile view template file path have a look following directory:

    wp-content/plugins/wp-user-frontend/templates/dashboard/edit-profile.php

    wp-content/plugins/wp-user-frontend/templates/dashboard/list.php

    Hope this will help!

    Thread Starter khubaib927

    (@khubaib927)

    Hello, I want to create custom profile page as I sent you the link. For now I am directly editing the plugin files. I would like to edit it from child theme. The 2 paths you sent are Edit Profile I think that is the page from where user can edit his profile and second template lists the main directory.

    I need path for the single profile view template. The path to this template: https://bundleovjoy.com/directory/?tab=file&user_id=1

    I also need know the way to edit it using custom child so I add all my custom code there.

    I hope my explanation is clear now.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Customize Profile Template from Child Theme’ is closed to new replies.