Hey. I have a question. I know that it is possible to override the ExhibitBuilder plugin via the theme. I’m wondering if this is also possible for other plugins? If so, is there any documentation on how to go about doin it? Thx! --Eric
Generally you can override any plugin views the same way you override core views, by having a file in the theme at the matching path.
For a plugin, the path has to start with a plugin-name
folder, so exhibit-builder
, simple-pages
, etc., and then underneath the structure mirrors what’s in the plugin’s “views/public” folder.
Taking Simple Pages as an example, the view for a page in the plugin is at views/public/page/show.php
. In a theme you would override this with the file simple-pages/page/show.php
.
Thanks for this information! --Eric
This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.