branches/staging/ is most up-to-date: 2.5.11d2. Per WordPress guideline, “trunk/ should contain the latest version of your code, even if that version is a beta.” See https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/#use-the-trunk-folder-for-code = Moved files = Two documentation files are moved from development/ to the root folder: - customized-template-stack.txt - customized-documentation-schema.txt = Deleted files and folders = Part of the tooling and the duplicate license were mistakenly included and are now removed from distribution: - development/csscat.sh - contrib/pre-commit - composer.json - composer.lock - LICENSE The comments shall be updated accordingly. development/csscat.sh is now _tools/build-stylesheets.sh, available in Footnotes’ GitHub repo. git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2495062 b8457f37-d9ea-0310-8a92-e5e31aec5664
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
customized-template-stack.txt
|
|
@date 2020-12-19T0609+0100
|
|
@lastmodified 2021-02-15T2027+0100
|
|
|
|
|
|
Plugin Footnotes for WordPress, v2.5.3 and later
|
|
|
|
|
|
A. Customized template parts
|
|
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
|
|
|
@since 2.2.6 Adding: Templates: support for custom templates in sibling folder, thanks to @misfist issue report.
|
|
@since 2.5.0 Adding: Templates: Enable template location stack, thanks to @misfist code contribution.
|
|
|
|
|
|
Priority order:
|
|
1. active theme
|
|
2. sibling folder
|
|
3. internal
|
|
|
|
See footnotes/class/template.php:67..116
|
|
|
|
|
|
1. Active theme
|
|
‾‾‾‾‾‾‾‾‾‾‾‾
|
|
Please create a folder 'templates/footnotes/' in your child theme and
|
|
store all your public custom templates for Footnotes directly therein.
|
|
|
|
Existing homonymous templates are loaded instead of their counterparts in
|
|
wp-content/plugins/footnotes/templates/public/.
|
|
|
|
|
|
2. Sibling folder
|
|
‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
|
Please make a sibling of the "footnotes" folder called 'footnotes-custom' and
|
|
the same internal structure and file names as 'footnotes/templates/public/'.
|
|
|
|
Example for custom tooltips:
|
|
|
|
footnotes-custom
|
|
└── templates
|
|
└── public
|
|
├── footnote.html
|
|
└── tooltip.html
|
|
|
|
Note: The timing parameters in the inline jQuery script 'tooltip.html' are already
|
|
configurable in the dashboard > Referrers and tooltips > Tooltip timing.
|