WordPress.org

Plugin Directory

Changeset 1605141


Ignore:
Timestamp:
02/28/17 11:03:05 (10 months ago)
Author:
Litonice13
Message:

updated to 1.0.2 version

Location:
hc-facebook-like-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hc-facebook-like-widget/trunk/index.php

    r1067928 r1605141  
    11<?php  
    22/* 
    3 Plugin Name: HC Facebook Like Widget 
     3Plugin Name: Simple Facebook Like Widget 
    44Description: Facebook like widget plugin 
    5 Plugin URI: http://jeweltheme.com/product/facebook-like-widget-plugin 
     5Plugin URI: https://jeweltheme.com/product/facebook-like-widget-plugin 
    66Author: Liton Arefin 
    7 Version: 1.0.1 
    8 Author URI: http://www.jeweltheme.com 
     7Version: 1.0.2 
     8Author URI: https://www.jeweltheme.com 
    99License: GPL2 
    1010http://www.gnu.org/licenses/gpl-2.0.html 
    1111*/ 
     12 
     13/* Display a notice that can be dismissed */ 
     14 
     15add_action('admin_notices', 'jeweltheme_wp_awesome_faq_admin_notice'); 
     16 
     17function jeweltheme_wp_awesome_faq_admin_notice() { 
     18    global $current_user ; 
     19        $user_id = $current_user->ID; 
     20    if ( ! get_user_meta($user_id, 'jeweltheme_ignore_notice') ) { 
     21        echo '<div class="updated"><p>';          
     22        printf(__('<h4 style="font-size: 20px; color: #5FA52A; font-weight: normal; margin-bottom: 10px; margin-top: 5px;"><a href="http://jeweltheme.com/product/wp-awesome-faq-pro/" target="_blank">Get WP Awesome FAQ PRO Today!</a></h4>Check out Premium Features of <a href="http://jeweltheme.com/product/wp-awesome-faq-pro/" target="_blank">WP Awesome FAQ</a> Plugin. Compare Why this Plugin is really awesome !!! <br> 
     23            Jewel Theme, always express the power of WordPress. We are one of the best Team for creating stunning WordPress Themes - Plugins and Website Templates. <br> 
     24            Check all of our <a href="http://jeweltheme.com/product-category/wordpress-themes/" target="_blank">Free and Premium WordPress Themes</a> and <a href="http://jeweltheme.com/product-category/wordpress-plugins/" target="_blank">WordPress Plugins </a> <a style="float: right;" href="%1$s">X</a>'), '?jeweltheme_ignore=0'); 
     25        echo "</p></div>"; 
     26    } 
     27} 
     28add_action('admin_init', 'jeweltheme_wp_awesome_faq_ignore'); 
     29 
     30 
     31function jeweltheme_wp_awesome_faq_ignore() { 
     32    global $current_user; 
     33        $user_id = $current_user->ID; 
     34        if ( isset($_GET['jeweltheme_ignore']) && '0' == $_GET['jeweltheme_ignore'] ) { 
     35             add_user_meta($user_id, 'jeweltheme_ignore_notice', 'true', true); 
     36    } 
     37} 
     38 
     39 
    1240add_action('widgets_init','JewelTheme_Facebook_like_register'); 
    1341function JewelTheme_Facebook_like_register(){ 
  • hc-facebook-like-widget/trunk/readme.txt

    r1067928 r1605141  
    1 === HC Facebook Like Widget === 
     1=== Simple Facebook Like Widget === 
    22Contributors: litonice13, jwthemeltd 
    33Donate link: http://liton-online.com/donate 
     
    1111== Description == 
    1212 
    13 You need to set up a Facebook App ID and your Fan Page URL to see HC Facebook Like Widget in your sidebar. 
     13You need to set up a Facebook App ID and your Fan Page URL to see Simple Facebook Like Widget in your sidebar. 
    1414 
    1515From this widget you get to choose how you want the Facebook like box to be displayed on your page. You can select to display the Facebook Like us header, Show your Facebook fans or show the latest posts in your Facebook stream. 
Note: See TracChangeset for help on using the changeset viewer.