Version Description
- Language translation feature added.
Download this release
Release Info
Developer | priyanshu.mittal |
Plugin | Seo Optimized Images |
Version | 1.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.2 to 1.6.3
- lang/seoimage.pot +269 -0
- readme.txt +2 -0
- seo-optimized-images-settings.php +35 -35
- seo-optimized-images.php +47 -44
lang/seoimage.pot
ADDED
@@ -0,0 +1,269 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: seo_optimize\n"
|
4 |
+
"POT-Creation-Date: 2016-11-26 13:40+0530\n"
|
5 |
+
"PO-Revision-Date: 2016-11-26 13:40+0530\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.5.5\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
13 |
+
"X-Poedit-Basepath: D:\\xampp\\htdocs\\wordpress\\wp-content\\plugins"
|
14 |
+
"\\seo_optimize_lite\n"
|
15 |
+
"X-Poedit-SearchPath-0: D:\\xampp\\htdocs\\wordpress\\wp-content\\plugins"
|
16 |
+
"\\seo_optimize_lite\n"
|
17 |
+
|
18 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:38
|
19 |
+
msgid "Settings"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:43
|
23 |
+
msgid "SEO Optimized Images"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:53
|
27 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:77
|
28 |
+
msgid "General Settings"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:55
|
32 |
+
msgid "FAQ"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:57
|
36 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:235
|
37 |
+
msgid "Support"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:59
|
41 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:252
|
42 |
+
msgid "Upgrade to Pro"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:85
|
46 |
+
msgid "Alt Attribute Value"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:87
|
50 |
+
msgid "The Alt attributes will be dynamically replaced by the above value."
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:89
|
54 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:207
|
55 |
+
msgid "It will insert Image Name."
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:89
|
59 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:208
|
60 |
+
msgid "It will insert Post Title."
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:90
|
64 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:209
|
65 |
+
msgid "It will insert Post Categories."
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:96
|
69 |
+
msgid "Override Existing Alt Tag"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:106
|
73 |
+
msgid "Do you want to Over Ride existing alt tags?"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:113
|
77 |
+
msgid "Title Attribute Value"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:115
|
81 |
+
msgid "The Title attribute will be dynamically replaced by the above value."
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:121
|
85 |
+
msgid "Override Existing Title Tag"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:131
|
89 |
+
msgid "Do you want to Over Ride existing title tags?"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:136
|
93 |
+
msgid "Override alt and title attributes of feature / thumbnail images."
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:146
|
97 |
+
msgid ""
|
98 |
+
"Do you want to optimize post / page thumbnail images or want to make seo "
|
99 |
+
"friendly images?"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:146
|
103 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:163
|
104 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:171
|
105 |
+
msgid "Available In Pro"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:153
|
109 |
+
msgid "Override alt and title tags of woocommerce products images."
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:163
|
113 |
+
msgid ""
|
114 |
+
"Do you want to optimize woocommerce images or want to make search engine "
|
115 |
+
"friendly?"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:168
|
119 |
+
msgid "Enable yoast pirmary category"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:171
|
123 |
+
msgid "Only Show Primary Category created by Yoast SEO Plugin."
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:200
|
127 |
+
msgid "How Does it Work?"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:205
|
131 |
+
msgid ""
|
132 |
+
"1. The plugin dynamically replaces the alt tags with the pattern specified "
|
133 |
+
"by you. It makes no changes to the database."
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:206
|
137 |
+
msgid ""
|
138 |
+
"2. Since there are no changes to the database, one can have different alt "
|
139 |
+
"tags for same images on different pages / posts."
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:216
|
143 |
+
msgid "Why Optimize Alt Tags"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:221
|
147 |
+
msgid "1. According to"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:221
|
151 |
+
msgid "this post"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:221
|
155 |
+
msgid ""
|
156 |
+
"on the Google Webmaster Blog, Google tends to focus on the information in "
|
157 |
+
"the ALT text. Creating a optimized alt tags can bring more traffic from "
|
158 |
+
"Search Engines"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:222
|
162 |
+
msgid ""
|
163 |
+
"2. Take note that the plugin does not makes changes to the database. It "
|
164 |
+
"dynamically replaces the tags at the times of page load."
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:240
|
168 |
+
msgid "1. For any queries contact us via the"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:240
|
172 |
+
msgid "support forums."
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:241
|
176 |
+
msgid "2. If you like our plugin and support than kindly share your"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:241
|
180 |
+
msgid "feedback."
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:241
|
184 |
+
msgid "Your feedback is valuable."
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:262
|
188 |
+
msgid "Pricing"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:263
|
192 |
+
msgid "We have 2 packages"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:265
|
196 |
+
msgid "SEO - Business Package"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:265
|
200 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:266
|
201 |
+
msgid "The package have a support for"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:265
|
205 |
+
msgid "Featured Images, Custom Post Type Image and Custom Rules"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:265
|
209 |
+
msgid ".The price of this Package is"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:266
|
213 |
+
msgid "SEO - Business With WooCommerce Package"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:266
|
217 |
+
msgid ""
|
218 |
+
"WooCommerce Images, Featured Images, Custom Post Type Image and Custom Rules"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:266
|
222 |
+
msgid ". The price of this package is"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:268
|
226 |
+
msgid "Support and Updates will be given for 1 year."
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:268
|
230 |
+
msgid ""
|
231 |
+
"If you need updates and support after one year, then simply renew your "
|
232 |
+
"subscription. If not, then you may still keep using the plugin."
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:271
|
236 |
+
msgid "How to Purchase."
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:272
|
240 |
+
msgid "If you are interested then you can buy the plugin"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:272
|
244 |
+
msgid "here."
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:272
|
248 |
+
msgid "Once the purchase process gets complete,"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:272
|
252 |
+
msgid "login"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:272
|
256 |
+
msgid "to your account and download the package."
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:274
|
260 |
+
msgid "Looking Forward to work with you"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:275
|
264 |
+
msgid "Thousands of users have enjoyed using our plugin."
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#: D:\xampp\htdocs\wordpress\wp-content\plugins\seo_optimize_lite/seo-optimized-images-settings.php:291
|
268 |
+
msgid "Upgrade To Pro Version"
|
269 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -50,6 +50,8 @@ In case you face any problem, contact us via the [Forums](https://wordpress.org/
|
|
50 |
|
51 |
|
52 |
== Changelog ==
|
|
|
|
|
53 |
= 1.6.2 =
|
54 |
1. adding space before and after alt anf title attributes.
|
55 |
= 1.6.1 =
|
50 |
|
51 |
|
52 |
== Changelog ==
|
53 |
+
= 1.6.3 =
|
54 |
+
1. Language translation feature added.
|
55 |
= 1.6.2 =
|
56 |
1. adding space before and after alt anf title attributes.
|
57 |
= 1.6.1 =
|
seo-optimized-images-settings.php
CHANGED
@@ -35,12 +35,12 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
35 |
?>
|
36 |
|
37 |
<div class="wrap settings-wrap" id="page-settings">
|
38 |
-
<h2
|
39 |
<div id="option-tree-header-wrap">
|
40 |
<ul id="option-tree-header">
|
41 |
<li id=""><a href="" target="_blank"></a>
|
42 |
</li>
|
43 |
-
<li id="option-tree-version"><span
|
44 |
</li>
|
45 |
</ul>
|
46 |
</div>
|
@@ -50,13 +50,13 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
50 |
|
51 |
<!-- Tabs Begin-->
|
52 |
<ul >
|
53 |
-
<li id="tab_create_setting"><a href="#section_general"
|
54 |
</li>
|
55 |
-
<li id="tab_faq" ><a href="#section_faq"
|
56 |
</li>
|
57 |
-
<li id="tab_support" ><a href="#section_support"
|
58 |
</li>
|
59 |
-
<li id="tab_other" ><a href="#section_other"
|
60 |
</li>
|
61 |
</ul>
|
62 |
<!-- Tabs End-->
|
@@ -74,7 +74,7 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
74 |
<div class = "format-setting-inner">
|
75 |
<form method="post" action="#section_general">
|
76 |
<div class="format-setting-label">
|
77 |
-
<h3 class="label"
|
78 |
</div>
|
79 |
|
80 |
<table class="form-table table_custom">
|
@@ -86,8 +86,8 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
86 |
<td><input type="text" name="soi_alt_value" value="<?php echo esc_attr( $soi_options_array['soi_alt_value'] ); ?>" />
|
87 |
<p class=""><?php _e('The Alt attributes will be dynamically replaced by the above value.', 'seoimages') ?></p>
|
88 |
<p class="">
|
89 |
-
%name - It will insert Image Name
|
90 |
-
%category - It will insert Post Categories.
|
91 |
</p>
|
92 |
</td>
|
93 |
</tr>
|
@@ -143,7 +143,7 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
143 |
<?php _e($value,'seoimages') ?> </option>
|
144 |
<?php } ?>
|
145 |
</select>
|
146 |
-
<p class=""><?php _e('Do you want to optimize post / page thumbnail images or want to make seo friendly images?','seoimages') ?> <a class="prolinkbtn"
|
147 |
</td>
|
148 |
</tr>
|
149 |
|
@@ -160,7 +160,7 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
160 |
<?php _e($value,'seoimages') ?> </option>
|
161 |
<?php } ?>
|
162 |
</select>
|
163 |
-
<p class=""><?php _e('Do you want to optimize woocommerce images or want to make search engine friendly?','seoimages') ?> <a class="prolinkbtn"
|
164 |
</td>
|
165 |
</tr>
|
166 |
|
@@ -168,7 +168,7 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
168 |
<th scope="row"><?php _e('Enable yoast pirmary category','seoimages');?></th>
|
169 |
<td>
|
170 |
<input type="checkbox" id="soi_override_yost_primary_cat" name="soi_override_yost_primary_cat" value="1" <?php if( isset($soi_options_array['soi_override_yost_primary_cat']) == true ) echo "checked"; ?> disabled>
|
171 |
-
<p class=""><?php _e('Only Show Primary Category created by Yoast SEO Plugin.', 'seoimages') ?> <a class="prolinkbtn"
|
172 |
</td>
|
173 |
</tr>
|
174 |
|
@@ -197,29 +197,29 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
197 |
<div class="format-settings">
|
198 |
<div class="format-setting-wrap">
|
199 |
<div class="format-setting-label">
|
200 |
-
<h3 class="label"
|
201 |
</div>
|
202 |
</div>
|
203 |
</div>
|
204 |
|
205 |
-
<p><span class="description"
|
206 |
-
<p><span class="description"
|
207 |
-
<p><span class="description">3. %name - It will insert Image Name
|
208 |
-
<p><span class="description">4. %title- It will insert Post Title
|
209 |
-
<p><span class="description">5. %category - It will insert Post Categories. </span></p>
|
210 |
</div>
|
211 |
|
212 |
<div class="inside">
|
213 |
<div class="format-settings">
|
214 |
<div class="format-setting-wrap">
|
215 |
<div class="format-setting-label">
|
216 |
-
<h3 class="label"> Why Optimize Alt Tags </h3>
|
217 |
</div>
|
218 |
</div>
|
219 |
</div>
|
220 |
|
221 |
-
<p><span class="description"
|
222 |
-
<p><span class="description"
|
223 |
|
224 |
</div>
|
225 |
|
@@ -232,13 +232,13 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
232 |
<div class="format-settings">
|
233 |
<div class="format-setting-wrap">
|
234 |
<div class="format-setting-label">
|
235 |
-
<h3 class="label"
|
236 |
</div>
|
237 |
</div>
|
238 |
</div>
|
239 |
|
240 |
-
<p><span class="description"
|
241 |
-
<p><span class="description"
|
242 |
|
243 |
|
244 |
</div>
|
@@ -249,7 +249,7 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
249 |
<div class="format-settings">
|
250 |
<div class="format-setting-wrap">
|
251 |
<div class="format-setting-label">
|
252 |
-
<h3 class="label"
|
253 |
</div>
|
254 |
</div>
|
255 |
</div>
|
@@ -259,20 +259,20 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
259 |
<div class="row" style="margin-left:10px;background: #f7f7f7;padding-top: 10px;padding-bottom: 70px;">
|
260 |
|
261 |
<div class="span6" style="width:85%;margin-top: auto;">
|
262 |
-
<h3
|
263 |
-
<p> We have 2 packages
|
264 |
|
265 |
-
<ul><li class="ui-corner-left"><h3
|
266 |
-
<li class="ui-corner-left"><h3
|
267 |
</li></ul>
|
268 |
-
<p
|
269 |
|
270 |
|
271 |
-
<h3
|
272 |
-
<p
|
273 |
|
274 |
-
<h3
|
275 |
-
<p
|
276 |
|
277 |
</div>
|
278 |
|
@@ -288,7 +288,7 @@ if(isset($_POST['submit_general_settings_tab'])){
|
|
288 |
|
289 |
<br>
|
290 |
<div style="text-align: center;">
|
291 |
-
<a class="btn btn-danger btn-large" href="http://webriti.com/seo-optimized-images/" target="_new"
|
292 |
</div>
|
293 |
<br>
|
294 |
|
35 |
?>
|
36 |
|
37 |
<div class="wrap settings-wrap" id="page-settings">
|
38 |
+
<h2><?php _e('Settings','seoimages') ?></h2>
|
39 |
<div id="option-tree-header-wrap">
|
40 |
<ul id="option-tree-header">
|
41 |
<li id=""><a href="" target="_blank"></a>
|
42 |
</li>
|
43 |
+
<li id="option-tree-version"><span><?php _e('SEO Optimized Images','seoimages') ?></span>
|
44 |
</li>
|
45 |
</ul>
|
46 |
</div>
|
50 |
|
51 |
<!-- Tabs Begin-->
|
52 |
<ul >
|
53 |
+
<li id="tab_create_setting"><a href="#section_general"><?php _e('General Settings','seoimages') ?></a>
|
54 |
</li>
|
55 |
+
<li id="tab_faq" ><a href="#section_faq"><?php _e('FAQ','seoimages') ?></a>
|
56 |
</li>
|
57 |
+
<li id="tab_support" ><a href="#section_support"><?php _e('Support','seoimages') ?></a>
|
58 |
</li>
|
59 |
+
<li id="tab_other" ><a href="#section_other"><?php _e('Upgrade to Pro','seoimages') ?></a>
|
60 |
</li>
|
61 |
</ul>
|
62 |
<!-- Tabs End-->
|
74 |
<div class = "format-setting-inner">
|
75 |
<form method="post" action="#section_general">
|
76 |
<div class="format-setting-label">
|
77 |
+
<h3 class="label"><?php _e('General Settings','seoimages') ?></h3>
|
78 |
</div>
|
79 |
|
80 |
<table class="form-table table_custom">
|
86 |
<td><input type="text" name="soi_alt_value" value="<?php echo esc_attr( $soi_options_array['soi_alt_value'] ); ?>" />
|
87 |
<p class=""><?php _e('The Alt attributes will be dynamically replaced by the above value.', 'seoimages') ?></p>
|
88 |
<p class="">
|
89 |
+
%name - <?php _e('It will insert Image Name.','seoimages') ?><br> %title- <?php _e('It will insert Post Title.','seoimages') ?><br>
|
90 |
+
%category - <?php _e('It will insert Post Categories.','seoimages') ?>
|
91 |
</p>
|
92 |
</td>
|
93 |
</tr>
|
143 |
<?php _e($value,'seoimages') ?> </option>
|
144 |
<?php } ?>
|
145 |
</select>
|
146 |
+
<p class=""><?php _e('Do you want to optimize post / page thumbnail images or want to make seo friendly images?','seoimages') ?> <a class="prolinkbtn"><?php _e('Available In Pro','seoimages') ?></a></p>
|
147 |
</td>
|
148 |
</tr>
|
149 |
|
160 |
<?php _e($value,'seoimages') ?> </option>
|
161 |
<?php } ?>
|
162 |
</select>
|
163 |
+
<p class=""><?php _e('Do you want to optimize woocommerce images or want to make search engine friendly?','seoimages') ?> <a class="prolinkbtn" ><?php _e('Available In Pro','seoimages') ?></a></p>
|
164 |
</td>
|
165 |
</tr>
|
166 |
|
168 |
<th scope="row"><?php _e('Enable yoast pirmary category','seoimages');?></th>
|
169 |
<td>
|
170 |
<input type="checkbox" id="soi_override_yost_primary_cat" name="soi_override_yost_primary_cat" value="1" <?php if( isset($soi_options_array['soi_override_yost_primary_cat']) == true ) echo "checked"; ?> disabled>
|
171 |
+
<p class=""><?php _e('Only Show Primary Category created by Yoast SEO Plugin.', 'seoimages') ?> <a class="prolinkbtn" ><?php _e('Available In Pro','seoimages') ?></a></p>
|
172 |
</td>
|
173 |
</tr>
|
174 |
|
197 |
<div class="format-settings">
|
198 |
<div class="format-setting-wrap">
|
199 |
<div class="format-setting-label">
|
200 |
+
<h3 class="label"><?php _e('How Does it Work?','seoimages') ?> </h3>
|
201 |
</div>
|
202 |
</div>
|
203 |
</div>
|
204 |
|
205 |
+
<p><span class="description"><?php _e('1. The plugin dynamically replaces the alt tags with the pattern specified by you. It makes no changes to the database.','seoimages') ?> </span></p>
|
206 |
+
<p><span class="description"><?php _e('2. Since there are no changes to the database, one can have different alt tags for same images on different pages / posts.','seoimages') ?></span></p>
|
207 |
+
<p><span class="description">3. %name - <?php _e('It will insert Image Name.','seoimages') ?></span></p>
|
208 |
+
<p><span class="description">4. %title- <?php _e('It will insert Post Title.','seoimages') ?></span></p>
|
209 |
+
<p><span class="description">5. %category - <?php _e('It will insert Post Categories.','seoimages') ?> </span></p>
|
210 |
</div>
|
211 |
|
212 |
<div class="inside">
|
213 |
<div class="format-settings">
|
214 |
<div class="format-setting-wrap">
|
215 |
<div class="format-setting-label">
|
216 |
+
<h3 class="label"> <?php _e('Why Optimize Alt Tags','seoimages') ?> </h3>
|
217 |
</div>
|
218 |
</div>
|
219 |
</div>
|
220 |
|
221 |
+
<p><span class="description"><?php _e('1. According to','seoimages') ?> <a target = "_blank" href = "http://googlewebmastercentral.blogspot.in/2007/12/using-alt-attributes-smartly.html"><?php _e('this post','seoimages') ?> </a> <?php _e('on the Google Webmaster Blog, Google tends to focus on the information in the ALT text. Creating a optimized alt tags can bring more traffic from Search Engines','seoimages') ?> </span></p>
|
222 |
+
<p><span class="description"><?php _e('2. Take note that the plugin does not makes changes to the database. It dynamically replaces the tags at the times of page load.','seoimages') ?></span></p>
|
223 |
|
224 |
</div>
|
225 |
|
232 |
<div class="format-settings">
|
233 |
<div class="format-setting-wrap">
|
234 |
<div class="format-setting-label">
|
235 |
+
<h3 class="label"><?php _e('Support','seoimages') ?> </h3>
|
236 |
</div>
|
237 |
</div>
|
238 |
</div>
|
239 |
|
240 |
+
<p><span class="description"><?php _e('1. For any queries contact us via the','seoimages') ?> <a href = "https://wordpress.org/support/plugin/seo-optimized-images" target = "_blank"><?php _e('support forums.','seoimages') ?></a></span></p>
|
241 |
+
<p><span class="description"><?php _e('2. If you like our plugin and support than kindly share your','seoimages') ?> <a href = "https://wordpress.org/support/view/plugin-reviews/seo-optimized-images" target = "_blank"><?php _e('feedback.','seoimages') ?></a> <?php _e('Your feedback is valuable.','seoimages') ?></span></p>
|
242 |
|
243 |
|
244 |
</div>
|
249 |
<div class="format-settings">
|
250 |
<div class="format-setting-wrap">
|
251 |
<div class="format-setting-label">
|
252 |
+
<h3 class="label"><?php _e('Upgrade to Pro','seoimages') ?> </h3>
|
253 |
</div>
|
254 |
</div>
|
255 |
</div>
|
259 |
<div class="row" style="margin-left:10px;background: #f7f7f7;padding-top: 10px;padding-bottom: 70px;">
|
260 |
|
261 |
<div class="span6" style="width:85%;margin-top: auto;">
|
262 |
+
<h3><?php _e('Pricing','seoimages') ?></h3>
|
263 |
+
<p> <?php _e('We have 2 packages','seoimages') ?></p>
|
264 |
|
265 |
+
<ul><li class="ui-corner-left"><h3><?php _e('SEO - Business Package','seoimages') ?></h3> <p><?php _e('The package have a support for','seoimages') ?> <b><?php _e('Featured Images, Custom Post Type Image and Custom Rules','seoimages') ?></b><?php _e('.The price of this Package is','seoimages') ?> <b>$59</b>.</p></li>
|
266 |
+
<li class="ui-corner-left"><h3><?php _e('SEO - Business With WooCommerce Package','seoimages') ?></h3> <p><?php _e('The package have a support for','seoimages') ?> <b><?php _e('WooCommerce Images, Featured Images, Custom Post Type Image and Custom Rules','seoimages') ?></b> <?php _e('. The price of this package is','seoimages') ?> <b>$79</b>.</p>
|
267 |
</li></ul>
|
268 |
+
<p><?php _e('Support and Updates will be given for 1 year.','seoimages') ?> <br><?php _e('If you need updates and support after one year, then simply renew your subscription. If not, then you may still keep using the plugin.','seoimages') ?></p>
|
269 |
|
270 |
|
271 |
+
<h3><?php _e('How to Purchase.','seoimages') ?></h3>
|
272 |
+
<p><?php _e('If you are interested then you can buy the plugin','seoimages') ?> <a href="http://webriti.com/seo-optimized-images/" target="_blank"><?php _e('here.','seoimages') ?></a> <?php _e('Once the purchase process gets complete,','seoimages') ?> <a href="http://webriti.com/amember/login/index" target="_blank"><?php _e('login','seoimages') ?></a> <?php _e('to your account and download the package.','seoimages') ?> </p>
|
273 |
|
274 |
+
<h3><?php _e('Looking Forward to work with you','seoimages') ?></h3>
|
275 |
+
<p><?php _e('Thousands of users have enjoyed using our plugin.','seoimages') ?></p>
|
276 |
|
277 |
</div>
|
278 |
|
288 |
|
289 |
<br>
|
290 |
<div style="text-align: center;">
|
291 |
+
<a class="btn btn-danger btn-large" href="http://webriti.com/seo-optimized-images/" target="_new"><?php _e('Upgrade To Pro Version','seoimages') ?></a>
|
292 |
</div>
|
293 |
<br>
|
294 |
|
seo-optimized-images.php
CHANGED
@@ -4,16 +4,58 @@
|
|
4 |
Plugin Name: SEO Optimized Images
|
5 |
Plugin URI: http://webriti.com
|
6 |
Description: The **SEO Optimized Images** plugin Seo Optmized Images Plugin lets you dynamically insert Seo Friendly alt attributes and title attributes to your Images . Simply activate the plugin, provide the pattern and you are ready to go.
|
7 |
-
Version: 1.6.
|
8 |
Author: priyanshu.mittal
|
9 |
Author URI: http://webriti.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
|
12 |
-
*/
|
13 |
-
add_filter('the_content', 'soi_replace_tags', 100);
|
14 |
// add_filter();
|
15 |
-
|
16 |
-
|
17 |
function soi_replace_tags ($content, $alt_text='',$title='')
|
18 |
{
|
19 |
|
@@ -200,44 +242,5 @@ function soi_replace_tags ($content, $alt_text='',$title='')
|
|
200 |
|
201 |
return $content;
|
202 |
}
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
add_action('admin_menu', 'soi_add_menu_page');
|
207 |
-
|
208 |
-
function soi_add_menu_page()
|
209 |
-
{
|
210 |
-
add_menu_page( 'soi_settings_page', 'Seo Optimized Images', 'administrator', 'soi_setting','soi_create_setting_page','');
|
211 |
-
}
|
212 |
-
|
213 |
-
function soi_create_setting_page()
|
214 |
-
{
|
215 |
-
require_once('seo-optimized-images-settings.php');
|
216 |
-
}
|
217 |
-
|
218 |
-
|
219 |
-
add_action( 'admin_enqueue_scripts', 'soi_load_custom_wp_admin_style' );
|
220 |
-
|
221 |
-
function soi_load_custom_wp_admin_style($hook) {
|
222 |
-
if ($hook != 'toplevel_page_soi_setting'){return;} // we dont want to load our css on other pages
|
223 |
-
wp_register_style ('soi_custom_wp_admin_css', plugins_url('css/plugin-admin-panel.css', __FILE__));
|
224 |
-
wp_enqueue_style( 'soi_custom_wp_admin_css' );
|
225 |
-
wp_enqueue_style( 'wp-color-picker' ); // here we add the color picker style for use in our plugin
|
226 |
-
|
227 |
-
}
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
function soi_load_custom_wp_admin_scripts($hook) {
|
232 |
-
|
233 |
-
|
234 |
-
if ($hook != 'toplevel_page_soi_setting'){return;} // we dont want to load our js on other pages
|
235 |
-
|
236 |
-
wp_register_script( 'soi_custom_wp_admin_js', plugin_dir_url( __FILE__ ) . 'js/plugin-admin-panel.js',array('jquery','jquery-ui-core','jquery-ui-tabs','wp-color-picker'), false, '1.0.0' );
|
237 |
-
wp_enqueue_script ('soi_custom_wp_admin_js');
|
238 |
-
|
239 |
-
|
240 |
-
}
|
241 |
-
add_action( 'admin_enqueue_scripts', 'soi_load_custom_wp_admin_scripts' );
|
242 |
|
243 |
|
4 |
Plugin Name: SEO Optimized Images
|
5 |
Plugin URI: http://webriti.com
|
6 |
Description: The **SEO Optimized Images** plugin Seo Optmized Images Plugin lets you dynamically insert Seo Friendly alt attributes and title attributes to your Images . Simply activate the plugin, provide the pattern and you are ready to go.
|
7 |
+
Version: 1.6.3
|
8 |
Author: priyanshu.mittal
|
9 |
Author URI: http://webriti.com
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Plugin Root File.
|
13 |
+
if ( ! defined( 'SEO_IMAGES_LITE_PLUGIN_FILE' ) ) {
|
14 |
+
define( 'SEO_IMAGES_LITE_PLUGIN_FILE', __FILE__ );
|
15 |
+
}
|
16 |
+
|
17 |
+
add_action('admin_menu', 'soi_add_menu_page');
|
18 |
+
function soi_add_menu_page()
|
19 |
+
{
|
20 |
+
$seoimageslite_lang_dir = dirname( plugin_basename( SEO_IMAGES_LITE_PLUGIN_FILE ) ) . '/lang/';
|
21 |
+
load_plugin_textdomain( 'seoimages', false, $seoimageslite_lang_dir );
|
22 |
+
|
23 |
+
add_menu_page( 'soi_settings_page', 'Seo Optimized Images', 'administrator', 'soi_setting','soi_create_setting_page','');
|
24 |
+
}
|
25 |
+
|
26 |
+
function soi_create_setting_page()
|
27 |
+
{
|
28 |
+
require_once('seo-optimized-images-settings.php');
|
29 |
+
}
|
30 |
+
|
31 |
+
|
32 |
+
add_action( 'admin_enqueue_scripts', 'soi_load_custom_wp_admin_style' );
|
33 |
+
|
34 |
+
function soi_load_custom_wp_admin_style($hook) {
|
35 |
+
if ($hook != 'toplevel_page_soi_setting'){return;} // we dont want to load our css on other pages
|
36 |
+
wp_register_style ('soi_custom_wp_admin_css', plugins_url('css/plugin-admin-panel.css', __FILE__));
|
37 |
+
wp_enqueue_style( 'soi_custom_wp_admin_css' );
|
38 |
+
wp_enqueue_style( 'wp-color-picker' ); // here we add the color picker style for use in our plugin
|
39 |
+
|
40 |
+
}
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
function soi_load_custom_wp_admin_scripts($hook) {
|
45 |
+
|
46 |
+
|
47 |
+
if ($hook != 'toplevel_page_soi_setting'){return;} // we dont want to load our js on other pages
|
48 |
+
|
49 |
+
wp_register_script( 'soi_custom_wp_admin_js', plugin_dir_url( __FILE__ ) . 'js/plugin-admin-panel.js',array('jquery','jquery-ui-core','jquery-ui-tabs','wp-color-picker'), false, '1.0.0' );
|
50 |
+
wp_enqueue_script ('soi_custom_wp_admin_js');
|
51 |
+
|
52 |
+
|
53 |
+
}
|
54 |
+
add_action( 'admin_enqueue_scripts', 'soi_load_custom_wp_admin_scripts' );
|
55 |
|
56 |
|
|
|
|
|
57 |
// add_filter();
|
58 |
+
add_filter('the_content', 'soi_replace_tags', 100);
|
|
|
59 |
function soi_replace_tags ($content, $alt_text='',$title='')
|
60 |
{
|
61 |
|
242 |
|
243 |
return $content;
|
244 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
|