SEO Friendly Images - Version 2.7.0

Version Description

  • Introduced the premium version
Download this release

Release Info

Developer freediver
Plugin Icon 128x128 SEO Friendly Images
Version 2.7.0
Comparing to
See all releases

Code changes from version 2.6.5 to 2.7.0

Files changed (2) hide show
  1. readme.txt +8 -3
  2. seo-friendly-images.php +23 -5
readme.txt CHANGED
@@ -3,10 +3,10 @@ Contributors: freediver
3
  Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=920155875
4
  Tags: seo, images, Post, admin, google
5
  Requires at least: 2.7
6
- Tested up to: 3.3
7
  Stable tag: trunk
8
 
9
- SEO Friendly Images automatically adds alt and title attributes to all your images. Improves traffic from search engines and makes the image tags W3C/xHTML valid as well.
10
 
11
  == Description ==
12
 
@@ -17,10 +17,15 @@ ALT attribute is important part of search engine optimization. It describes your
17
 
18
  TITLE attribute play lesser role but is important for visitors as this text will automatically appear in the tooltip when mouse is over the image.
19
 
20
- Plugin by Vladimir Prelovac. Need <a href="http://www.prelovac.com/vladimir/services">WordPress Consulting Service</a>?
 
 
21
 
22
  == Changelog ==
23
 
 
 
 
24
  = 2.6.3 =
25
  * Display multiple categories (thanks to Charles Blaxland)
26
 
3
  Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=920155875
4
  Tags: seo, images, Post, admin, google
5
  Requires at least: 2.7
6
+ Tested up to: 3.3.1
7
  Stable tag: trunk
8
 
9
+ SEO Friendly Images automatically adds alt and title attributes to all your images improving traffic from search engines.
10
 
11
  == Description ==
12
 
17
 
18
  TITLE attribute play lesser role but is important for visitors as this text will automatically appear in the tooltip when mouse is over the image.
19
 
20
+ Plugin by [Vladimir Prelovac](http://www.prelovac.com/vladimir/ "Vladimir Prelovac").
21
+
22
+ If you like what I do in WordPress, you will also like [ManageWP](http://managewp.com "Manage WordPress sites") service.
23
 
24
  == Changelog ==
25
 
26
+ = 2.7.0 =
27
+ * Introduced the <a href="http://www.prelovac.com/products/seo-friendly-images">premium version</a>
28
+
29
  = 2.6.3 =
30
  * Display multiple categories (thanks to Charles Blaxland)
31
 
seo-friendly-images.php CHANGED
@@ -4,13 +4,13 @@
4
  Plugin Name: SEO Friendly Images
5
  Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images
6
  Description: Automatically adds alt and title attributes to all your images. Improves traffic from search results and makes them W3C/xHTML valid as well.
7
- Version: 2.6.5
8
  Author: Vladimir Prelovac
9
  Author URI: http://www.prelovac.com/vladimir
10
 
11
  To-Do:
12
- - localization
13
- - integration module with google xml sitempas to support images sitemap
14
 
15
 
16
  Copyright 2008 Vladimir Prelovac vprelovac@gmail.com
@@ -21,11 +21,17 @@ $seo_friendly_images_localversion="2.6";
21
  $sfi_plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
22
  function seo_friendly_images_add_pages()
23
  {
24
- add_options_page('SEO Friendly Images options', 'SEO Friendly Images', 8, __FILE__, 'seo_friendly_images_options_page');
 
25
  }
26
 
27
 
28
-
 
 
 
 
 
29
  // Options Page
30
  function seo_friendly_images_options_page()
31
  {
@@ -62,6 +68,15 @@ function seo_friendly_images_options_page()
62
 
63
  }
64
 
 
 
 
 
 
 
 
 
 
65
  // Fetch code from DB
66
  $alt_text = get_option('seo_friendly_images_alt');
67
  $title_text = get_option('seo_friendly_images_title');
@@ -319,6 +334,9 @@ function seo_friendly_images_install(){
319
  add_option('seo_friendly_images_override_title', 'off');
320
  }
321
 
 
 
 
322
  }
323
 
324
 
4
  Plugin Name: SEO Friendly Images
5
  Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images
6
  Description: Automatically adds alt and title attributes to all your images. Improves traffic from search results and makes them W3C/xHTML valid as well.
7
+ Version: 2.7.0
8
  Author: Vladimir Prelovac
9
  Author URI: http://www.prelovac.com/vladimir
10
 
11
  To-Do:
12
+ - localization (done in premium version)
13
+ - integration module with google xml sitempas to support images sitemap (done in premium version)
14
 
15
 
16
  Copyright 2008 Vladimir Prelovac vprelovac@gmail.com
21
  $sfi_plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
22
  function seo_friendly_images_add_pages()
23
  {
24
+ add_options_page('SEO Friendly Images options', 'SEO Friendly Images', 'manage_options', __FILE__, 'seo_friendly_images_options_page');
25
+
26
  }
27
 
28
 
29
+ function seo_friendly_images_admin_notice() {
30
+
31
+ echo '<div class="updated" style="text-align: center;"><p style="font-size:13px">Get the paid version of <a target="_blank" href="http://www.prelovac.com/products/seo-friendly-images">SEO Friendly Images</a> with more features and support. <a target="_blank" href="http://www.prelovac.com/products/seo-friendly-images">Click to learn what is new</a></p><p style="text-align:right"><a href="options-general.php?page=seo-image/seo-friendly-images.php&notice=1">hide</a></p></div>';
32
+
33
+ }
34
+
35
  // Options Page
36
  function seo_friendly_images_options_page()
37
  {
68
 
69
  }
70
 
71
+ if (isset($_GET['notice']))
72
+ {
73
+ if ($_GET['notice']==1)
74
+ {
75
+
76
+ update_option('seo_friendly_images_notice', 1);
77
+ }
78
+ }
79
+
80
  // Fetch code from DB
81
  $alt_text = get_option('seo_friendly_images_alt');
82
  $title_text = get_option('seo_friendly_images_title');
334
  add_option('seo_friendly_images_override_title', 'off');
335
  }
336
 
337
+ if (!get_option('seo_friendly_images_notice'))
338
+ add_action('admin_notices', 'seo_friendly_images_admin_notice');
339
+
340
  }
341
 
342