- Add: link to the wordpress.org support page in the plugin main page

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@919373 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-05-22 12:57:26 +00:00
parent 72c239feb1
commit b29425edb7
2 changed files with 9 additions and 3 deletions

View file

@ -18,9 +18,14 @@
*/
function footnotes_plugin_settings_link($links, $file)
{
/* add link to the /forms.contact plugin's settings page */
$settings_link = '<a href="' . admin_url('options-general.php?page=' . FOOTNOTES_SETTINGS_PAGE_ID) . '">' . __('Settings', FOOTNOTES_PLUGIN_NAME) . '</a>';
array_unshift($links, $settings_link);
/* add link to the footnotes plugin settings page */
$l_str_SettingsLink = '<a href="' . admin_url('options-general.php?page=' . FOOTNOTES_SETTINGS_PAGE_ID) . '">' . __('Settings', FOOTNOTES_PLUGIN_NAME) . '</a>';
/* add link to the footnotes plugin support page on wordpress.org */
$l_str_SupportLink = '<a href="http://wordpress.org/support/plugin/footnotes" target="_blank">' . __('Support', FOOTNOTES_PLUGIN_NAME) . '</a>';
/* add defined links to the plugin main page */
$links[] = $l_str_SupportLink;
$links[] = $l_str_SettingsLink;
/* return new links */
return $links;

View file

@ -41,6 +41,7 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho
= 1.1.1 =
- Feature: Short code to not display the 'love me' slug on specific pages ( short code = [[no footnotes: love]] )
- Update: Setting where the reference container appears on public pages can also be set to the widget area
- Add: link to the wordpress.org support page in the plugin main page
= 1.1.0 =
- Update: Global styling for the public plugin name