Advanced Footnotes lets you add footnotes on articles via shortcodes.
高级脚注使您可以通过简码在文章上添加脚注。
Advanced Footnotes is is extremely customizable, therefore it can be implemented on any theme.
高级脚注非常可定制,因此可以在任何主题上实现。 p>
With its internal functions, you can also implement Advanced Footnotes on your own theme in any form you like.
凭借其内部功能,您还可以按照自己喜欢的任何形式在自己的主题上实现高级脚注。 p>
Main Features:
主要功能: p>
- Easy & flexible implementation.
- 轻松灵活的实施方式。 li>
- Implemented WYSIWYG editor button.
- 已实现的所见即所得编辑器按钮。 li>
- Footnotes can be implemented with shortcode or function.
- 脚注可以使用简码或功能实现。 li>
- Animated scroll effect (can be disabled)
- 动画滚动效果(可以禁用) li>
- Lightweight CSS (can be disabled)
- 轻量级CSS(可以禁用) li>
- Custom CSS styling
- 自定义CSS样式 li>
- Dynamically changeable interface options (JS can be fully disabled)
- 可动态更改的界面选项(可以完全禁用JS) li>
ul>
Usage
用法 p>
Inserting a Footnote:
插入脚注: h3>
In order to insert a footnote, you can either use the “Insert Footnote” button added on your WYSIWYG editor, or use the [footnote]your-footnote-here[/footnote] shortcode.
要插入脚注,您可以使用所见即所得编辑器中添加的“插入脚注”按钮,也可以使用[footnote]您的脚注此处[/ footnote]短代码。 p>
Shortcode Parameters:
简码参数: h3>
“type”: Determines the type of the reference.
“类型”: em>确定引用的类型。 Options: numeric / non-numeric.
选项: strong> 数字 em> / 非数字 em>。 p>Listing Footnotes:
列出脚注: h3>
You can display the footnotes in two methods:
您可以通过两种方法显示脚注: p>
Listing by Shortcode:
按简码列出: h3>
By simply inserting the [footnotes] shortcode in your post content, you can display footnotes wherever you want in your posts.
只需在帖子内容中插入 [脚注] em>短代码,就可以在帖子中的任何位置显示脚注。 p>Shortcode Parameters:
简码参数: h4>
“title”: Determines the title for the footnotes list.
“标题”: em>确定脚注列表的标题。Default value can be set through plugin settings.
可以通过插件设置来设置默认值。 p>
Shortcode Usage:
简码用法: h4>
[footnotes title="My Custom Footnotes Title"] [footnotes title =“我的自定义脚注标题”]// or
// 要么
[footnotes title="false"]
[脚注title =“ false”]
code> pre>
Listing by Theme Inclusion:
按主题包含列出: h3>
You can print the footnotes by calling print_refs function from the advanced_footnotes class.
您可以通过调用advanced_footnotes类中的 print_refs em>函数来打印脚注。 p>Simple Function Usage:
简单功能用法: h4>
call_user_func(array('advanced_footnotes', 'print_refs')); call_user_func(array('advanced_footnotes','print_refs'));;
code> pre>
Additional Parameters:
其他参数: h4>
- First parameter: “Print”, whether print or return the footnotes content.
- 第一个参数:“打印”,是打印还是返回脚注内容。
(Default: “true”)
(默认:“ true”) li>
- Second parameter: “Title”, determines the title for the footnotes content.
- 第二个参数:“标题”,确定脚注内容的标题。
(Default: “false”)
(默认:“ false”) li>
ul>
Function Usage with Parameters:
带参数的功能用法: h4>
$footnotes = call_user_func_array(array('advanced_footnotes', 'print_refs'), array(false, 'Custom Footnotes Title'));Plugin Options:
$ footnotes = call_user_func_array(array('advanced_footnotes','print_refs'),array(false,'Custom Footnotes Title')); 插件选项: h3>
code> pre>
You can access the plugin options through “Options/Advanced Footnotes”.
您可以通过“选项/高级脚注”访问插件选项。 p>
code> pre>
Non-numeric Anchor:
非数字锚点: h4>
code> pre>
References:
参考文献: h3>
Non-numbered references are listed before the numbered references on the list.
未编号的参考文献在列表中的编号参考文献之前列出。 p>
<!-主容器->