• Thank you very much for such a wonderful plugin highly customizable!

    I just miss the possibility to place the References Container in any other position of the page/post itself in addition to the three options actually given: 1. in the footer, 2. at the end of the post, and 3. in the widget area.

    To be precise, I need my footnotes to appear after the text and before the bibliographical references, as is typical in academic papers.

    I have seen this feature implemented in another footnotes plugin by means of a simple shortcode like “[reference/] that may be inserted anywhere along the text.

    Hope to see it included in future updates. Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Aharon

    (@spaceling)

    I would also like to see this implemented.

    It is implemented in the “Footnotes for WordPress” plugin. Look for the discharge function:

    public function discharge ($atts = array(), $content = NULL, $code = '') {
    
    		// Get parameters
    
    		$atts = shortcode_atts ( array(
    
    			"class" => "footnotes",
    
    			"group" => NULL,
    
    		), $atts );
    
    		$notes = '';
    
    		if (count($this->accumulated) > 0) :
    
    			$notes = "<ol class=\"{$atts['class']}\">\n\t"
    
    				.implode("\n\t", array_map(array($this, 'implode_accumulated_line'), $this->accumulated))
    
    				."</ol>\n";
    
    			$this->accumulated = array();
    
    		endif;
    
    		return $notes;

    In use, the shortcode looks like this:

    [references /]

    Would it be possible to simply add this code somewhere in the “Footnotes” plugin code stack?

    (My problem with the “Footnotes for WordPress” plugin is that the CSS for the notes is unfortunately very ugly. In contrast, I really appreciate the clean aesthetic of “Footnotes.”)

Viewing 1 replies (of 1 total)

The topic ‘Reference container place’ is closed to new replies.