Version Description
- Done the text domain change to match the plugin slug name.
Download this release
Release Info
Developer | Access Keys |
Plugin | AccessPress Instagram Feed |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- accesspress-instagram-feed.php +6 -6
- inc/backend/boards/about.php +2 -2
- inc/backend/boards/display-settings.php +6 -6
- inc/backend/boards/instagram-profiles.php +7 -7
- inc/backend/main-page.php +6 -6
- inc/backend/save-settings.php +1 -1
- inc/backend/widget.php +4 -4
- inc/backend/widgetside.php +8 -8
- readme.txt +4 -1
accesspress-instagram-feed.php
CHANGED
@@ -4,16 +4,16 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
4 |
Plugin name: AccessPress Instagram Feed
|
5 |
Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
|
6 |
Description: A plugin to add various instagram widgets with dynamic configuration options.
|
7 |
-
Version: 1.0.
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
-
Text Domain:
|
11 |
Domain Path: /languages/
|
12 |
License: GPLv2 or later
|
13 |
*/
|
14 |
//Decleration of the necessary constants for plugin
|
15 |
if( !defined( 'APIF_VERSION' ) ) {
|
16 |
-
define( 'APIF_VERSION', '1.0.
|
17 |
}
|
18 |
|
19 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
@@ -37,7 +37,7 @@ if( !defined( 'APIF_LANG_DIR' ) ) {
|
|
37 |
}
|
38 |
|
39 |
if( !defined( 'APIF_TEXT_DOMAIN' ) ) {
|
40 |
-
define( 'APIF_TEXT_DOMAIN', '
|
41 |
}
|
42 |
//Include admin
|
43 |
|
@@ -79,7 +79,7 @@ if( !class_exists( 'IF_Class' ) ) {
|
|
79 |
* Plugin Translation
|
80 |
*/
|
81 |
function plugin_text_domain() {
|
82 |
-
load_plugin_textdomain( '
|
83 |
}
|
84 |
/**
|
85 |
* Load Default Settings
|
@@ -95,7 +95,7 @@ if( !class_exists( 'IF_Class' ) ) {
|
|
95 |
* Plugin Admin Menu
|
96 |
*/
|
97 |
function add_if_menu() {
|
98 |
-
add_menu_page( __( 'AccessPress Instagram Feed', '
|
99 |
}
|
100 |
//plugins backend admin page
|
101 |
function main_page() {
|
4 |
Plugin name: AccessPress Instagram Feed
|
5 |
Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
|
6 |
Description: A plugin to add various instagram widgets with dynamic configuration options.
|
7 |
+
Version: 1.0.9
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
+
Text Domain:accesspress-instagram-feed
|
11 |
Domain Path: /languages/
|
12 |
License: GPLv2 or later
|
13 |
*/
|
14 |
//Decleration of the necessary constants for plugin
|
15 |
if( !defined( 'APIF_VERSION' ) ) {
|
16 |
+
define( 'APIF_VERSION', '1.0.9' );
|
17 |
}
|
18 |
|
19 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
37 |
}
|
38 |
|
39 |
if( !defined( 'APIF_TEXT_DOMAIN' ) ) {
|
40 |
+
define( 'APIF_TEXT_DOMAIN', 'accesspress-instagram-feed' );
|
41 |
}
|
42 |
//Include admin
|
43 |
|
79 |
* Plugin Translation
|
80 |
*/
|
81 |
function plugin_text_domain() {
|
82 |
+
load_plugin_textdomain( 'accesspress-instagram-feed', false, basename( dirname( __FILE__ ) ) . '/languages/' );
|
83 |
}
|
84 |
/**
|
85 |
* Load Default Settings
|
95 |
* Plugin Admin Menu
|
96 |
*/
|
97 |
function add_if_menu() {
|
98 |
+
add_menu_page( __( 'AccessPress Instagram Feed', 'accesspress-instagram-feed' ), __( 'AccessPress Instagram Feed', 'accesspress-instagram-feed' ), 'manage_options', 'if-instagram-feed', array($this, 'main_page'), APIF_IMAGE_DIR . '/sc-icon.png' );
|
99 |
}
|
100 |
//plugins backend admin page
|
101 |
function main_page() {
|
inc/backend/boards/about.php
CHANGED
@@ -15,14 +15,14 @@ All you have to do is either use a widget or shortcode to display your instagram
|
|
15 |
|
16 |
<h3>Other products by AccessPress themes </h3>
|
17 |
<div class="product">
|
18 |
-
<div class="logo-product"><img src="<?php echo APIF_IMAGE_DIR;?>/aplite.png" alt="<?php esc_attr_e('AccessPress Social Counter','
|
19 |
<div class="productext"><p><strong>AccessPress Lite</strong> - A very popular Free WordPress theme, available in WordPress.org<br />
|
20 |
<a href="http://accesspressthemes.com/wordpress-themes/accesspress-lite/" target="_blank">http://accesspressthemes.com/wordpress-themes/accesspress-lite/</a></p>
|
21 |
</div>
|
22 |
</div>
|
23 |
|
24 |
<div class="product">
|
25 |
-
<div class="logo-product"><img src="<?php echo APIF_IMAGE_DIR;?>/appro.png" alt="<?php esc_attr_e('AccessPress Social Counter','
|
26 |
<div class="productext"><p><strong>AccessPress Pro</strong> - Premium version of AccessPress lite<br />
|
27 |
<a href="http://accesspressthemes.com/wordpress-themes/accesspress-lite/" target="_blank">http://accesspressthemes.com/wordpress-themes/accesspress-pro/</a></p>
|
28 |
</div>
|
15 |
|
16 |
<h3>Other products by AccessPress themes </h3>
|
17 |
<div class="product">
|
18 |
+
<div class="logo-product"><img src="<?php echo APIF_IMAGE_DIR;?>/aplite.png" alt="<?php esc_attr_e('AccessPress Social Counter','accesspress-instagram-feed'); ?>" /></div>
|
19 |
<div class="productext"><p><strong>AccessPress Lite</strong> - A very popular Free WordPress theme, available in WordPress.org<br />
|
20 |
<a href="http://accesspressthemes.com/wordpress-themes/accesspress-lite/" target="_blank">http://accesspressthemes.com/wordpress-themes/accesspress-lite/</a></p>
|
21 |
</div>
|
22 |
</div>
|
23 |
|
24 |
<div class="product">
|
25 |
+
<div class="logo-product"><img src="<?php echo APIF_IMAGE_DIR;?>/appro.png" alt="<?php esc_attr_e('AccessPress Social Counter','accesspress-instagram-feed'); ?>" /></div>
|
26 |
<div class="productext"><p><strong>AccessPress Pro</strong> - Premium version of AccessPress lite<br />
|
27 |
<a href="http://accesspressthemes.com/wordpress-themes/accesspress-lite/" target="_blank">http://accesspressthemes.com/wordpress-themes/accesspress-pro/</a></p>
|
28 |
</div>
|
inc/backend/boards/display-settings.php
CHANGED
@@ -4,25 +4,25 @@
|
|
4 |
<div class="apsc-option-inner-wrapper">
|
5 |
<div class="apsc-option-field">
|
6 |
<div class="apsc-option-inner-wrapper">
|
7 |
-
<label style="float:left;"><?php _e('Image Like', '
|
8 |
-
<div class="apsc-option-field"><input type="checkbox" name="instagram[active]" value="1" class="apsc-counter-activation-trigger" <?php checked( $apif_settings['active'], '1'); ?>/><?php _e('Show/Hide', '
|
9 |
</div>
|
10 |
</div>
|
11 |
</div>
|
12 |
|
13 |
<div class="apsc-option-inner-wrapper">
|
14 |
-
<label style="width:30%;"><?php _e('Choose Instagram Themes Layout', '
|
15 |
<div class="apsc-option-field">
|
16 |
<label>
|
17 |
-
<input type="radio" name="instagram[instagram_mosaic]" value="mosaic" <?php if($apif_settings['instagram_mosaic']=='mosaic'){?>checked="checked"<?php }?>/><?php _e('Mosaic layout', '
|
18 |
<div class="apsc-theme-image"><img src="<?php echo APIF_IMAGE_DIR.'/themes/massonary.png';?>"/></div>
|
19 |
</label>
|
20 |
<label>
|
21 |
-
<input type="radio" name="instagram[instagram_mosaic]" value="mosaic_lightview" <?php if($apif_settings['instagram_mosaic']=='mosaic_lightview'){?>checked="checked"<?php }?>/><?php _e('Mosaic LightBox Layout', '
|
22 |
<div class="apsc-theme-image"><img src="<?php echo APIF_IMAGE_DIR.'/themes/lightbox.png';?>"/></div>
|
23 |
</label>
|
24 |
<label>
|
25 |
-
<input type="radio" name="instagram[instagram_mosaic]" value="slider" <?php if($apif_settings['instagram_mosaic']=='slider'){?>checked="checked"<?php }?>/><?php _e('Slider Layout', '
|
26 |
<div class="apsc-theme-image"><img src="<?php echo APIF_IMAGE_DIR.'/themes/slider.png';?>"/></div>
|
27 |
</label>
|
28 |
</div>
|
4 |
<div class="apsc-option-inner-wrapper">
|
5 |
<div class="apsc-option-field">
|
6 |
<div class="apsc-option-inner-wrapper">
|
7 |
+
<label style="float:left;"><?php _e('Image Like', 'accesspress-instagram-feed') ?></label>
|
8 |
+
<div class="apsc-option-field"><input type="checkbox" name="instagram[active]" value="1" class="apsc-counter-activation-trigger" <?php checked( $apif_settings['active'], '1'); ?>/><?php _e('Show/Hide', 'accesspress-instagram-feed'); ?></div>
|
9 |
</div>
|
10 |
</div>
|
11 |
</div>
|
12 |
|
13 |
<div class="apsc-option-inner-wrapper">
|
14 |
+
<label style="width:30%;"><?php _e('Choose Instagram Themes Layout', 'accesspress-instagram-feed'); ?></label>
|
15 |
<div class="apsc-option-field">
|
16 |
<label>
|
17 |
+
<input type="radio" name="instagram[instagram_mosaic]" value="mosaic" <?php if($apif_settings['instagram_mosaic']=='mosaic'){?>checked="checked"<?php }?>/><?php _e('Mosaic layout', 'accesspress-instagram-feed'); ?>
|
18 |
<div class="apsc-theme-image"><img src="<?php echo APIF_IMAGE_DIR.'/themes/massonary.png';?>"/></div>
|
19 |
</label>
|
20 |
<label>
|
21 |
+
<input type="radio" name="instagram[instagram_mosaic]" value="mosaic_lightview" <?php if($apif_settings['instagram_mosaic']=='mosaic_lightview'){?>checked="checked"<?php }?>/><?php _e('Mosaic LightBox Layout', 'accesspress-instagram-feed'); ?>
|
22 |
<div class="apsc-theme-image"><img src="<?php echo APIF_IMAGE_DIR.'/themes/lightbox.png';?>"/></div>
|
23 |
</label>
|
24 |
<label>
|
25 |
+
<input type="radio" name="instagram[instagram_mosaic]" value="slider" <?php if($apif_settings['instagram_mosaic']=='slider'){?>checked="checked"<?php }?>/><?php _e('Slider Layout', 'accesspress-instagram-feed'); ?>
|
26 |
<div class="apsc-theme-image"><img src="<?php echo APIF_IMAGE_DIR.'/themes/slider.png';?>"/></div>
|
27 |
</label>
|
28 |
</div>
|
inc/backend/boards/instagram-profiles.php
CHANGED
@@ -2,27 +2,27 @@
|
|
2 |
<div class="apsc-tab-wrapper">
|
3 |
<!--Instagram-->
|
4 |
<div class="apsc-option-outer-wrapper">
|
5 |
-
<h4><?php _e('Instagram Feed', '
|
6 |
<div class="apsc-option-extra">
|
7 |
<div class="apsc-option-inner-wrapper">
|
8 |
-
<label><?php _e('Instagram Username', '
|
9 |
<div class="apsc-option-field">
|
10 |
<input type="text" name="instagram[username]" value="<?php echo esc_attr($apif_settings['username']);?>"/>
|
11 |
-
<div class="apsc-option-note"><?php _e('Please enter the instagram username', '
|
12 |
</div>
|
13 |
</div>
|
14 |
<div class="apsc-option-inner-wrapper">
|
15 |
-
<label><?php _e('Instagram User ID', '
|
16 |
<div class="apsc-option-field">
|
17 |
<input type="text" name="instagram[user_id]" value="<?php echo esc_attr($apif_settings['user_id']);?>"/>
|
18 |
-
<div class="apsc-option-note"><?php _e('Please enter the instagram user ID.You can get this information from <a href="http://www.pinceladasdaweb.com.br/instagram/access-token/" target="_blank">http://www.pinceladasdaweb.com.br/instagram/access-token/</a>', '
|
19 |
</div>
|
20 |
</div>
|
21 |
<div class="apsc-option-inner-wrapper">
|
22 |
-
<label><?php _e('Instagram Access Token', '
|
23 |
<div class="apsc-option-field">
|
24 |
<input type="text" name="instagram[access_token]" value="<?php echo esc_attr($apif_settings['access_token']);?>"/>
|
25 |
-
<div class="apsc-option-note"><?php _e('Please enter the instagram Access Token.You can get this information from <a href="http://www.pinceladasdaweb.com.br/instagram/access-token/" target="_blank">http://www.pinceladasdaweb.com.br/instagram/access-token/</a>', '
|
26 |
</div>
|
27 |
</div>
|
28 |
</div>
|
2 |
<div class="apsc-tab-wrapper">
|
3 |
<!--Instagram-->
|
4 |
<div class="apsc-option-outer-wrapper">
|
5 |
+
<h4><?php _e('Instagram Feed', 'accesspress-instagram-feed') ?></h4>
|
6 |
<div class="apsc-option-extra">
|
7 |
<div class="apsc-option-inner-wrapper">
|
8 |
+
<label><?php _e('Instagram Username', 'accesspress-instagram-feed'); ?></label>
|
9 |
<div class="apsc-option-field">
|
10 |
<input type="text" name="instagram[username]" value="<?php echo esc_attr($apif_settings['username']);?>"/>
|
11 |
+
<div class="apsc-option-note"><?php _e('Please enter the instagram username', 'accesspress-instagram-feed'); ?></div>
|
12 |
</div>
|
13 |
</div>
|
14 |
<div class="apsc-option-inner-wrapper">
|
15 |
+
<label><?php _e('Instagram User ID', 'accesspress-instagram-feed'); ?></label>
|
16 |
<div class="apsc-option-field">
|
17 |
<input type="text" name="instagram[user_id]" value="<?php echo esc_attr($apif_settings['user_id']);?>"/>
|
18 |
+
<div class="apsc-option-note"><?php _e('Please enter the instagram user ID.You can get this information from <a href="http://www.pinceladasdaweb.com.br/instagram/access-token/" target="_blank">http://www.pinceladasdaweb.com.br/instagram/access-token/</a>', 'accesspress-instagram-feed'); ?></div>
|
19 |
</div>
|
20 |
</div>
|
21 |
<div class="apsc-option-inner-wrapper">
|
22 |
+
<label><?php _e('Instagram Access Token', 'accesspress-instagram-feed'); ?></label>
|
23 |
<div class="apsc-option-field">
|
24 |
<input type="text" name="instagram[access_token]" value="<?php echo esc_attr($apif_settings['access_token']);?>"/>
|
25 |
+
<div class="apsc-option-note"><?php _e('Please enter the instagram Access Token.You can get this information from <a href="http://www.pinceladasdaweb.com.br/instagram/access-token/" target="_blank">http://www.pinceladasdaweb.com.br/instagram/access-token/</a>', 'accesspress-instagram-feed'); ?></div>
|
26 |
</div>
|
27 |
</div>
|
28 |
</div>
|
inc/backend/main-page.php
CHANGED
@@ -11,11 +11,11 @@ $apif_settings = get_option( 'apif_settings' );
|
|
11 |
<div class="apsc-settings-header">
|
12 |
|
13 |
<div class="apsc-logo">
|
14 |
-
<img src="<?php echo APIF_IMAGE_DIR; ?>/instagram.png" alt="<?php esc_attr_e('AccessPress Instagram Feed', '
|
15 |
</div>
|
16 |
|
17 |
<div class="apsc-socials">
|
18 |
-
<p><?php _e('Follow us for new updates', '
|
19 |
<div class="ap-social-bttns">
|
20 |
|
21 |
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FAccessPress-Themes%2F1396595907277967&width&layout=button&action=like&show_faces=false&share=false&height=35&appId=1411139805828592" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:20px; width:50px " allowTransparency="true"></iframe>
|
@@ -32,7 +32,7 @@ $apif_settings = get_option( 'apif_settings' );
|
|
32 |
}(document, "script", "twitter-wjs");</script>
|
33 |
</div>
|
34 |
</div>
|
35 |
-
<div class="apsc-title"><?php _e('AccessPress Instagram Feed', '
|
36 |
</div>
|
37 |
|
38 |
<?php if(isset($_SESSION['apif_message'])){?><div class="apsc-success-message"><p><?php echo $_SESSION['apif_message'];unset($_SESSION['apif_message']);?></p></div><?php }?>
|
@@ -40,11 +40,11 @@ $apif_settings = get_option( 'apif_settings' );
|
|
40 |
<div class="apsc-boards-wrapper">
|
41 |
<ul class="apsc-settings-tabs">
|
42 |
|
43 |
-
<li><a href="javascript:void(0)" id="social-profile-settings" class="apsc-tabs-trigger apsc-active-tab"><?php _e('Instagram Profiles', '
|
44 |
|
45 |
-
<li><a href="javascript:void(0)" id="display-settings" class="apsc-tabs-trigger"><?php _e('Display Settings', '
|
46 |
|
47 |
-
<li><a href="javascript:void(0)" id="how_to_use-settings" class="apsc-tabs-trigger"><?php _e('How to use', '
|
48 |
|
49 |
<li><a href="javascript:void(0)" id="about-settings" class="apsc-tabs-trigger"><?php _e('About', 'anonymous-post'); ?></a></li>
|
50 |
|
11 |
<div class="apsc-settings-header">
|
12 |
|
13 |
<div class="apsc-logo">
|
14 |
+
<img src="<?php echo APIF_IMAGE_DIR; ?>/instagram.png" alt="<?php esc_attr_e('AccessPress Instagram Feed', 'accesspress-instagram-feed'); ?>" />
|
15 |
</div>
|
16 |
|
17 |
<div class="apsc-socials">
|
18 |
+
<p><?php _e('Follow us for new updates', 'accesspress-instagram-feed') ?></p>
|
19 |
<div class="ap-social-bttns">
|
20 |
|
21 |
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FAccessPress-Themes%2F1396595907277967&width&layout=button&action=like&show_faces=false&share=false&height=35&appId=1411139805828592" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:20px; width:50px " allowTransparency="true"></iframe>
|
32 |
}(document, "script", "twitter-wjs");</script>
|
33 |
</div>
|
34 |
</div>
|
35 |
+
<div class="apsc-title"><?php _e('AccessPress Instagram Feed', 'accesspress-instagram-feed'); ?></div>
|
36 |
</div>
|
37 |
|
38 |
<?php if(isset($_SESSION['apif_message'])){?><div class="apsc-success-message"><p><?php echo $_SESSION['apif_message'];unset($_SESSION['apif_message']);?></p></div><?php }?>
|
40 |
<div class="apsc-boards-wrapper">
|
41 |
<ul class="apsc-settings-tabs">
|
42 |
|
43 |
+
<li><a href="javascript:void(0)" id="social-profile-settings" class="apsc-tabs-trigger apsc-active-tab"><?php _e('Instagram Profiles', 'accesspress-instagram-feed') ?></a></li>
|
44 |
|
45 |
+
<li><a href="javascript:void(0)" id="display-settings" class="apsc-tabs-trigger"><?php _e('Display Settings', 'accesspress-instagram-feed'); ?></a></li>
|
46 |
|
47 |
+
<li><a href="javascript:void(0)" id="how_to_use-settings" class="apsc-tabs-trigger"><?php _e('How to use', 'accesspress-instagram-feed'); ?></a></li>
|
48 |
|
49 |
<li><a href="javascript:void(0)" id="about-settings" class="apsc-tabs-trigger"><?php _e('About', 'anonymous-post'); ?></a></li>
|
50 |
|
inc/backend/save-settings.php
CHANGED
@@ -28,6 +28,6 @@ $apif_settings['instagram_mosaic'] = isset($instagram_mosaic)?$instagram_mosaic:
|
|
28 |
$apif_settings['user_id'] = $user_id;
|
29 |
$apif_settings['active'] = isset($active) ? $active : ' ';
|
30 |
update_option('apif_settings', $apif_settings);
|
31 |
-
$_SESSION['apif_message'] = __('Settings Saved Successfully','
|
32 |
wp_redirect(admin_url().'admin.php?page=if-instagram-feed');
|
33 |
exit();
|
28 |
$apif_settings['user_id'] = $user_id;
|
29 |
$apif_settings['active'] = isset($active) ? $active : ' ';
|
30 |
update_option('apif_settings', $apif_settings);
|
31 |
+
$_SESSION['apif_message'] = __('Settings Saved Successfully','accesspress-instagram-feed');
|
32 |
wp_redirect(admin_url().'admin.php?page=if-instagram-feed');
|
33 |
exit();
|
inc/backend/widget.php
CHANGED
@@ -11,8 +11,8 @@ class APIF_Widget extends WP_Widget {
|
|
11 |
function __construct() {
|
12 |
parent::__construct(
|
13 |
'apif_widget', // Base ID
|
14 |
-
__('AP : Instagram Masonry', '
|
15 |
-
array('description' => __('AccessPress Instagram Widget', '
|
16 |
);
|
17 |
}
|
18 |
|
@@ -68,12 +68,12 @@ class APIF_Widget extends WP_Widget {
|
|
68 |
?>
|
69 |
<p>
|
70 |
|
71 |
-
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', '
|
72 |
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>"/>
|
73 |
</p>
|
74 |
<p>
|
75 |
|
76 |
-
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Layout :', '
|
77 |
<select class="widefat" id="<?php echo $this->get_field_id('layout'); ?>" name="<?php echo $this->get_field_name('layout'); ?>" >
|
78 |
<option value="">Default</option>
|
79 |
<?php for($i=1;$i<=3;$i++){
|
11 |
function __construct() {
|
12 |
parent::__construct(
|
13 |
'apif_widget', // Base ID
|
14 |
+
__('AP : Instagram Masonry', 'accesspress-instagram-feed'), // Name
|
15 |
+
array('description' => __('AccessPress Instagram Widget', 'accesspress-instagram-feed')) // Args
|
16 |
);
|
17 |
}
|
18 |
|
68 |
?>
|
69 |
<p>
|
70 |
|
71 |
+
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'accesspress-instagram-feed'); ?></label>
|
72 |
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>"/>
|
73 |
</p>
|
74 |
<p>
|
75 |
|
76 |
+
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Layout :', 'accesspress-instagram-feed'); ?></label>
|
77 |
<select class="widefat" id="<?php echo $this->get_field_id('layout'); ?>" name="<?php echo $this->get_field_name('layout'); ?>" >
|
78 |
<option value="">Default</option>
|
79 |
<?php for($i=1;$i<=3;$i++){
|
inc/backend/widgetside.php
CHANGED
@@ -11,8 +11,8 @@ class APIF_SideWidget extends WP_Widget {
|
|
11 |
function __construct() {
|
12 |
parent::__construct(
|
13 |
'apif_sidewidget', // Base ID
|
14 |
-
__('AP : Instagram Feeds', '
|
15 |
-
array('description' => __('AccessPress Instagram Feeds', '
|
16 |
);
|
17 |
}
|
18 |
|
@@ -131,12 +131,12 @@ global $apif_settings, $insta;
|
|
131 |
?>
|
132 |
<p>
|
133 |
|
134 |
-
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', '
|
135 |
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>"/>
|
136 |
</p>
|
137 |
<p>
|
138 |
|
139 |
-
<label for="<?php echo $this->get_field_id('instagram_num_img'); ?>"><?php _e('Number of Image:', '
|
140 |
<select class="widefat" id="<?php echo $this->get_field_id('instagram_num_img'); ?>" name="<?php echo $this->get_field_name('instagram_num_img'); ?>" >
|
141 |
<?php for($i=1;$i<=21;$i++){
|
142 |
?>
|
@@ -146,22 +146,22 @@ global $apif_settings, $insta;
|
|
146 |
</select>
|
147 |
</p>
|
148 |
<p>
|
149 |
-
<label for="<?php echo $this->get_field_id('instance_post'); ?>"><?php _e('Display Instagram Post :', '
|
150 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_post'); ?>" name="<?php echo $this->get_field_name('instance_post'); ?>" type="checkbox" value="1" <?php checked($instance_post,true);?>/>
|
151 |
</p>
|
152 |
|
153 |
<p>
|
154 |
-
<label for="<?php echo $this->get_field_id('instance_followers'); ?>"><?php _e('Display Followers :', '
|
155 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_followers'); ?>" name="<?php echo $this->get_field_name('instance_followers'); ?>" type="checkbox" value="1" <?php checked($instance_followers,true);?>/>
|
156 |
</p>
|
157 |
|
158 |
<p>
|
159 |
-
<label for="<?php echo $this->get_field_id('instance_following'); ?>"><?php _e('Display Instagram Following :', '
|
160 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_following'); ?>" name="<?php echo $this->get_field_name('instance_following'); ?>" type="checkbox" value="1" <?php checked($instance_following,true);?>/>
|
161 |
</p>
|
162 |
|
163 |
<p>
|
164 |
-
<label for="<?php echo $this->get_field_id('instance_follow'); ?>"><?php _e('Display Instagram Follow Button :', '
|
165 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_follow'); ?>" name="<?php echo $this->get_field_name('instance_follow'); ?>" type="checkbox" value="1" <?php checked($instance_follow,true);?>/>
|
166 |
</p>
|
167 |
<?php
|
11 |
function __construct() {
|
12 |
parent::__construct(
|
13 |
'apif_sidewidget', // Base ID
|
14 |
+
__('AP : Instagram Feeds', 'accesspress-instagram-feed'), // Name
|
15 |
+
array('description' => __('AccessPress Instagram Feeds', 'accesspress-instagram-feed')) // Args
|
16 |
);
|
17 |
}
|
18 |
|
131 |
?>
|
132 |
<p>
|
133 |
|
134 |
+
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'accesspress-instagram-feed'); ?></label>
|
135 |
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>"/>
|
136 |
</p>
|
137 |
<p>
|
138 |
|
139 |
+
<label for="<?php echo $this->get_field_id('instagram_num_img'); ?>"><?php _e('Number of Image:', 'accesspress-instagram-feed'); ?></label>
|
140 |
<select class="widefat" id="<?php echo $this->get_field_id('instagram_num_img'); ?>" name="<?php echo $this->get_field_name('instagram_num_img'); ?>" >
|
141 |
<?php for($i=1;$i<=21;$i++){
|
142 |
?>
|
146 |
</select>
|
147 |
</p>
|
148 |
<p>
|
149 |
+
<label for="<?php echo $this->get_field_id('instance_post'); ?>"><?php _e('Display Instagram Post :', 'accesspress-instagram-feed'); ?></label>
|
150 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_post'); ?>" name="<?php echo $this->get_field_name('instance_post'); ?>" type="checkbox" value="1" <?php checked($instance_post,true);?>/>
|
151 |
</p>
|
152 |
|
153 |
<p>
|
154 |
+
<label for="<?php echo $this->get_field_id('instance_followers'); ?>"><?php _e('Display Followers :', 'accesspress-instagram-feed'); ?></label>
|
155 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_followers'); ?>" name="<?php echo $this->get_field_name('instance_followers'); ?>" type="checkbox" value="1" <?php checked($instance_followers,true);?>/>
|
156 |
</p>
|
157 |
|
158 |
<p>
|
159 |
+
<label for="<?php echo $this->get_field_id('instance_following'); ?>"><?php _e('Display Instagram Following :', 'accesspress-instagram-feed'); ?></label>
|
160 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_following'); ?>" name="<?php echo $this->get_field_name('instance_following'); ?>" type="checkbox" value="1" <?php checked($instance_following,true);?>/>
|
161 |
</p>
|
162 |
|
163 |
<p>
|
164 |
+
<label for="<?php echo $this->get_field_id('instance_follow'); ?>"><?php _e('Display Instagram Follow Button :', 'accesspress-instagram-feed'); ?></label>
|
165 |
<input class="widefat" id="<?php echo $this->get_field_id('instance_follow'); ?>" name="<?php echo $this->get_field_name('instance_follow'); ?>" type="checkbox" value="1" <?php checked($instance_follow,true);?>/>
|
166 |
</p>
|
167 |
<?php
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: instagram, instagram feed, instagram tag, instagram slider, instagarm mosa
|
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -95,6 +95,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
95 |
5. Backend Display Settings Section
|
96 |
|
97 |
== Changelog ==
|
|
|
|
|
|
|
98 |
= 1.0.8 =
|
99 |
* Done the bug fixing for the widgets and shortcodes not working properly.
|
100 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 1.0.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
95 |
5. Backend Display Settings Section
|
96 |
|
97 |
== Changelog ==
|
98 |
+
= 1.0.9 =
|
99 |
+
* Done the text domain change to match the plugin slug name.
|
100 |
+
|
101 |
= 1.0.8 =
|
102 |
* Done the bug fixing for the widgets and shortcodes not working properly.
|
103 |
|