Template overwrite not working for basement
-
Hi, we use your plugin for one of our customers, and we have to customize your template. So we create a single-boat.php in our theme and customize it. That works good.
Now the bad news. The customization of the single-basement.php does not work. Your plugin check not if the single-basement.php exists, it checks for a basement-boat.php. When we create a basement-boat.php and customize it, the WordPress template hierarchy redirect to your single-basement.php and our customization did not work.
So in your plugin under includes/custom/template.php you should change line 10 and check for single-basement.php and not basement-boat.php then the customization works.
The topic ‘Template overwrite not working for basement’ is closed to new replies.