This repository has been archived by the owner on May 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathREADME.txt
134 lines (93 loc) · 3.6 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
=== Plugin Name ===
Contributors: mte90, groovecoder
Donate link:
Tags: mozilla, mdn, links, html5, javascript, glossary, documentation, docs, development, developer, glossary, html
Requires at least: 4.7
Tested up to: 4.9
Stable tag: 2.0.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Automatically links your WordPress blog with MDN.
== Description ==
* Automatically links [special keywords and phrases](https://raw.githubusercontent.com/mdn/wp-promote-mdn/def-list/terms.txt) to MDN.
* Custom terms by settings
* Provides a widget with images and links to promote MDN
* Shortcode `promote_mdn_newsletter` to register to Mozilla newsletter
MDN is the best online resource for web developers, by web developers. Promote MDN
helps your readers discover and learn about web technologies on MDN.
To help code on this plugin, go to [Promote MDN on Github](https://github.com/mdn/wp-promote-mdn/).
Based on freediver's [SEO Smart Links](http://wordpress.org/extend/plugins/seo-automatic-links/)
== Installation ==
1. Go to "Plugins -> Add new"
2. Search for "Promote MDN"
3. Click "Install"
or manually:
1. Upload `promote-mdn/` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Configure the plugin through the 'Settings' -> 'Promote MDN' page
== Frequently Asked Questions ==
= Why? =
MDN makes the best docs on the web, for the web.
= What are locale-specific links? =
By default, most links will go to a locale-agnostic url which will redirect
to a translated page if one is avaialble. Ideally we want to avoid redirects.
So, locale-specific links are maintained by the MDN community for some locales.
Using locale-specific links will improve your readers' experience.
== Screenshots ==
1. Settings, exceptions, limits, custom keywords
2. Widget settings
== Changelog ==
= 2.0.4 =
* Fix: removed notice on `add_src_param`
* Improved code for PHP 5.2 and 7.2
= 2.0.3 =
* Fixed unit tests
* Improved code performance and quality
= 2.0.2 =
* Little improvement on detecting string
= 2.0.1 =
* Fixed a loop on pages
= 2.0.0 =
* New version written from scratch
* Updated the codebase to WordPress standard
* Clean up and optimized code
* Shortcode added
* Removed unused code
= 1.8.0 =
* Definition file it's on GitHub to improve the list of links easily
= 1.7.1 =
* Disable also for custom post types
* Updated Italian language
= 1.7 =
* New MDN banners
* New translation IT_it
* Support for comments
* Fixed notification to Mozilla DevEngage team
* Fixed bad html code in widget
* CSS class in the link
* Removed deprecated code
= 1.6 =
* Option to notify Mozilla Press and DevRel when publishing post
* Fix HTML bug in admin notices
* Update GA campaign tracking parameters
* Update logos to redesign
https://github.com/groovecoder/wp-promote-mdn/compare/596cea7...0edcb0e
= 1.5 =
* Security fixes
= 1.4 =
* Exclude links from any HTML elements
* src url param to help MDN measure effectiveness
* Color & Text options for widget
* See [GitHub Milestone](https://github.com/groovecoder/wp-promote-mdn/issues?milestone=2&page=1&state=closed)
= 1.3 =
* New Sidebar Widget
* Install/upgrade notifications in admin pages
* Use locale-specific URL for keywords/phrases links
* Add French translation
* See [GitHub Milestone](https://github.com/groovecoder/wp-promote-mdn/issues?milestone=1&page=1&state=closed)
= 1.2 =
* Internationalization and initial translations - Polish, Dutch, German, Portuguese (Brazil)
= 1.1 =
* Add "Reload now" button and send Cache-Control: no-cache, must-revalidate to MDN
= 1.0 =
* Initial version based on SEO Smart Links.