• Resolved shandot

    (@shandot)


    I am wanting to make changes to the layout (mostly adding spaces and removing some parts) of the account and registry form pages that i am implementing through their shortcodes. Is this best done through copying and overwriting template files and if so how do i actually copy the files? I have SFTP access through filezilla but it isn’t allowing me to copy any templates.

    I also just wanted to mention a typo i noticed on user page account>shipping

    “Ship my gift list items to my acccountshipping address”

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nmerii

    (@nmerii)

    Please see the article https://nmgiftregistry.com/overriding-templates/ for how to copy the files. If SFTP access isn’t allowing you to copy any files it would probably have to do with the permission settings of your host. You would need to change the permissions on the files you want to copy.

    Thanks for pointing out the typo. I have changed it and would be releasing the right string in the next update.

    Thread Starter shandot

    (@shandot)

    Thanks! Was able to copy the files and can now edit them within my theme but they aren’t overriding the templates.

    Where in my theme am i putting the nmgr_theme_path. filter? I have tried copying it to my functions.php and page.php but neither have worked

    Plugin Author nmerii

    (@nmerii)

    You don’t need to use the nmgr_theme_path filter except if you want to change the name of the folder in your theme where you want to copy the template files to. And if so, you can put it in your functions.php.

    Can you show me the full filepath of the template file you are trying to copy in your theme’s folder?

    Thread Starter shandot

    (@shandot)

    Right, thanks for clarifying!

    Templates original file path:
    wp-content/plugins/nm-gift-registry/templates/account

    Theme paths i’ve tried:
    wp-content/themes/blank-canvas/nm-gift-registry/account
    wp-content/themes/blank-canvas/nm-gift-registry/templates/account
    wp-content/themes/blank-canvas/plugins/nm-gift-registry/account
    wp-content/themes/blank-canvas/plugins/nm-gift-registry/templates/account

    Plugin Author nmerii

    (@nmerii)

    The first path you used is okay wp-content/themes/blank-canvas/nm-gift-registry/account.

    As it seems you are using the pro version of the plugin, please send me a message to contact@nmgiftregistry.com so that I can provide you with support properly.

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

The topic ‘Editing account pages’ is closed to new replies.