WordPress.org

Plugin Directory

Changeset 1679533


Ignore:
Timestamp:
06/15/17 20:10:30 (2 weeks ago)
Author:
Litonice13
Message:

Latest Version

Location:
jewel-flickr/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • jewel-flickr/trunk/jewel-flickr.php

    r1615184 r1679533  
    55Author Uri: http://www.jeweltheme.com 
    66Description: Jewel Flickr Plugin is a Simple Flickr Plugin to show Flickr Photos 
    7 Version: 1.0.0 
     7Version: 1.0.1 
    88*/ 
    99add_action( 'widgets_init', 'Jewel_Flickr_register' ); 
     
    179179 
    180180} 
     181 
     182 
     183 
     184/*function sample_admin_notice__success() { 
     185    ?> 
     186    <div class="notice notice-success is-dismissible"> 
     187        <p><?php _e( 'Upgrade to Pro Version of Jewel-Flickr.Click <a href="">here</a>', 'sample-text-domain' ); ?></p> 
     188    </div> 
     189    <?php 
     190} 
     191add_action( 'admin_notices', 'sample_admin_notice__success' );*/ 
     192 
     193 
     194/*add_action('admin_notices', 'jewel_flickr_upgrade_notice'); 
     195 
     196function jewel_flickr_upgrade_notice() { 
     197    global $current_user ; 
     198        $user_id = $current_user->ID; 
     199    if ( ! get_user_meta($user_id, 'example_ignore_notice') ) { 
     200        echo '<div class="updated"><p>'; ?> 
     201        <a href="https://jeweltheme.com/product/jewel-flickr-pro/">Upgrade</a> To Pro Version For More Features. 
     202         
     203        <?php printf(__('Upgrade to Pro Version For More Features. <a href="%1$s">Hide</a>'), '?jewel_flickr_ignore=0');  ?> 
     204             
     205        <?php echo "</p></div>"; 
     206    } 
     207} 
     208 
     209add_action('admin_init', 'jewel_flickr_ignore'); 
     210 
     211function jewel_flickr_ignore() { 
     212    global $current_user; 
     213        $user_id = $current_user->ID; 
     214        if ( isset($_GET['jewel_flickr_ignore']) && '0' == $_GET['jewel_flickr_ignore'] ) { 
     215             add_user_meta($user_id, 'example_ignore_notice', 'true', true); 
     216    } 
     217}*/ 
     218 
     219 
     220 
     221 
     222 
     223/* Display a notice that can be dismissed */ 
     224 
     225add_action('admin_notices', 'jewel_flickr_upgrade_notice'); 
     226 
     227function jewel_flickr_upgrade_notice() { 
     228    global $current_user ; 
     229        $user_id = $current_user->ID; 
     230    if ( get_user_meta($user_id, 'example_ignore_notice') ) { 
     231        echo '<p>'; ?> 
     232        <div class="notice notice-success is-dismissible"> 
     233            <p><?php _e( 'Upgrade to Pro Version of Jewel-Flickr.Click <a target="_blank" href="https://jeweltheme.com/product/jewel-flickr-pro">here</a>', 'sample-text-domain' ); ?></p> 
     234        </div>   
     235        <?php echo "</p>"; 
     236    } 
     237} 
     238 
     239add_action('admin_init', 'jewel_flickr_ignore'); 
     240 
     241function jewel_flickr_ignore() { 
     242    global $current_user; 
     243        $user_id = $current_user->ID; 
     244        if ( isset($_GET['jewel_flickr_ignore']) && '0' == $_GET['jewel_flickr_ignore'] ) { 
     245             add_user_meta($user_id, 'example_ignore_notice', 'true', true); 
     246    } 
     247} 
  • jewel-flickr/trunk/readme.txt

    r1615190 r1679533  
    11=== Jewel Flickr === 
    22Contributors: jwthemeltd, litonice13, rakib3784 
    3 Tags: flickr, widget, flickr widgt, simple flickr widget, wp flickr plugin, simple flickr wp plugin, badge, feed, photostream, javascript, sidebar, gallery, photo, photo gallery, photography, sidebar, user, group, image, images, recent, random, picture, image-widget 
     3Tags: flickr, widget, badge, feed, photostream, javascript, sidebar, gallery, photo, photo gallery, photography, sidebar, user, group, image, images, recent, random, picture, image-widget 
    44Requires at least: 4.0 
    55Tested up to: 4.7 
     
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    99 
    10 Jewel Flickr is a Simple WordPress Flickr Plugin to show Flickr Photos in your sidebar.  
     10Jewel Flickr Plugin is a Simple Flickr Plugin to show Flickr Photos in your sidebar.  
    1111 
    1212== Description == 
    13 [Homepage](https://jeweltheme.com) | [Demo](https://demos.jeweltheme.com/cast) | [Documentation](http://docs.jeweltheme.com) | [Suppport](https://jeweltheme.com/support) | [Premium Version](https://jeweltheme.com/product/jewel-flickr-simple-flickr-widget-plugin/) 
     13[Homepage](https://jeweltheme.com) | [Demo](https://demo.jeweltheme.com/) | [Documentation](https://jeweltheme.com/documentation/jewel_flickr/) | [Suppport](https://jeweltheme.com/support) | [Premium Version](https://jeweltheme.com/product/jewel-flickr-pro/) 
    1414 
    1515### Show your flickr photos form flickr, in an easy and fun way! ###  
     
    2626* <strong>Order the icons - they way you like by using easy drag and drop feature.</strong>  
    2727* <strong>Fully Responsive - compatible with mobile devices</strong> 
    28 * <strong>User friendly and very interactive user interface</strong> 
     28* <strong>User friendly and very interactive user interface</strong  
    2929* <strong>Upgrades available</strong>  
    3030    - For more features like flickr image slider, more customization options - upgrade to Pro.  
     
    4949For complete information and documentation regarding plugin,please visit below links. 
    5050 
    51 [Plugin information](https://jeweltheme.com/product/jewel-flickr-simple-flickr-widget-plugin/) 
     51[Plugin information](https://accesspressthemes.com/wordpress-plugins/accesspress-social-icons/) 
    5252 
    53 [Docs](http://docs.jeweltheme.com ) 
     53[Docs](https://accesspressthemes.com/documentation/documentationplugin-instruction-accesspress-social-icons/ ) 
    5454 
     55[Browse More WordPress Plugin Resources](http://wpall.club) 
    5556 
    5657== Installation == 
     
    8081== Changelog == 
    8182= 1.0.0 =  
    82 * Initial Release 
     83* Adjusted dynamic width assignment for images  
    8384 
    8485== Upgrade Notice == 
    8586 
    86 = 1.0.0 =  
     87= 1.0.1 =  
    8788There is an update available for the Jewel Flickr Plugin .Please update to recieve new updates and bug fixes. 
Note: See TracChangeset for help on using the changeset viewer.