Templating files and paths
-
Greetings, Great plugin!
I have a question about templating, as described in the advanced usage section of the plugin page. It indicates that I can create a copy of a plugin file within my active theme which will override the file in the plugin folder, providing I “keep the directory structure in the plugin”. The example provided is:
THEME_PATH/plugins/totally-booked/loops/gallery.php
However, the actual path for gallery.php in my plugins folder is:
PLUGIN_PATH/totally-booked/templates/loops/gallery.php
Is this simply a matter of the plugin directory structure having been updated since the Plugin page was written, or should I be eliminating the
/templates/
portion of the path when re-creating it in my theme folder?Related to this: I am attempting to modify the layout of the content produced when the
[tb_book id="95"]
is used within a page (specifically, I wish to move the “Buy Now” button to make better use of the content area). Am I correct that it is the/loops/single_book.php
that I should edit?Thanks!
HB
- The topic ‘Templating files and paths’ is closed to new replies.