ab368ba787
* New setting to collapse the reference container by default * Added link behind the footnotes to automatically jump to the reference container * New function to easy output input fields for the settings page * Updated translation for the new setting git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@917811 b8457f37-d9ea-0310-8a92-e5e31aec5664
34 lines
No EOL
772 B
PHP
34 lines
No EOL
772 B
PHP
<?php
|
|
/**
|
|
* Created by Stefan Herndler.
|
|
* User: Stefan
|
|
* Date: 15.05.14
|
|
* Time: 16:21
|
|
* Version: 1.0
|
|
* Since: 1.0
|
|
*/
|
|
|
|
|
|
/**
|
|
* register and add the public stylesheet
|
|
* @since 1.0
|
|
*/
|
|
function footnotes_add_public_stylesheet()
|
|
{
|
|
/* register public stylesheet */
|
|
wp_register_style( 'footnotes_public_style', plugins_url( '../css/footnote.css', __FILE__ ) );
|
|
/* add public stylesheet */
|
|
wp_enqueue_style( 'footnotes_public_style' );
|
|
}
|
|
|
|
/**
|
|
* register and add the settings stylesheet
|
|
* @since 1.0
|
|
*/
|
|
function footnotes_add_settings_stylesheet()
|
|
{
|
|
/* register settings stylesheet */
|
|
wp_register_style( 'footnotes_settings_style', plugins_url( '../css/settings.css', __FILE__ ) );
|
|
/* add settings stylesheet */
|
|
wp_enqueue_style( 'footnotes_settings_style' );
|
|
} |