Modal template in child theme found but not used
-
Trying to customize modal template
view-photo.php
via child theme.Copied
plugins/ultimate-member/templates/modal/view-photo.php
tochild-theme/ultimate-member/templates/modal/view-photo.php
as advised in 2.8.6 change log and modified the code there.Ultimate Member plugin Settings > Advanced > Override templates finds and lists our template:
Last update: 5. September 2024 12:01.
Core path - wp-content/plugins/ultimate-member/templates/modal/view-photo.php
Theme path - wp-content/themes/child-theme/ultimate-member/templates/modal/view-photo.php
Core version Theme version Status
2.8.6 2.8.6 Theme version up to dateBut in frontend members page that modified template from child theme is not used but the original from plugin core path.
Looks like a bug or are we doing something wrong? Please advise.
Note: Other overrides like
child-theme/ultimate-member/templates/profile.php
work fine.Besides that in the
view-photo.php
template a wrong override path is provided, thetemplates
folder seems to be missing there:<?php
/**
* Template for the modal photo
*
* This template can be overridden by copying it to yourtheme/ultimate-member/modal/view-photo.php
*
* @version 2.8.6
*/Ultimate Member 2.8.6, WordPress 6.4.5
- You must be logged in to reply to this topic.