Plugin Directory

Changeset 1885500


Ignore:
Timestamp:
06/01/2018 01:54:51 PM (8 years ago)
Author:
yutonet
Message:

Readme issue fix

Location:
advanced-footnotes/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • advanced-footnotes/trunk/advanced-footnotes.php

    r1885485 r1885500  
    33        Plugin Name: Advanced Footnotes
    44        Description: Simple yet powerful footnotes integration on your WordPress site or theme itself.
    5         Version: 0.112
     5        Version: 0.114
    66        Author: Yunus Tabakoğlu
    77        Author URI: http://yunustabakoglu.com/
  • advanced-footnotes/trunk/readme.txt

    r1885485 r1885500  
    1313With its internal functions, you can also implement Advanced Footnotes on your own theme in any form you like.
    1414
    15 #Main Features:#
     15= Main Features: =
    1616* Implemented WYSIWYG editor button.
    1717* Footnotes  can be implemented with shortcode or function.
     
    2121* Dynamically changeable interface options (JS can be fully disabled)
    2222
    23 #Usage#
     23= Usage =
    2424
    25 ##Inserting a Footnote##
     25**Inserting a Footnote:**
    2626In 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.
    2727
    28 ##Listing Footnotes##
     28**Listing Footnotes:**
    2929You can display the footnotes in two methods:
    3030
    31 ###Shortcode:###
    32 By simply inserting the **[footnotes]** shortcode in your post content, you can display footnotes wherever you want in your posts.
     31*Shortcode:*
     32By simply inserting the *[footnotes]* shortcode in your post content, you can display footnotes wherever you want in your posts.
    3333
    34 **__Shortcode Parameters__**
     34Shortcode Parameters:
    3535
    36 __"title":__ Determines the title for the footnotes list. Default value can be set through plugin settings.
     36*"title":* Determines the title for the footnotes list. Default value can be set through plugin settings.
    3737
    38 **__Shortcode Usage:__**
     38*Shortcode Usage:*
    3939
    40 ```
    41 [footnotes title="My Custom Footnotes Title"]
     40`[footnotes title="My Custom Footnotes Title"]
    4241// or
    43 [footnotes title="False"]
    44 ```
     42[footnotes title="False"]`
    4543
    46 ###Theme Inclusion:###
     44**Theme Inclusion:**
    4745
    4846You can print the footnotes by calling print_refs function from the advanced_footnotes class.
    4947
    50 __Simple Function Usage:__
     48*Simple Function Usage:*
    5149
    52 ```
    53 call_user_func(array('advanced_footnotes', 'print_refs'));
    54 ```
     50`call_user_func(array('advanced_footnotes', 'print_refs'));`
    5551
    56 **__Additional Parameters:__**
     52*Additional Parameters:*
    5753
    58 First parameter: "Print", whether print or return the footnotes content. (Default: "true")
    59 Second parameter: "Title", determines the title for the footnotes content. (Default: "false")
     54* First parameter: "Print", whether print or return the footnotes content. (Default: "true")
     55* Second parameter: "Title", determines the title for the footnotes content. (Default: "false")
    6056
    61 __Function Usage with Parameters:__
     57*Function Usage with Parameters:*
    6258
    63 ```
    64 $footnotes = call_user_func_array(array('advanced_footnotes', 'print_refs'), array(false, 'Custom Footnotes Title'));
    65 ```
     59`$footnotes = call_user_func_array(array('advanced_footnotes', 'print_refs'), array(false, 'Custom Footnotes Title'));`
    6660
    67 ###Plugin Options:###
     61= Plugin Options: =
    6862
    6963You can access the plugin options through "Options/Advanced Footnotes".
    7064
    71 - Include Plugin CSS: Determines whether to include the default plugin css files. Disable this if you want to re-style the plugin within your theme.
    72 - Custom CSS: Provides a field for custom CSS styling.
    73 - Include Plugin JS: Determines whether to include the plugin javascript files on the theme output. Disable this if you want to customize plugin interactions or just to use native HTML anchors.
    74 - Default Title for Footnotes: Sets the default title used on the "[footnotes]" shortcode.
    75 - Disable JS Options: Determines whether to apply options to the plugin JS files or not.
    76 - Footnotes Scroll Gap: This sets the scroll margin when clicked on a footnote. Set this when you have a fixed header or any other element blocking some part of the window area.
    77 - Footnote Scroll Speed: Sets the animation speed when a footnote is clicked. Set 0 for no animation.
     65* Include Plugin CSS: Determines whether to include the default plugin css files. Disable this if you want to re-style the plugin within your theme.
     66* Custom CSS: Provides a field for custom CSS styling.
     67* Include Plugin JS: Determines whether to include the plugin javascript files on the theme output. Disable this if you want to customize plugin interactions or just to use native HTML anchors.
     68* Default Title for Footnotes: Sets the default title used on the "[footnotes]" shortcode.
     69* Disable JS Options: Determines whether to apply options to the plugin JS files or not.
     70* Footnotes Scroll Gap: This sets the scroll margin when clicked on a footnote. Set this when you have a fixed header or any other element blocking some part of the window area.
     71* Footnote Scroll Speed: Sets the animation speed when a footnote is clicked. Set 0 for no animation.
    7872
    7973
    80 **__HTML Structure & Classes__**
     74= HTML Structure & Classes =
     75
     76*This section will be updated later, meanwhile I encourage you to use the dom inspector.*
    8177
    8278== Installation ==
     
    8480
    8581== Frequently Asked Questions ==
    86 - Can I implement Advanced Footnotes on my theme?
     82
     83= Can I implement Advanced Footnotes on my theme? =
     84
    8785Yes you can. You can either get the footnotes as an object array, or simply print it with the Advanced Footnotes\' functions.
    8886
    89 - Can I use it without editing my theme files?
     87= Can I use it without editing my theme files? =
     88
    9089Yes, you can simply use [footnote]*your note here*[/footnote] shortcode for each footnote you want to place, and [footnotes] shortcode to use put the footnotes wherever you want them to be.
    9190
     91= Contribution =
     92<https://github.com/yutonet/wp_advanced_footnotes>
     93
    9294== Changelog ==
    93 - **0.1** - Initial Release
    94     - **0.11**
    95         - Documentation
    96         - Title display bug fixed.
     95= 0.1 =
     96**Initial Release**
     97
     98* **0.11**
     99    * Documentation
     100    * Title display bug fixed.
Note: See TracChangeset for help on using the changeset viewer.