Version Description
- removal of unnecessary codes from plugins settings page.
Download this release
Release Info
Developer | Access Keys |
Plugin | AccessPress Instagram Feed |
Version | 2.0.7 |
Comparing to | |
See all releases |
Code changes from version 2.0.6 to 2.0.7
- accesspress-instagram-feed.php +2 -2
- css/backend.css +33 -0
- css/frontend.css +3 -1
- images/Thumbs.db +0 -0
- images/upgrade/Thumbs.db +0 -0
- images/upgrade/upgrade-bottom.png +0 -0
- images/upgrade/upgrade-top.png +0 -0
- images/upgrade/upgrade.png +0 -0
- inc/backend/boards/how-to-use.php +0 -1
- inc/backend/main-page.php +11 -3
- inc/backend/save-settings.php +0 -17
- readme.txt +39 -1
accesspress-instagram-feed.php
CHANGED
@@ -4,7 +4,7 @@ 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: 2.0.
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
Text Domain:accesspress-instagram-feed
|
@@ -13,7 +13,7 @@ License: GPLv2 or later
|
|
13 |
*/
|
14 |
//Decleration of the necessary constants for plugin
|
15 |
if( !defined( 'APIF_VERSION' ) ) {
|
16 |
-
define( 'APIF_VERSION', '2.0.
|
17 |
}
|
18 |
|
19 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
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: 2.0.7
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
Text Domain:accesspress-instagram-feed
|
13 |
*/
|
14 |
//Decleration of the necessary constants for plugin
|
15 |
if( !defined( 'APIF_VERSION' ) ) {
|
16 |
+
define( 'APIF_VERSION', '2.0.7' );
|
17 |
}
|
18 |
|
19 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
css/backend.css
CHANGED
@@ -756,4 +756,37 @@ padding: 1px 12px;
|
|
756 |
font-size: 15px;
|
757 |
margin-bottom: 25px;
|
758 |
margin-top: -10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
759 |
}
|
756 |
font-size: 15px;
|
757 |
margin-bottom: 25px;
|
758 |
margin-top: -10px;
|
759 |
+
}
|
760 |
+
|
761 |
+
.apsc-boards-wrapper{ float: left; width: 70%;}
|
762 |
+
.apif-upgrade-banner {
|
763 |
+
float: right;
|
764 |
+
width: 27%;
|
765 |
+
text-align: right;
|
766 |
+
}
|
767 |
+
.apif-demo-btn{
|
768 |
+
background: #f2f2f2;
|
769 |
+
padding: 6px 18px;
|
770 |
+
border:1px solid #ccc;
|
771 |
+
border-radius: 2px;
|
772 |
+
text-decoration: none;
|
773 |
+
color: #333;
|
774 |
+
margin-right: 10px;
|
775 |
+
}
|
776 |
+
.apif-upgrade-btn{
|
777 |
+
background: #00749e;
|
778 |
+
padding: 6px 18px;
|
779 |
+
border:1px solid #00749e;
|
780 |
+
text-decoration: none;
|
781 |
+
border-radius: 2px;
|
782 |
+
color: #fff;
|
783 |
+
}
|
784 |
+
.apif-button-wrap-bckend{
|
785 |
+
min-height: 40px; margin:20px 0px 0 0; clear: both; display: block; text-align: center;
|
786 |
+
}
|
787 |
+
@media( max-width: 980px){
|
788 |
+
.apsc-boards-wrapper{ width: 100%; clear: both; float: none; }
|
789 |
+
.apif-upgrade-banner {width: 100%; clear: both; float: none; text-align: center;}
|
790 |
+
|
791 |
+
|
792 |
}
|
css/frontend.css
CHANGED
@@ -336,4 +336,6 @@ span.instagram_like_count {
|
|
336 |
.apif-widget-wrapper .fa-heart-o:before {
|
337 |
content: "\f08a";
|
338 |
font-size: 16px;
|
339 |
-
}*/
|
|
|
|
336 |
.apif-widget-wrapper .fa-heart-o:before {
|
337 |
content: "\f08a";
|
338 |
font-size: 16px;
|
339 |
+
}*/
|
340 |
+
/* reset css */
|
341 |
+
.widget_apif_sidewidget ul{ padding: 0; margin: 0;}
|
images/Thumbs.db
ADDED
Binary file
|
images/upgrade/Thumbs.db
ADDED
Binary file
|
images/upgrade/upgrade-bottom.png
ADDED
Binary file
|
images/upgrade/upgrade-top.png
ADDED
Binary file
|
images/upgrade/upgrade.png
ADDED
Binary file
|
inc/backend/boards/how-to-use.php
CHANGED
@@ -23,5 +23,4 @@
|
|
23 |
<p>Use the shortcode <code>[ap_instagram_grid_rotator]</code> to display the instagram feed within your content.</p>
|
24 |
<p>Use the function <code><?php echo "<?php do_shortcode('[ap_instagram_grid_rotator]'); ?>"; ?></code> to display within template or theme files.</p>
|
25 |
</div>
|
26 |
-
|
27 |
</div>
|
23 |
<p>Use the shortcode <code>[ap_instagram_grid_rotator]</code> to display the instagram feed within your content.</p>
|
24 |
<p>Use the function <code><?php echo "<?php do_shortcode('[ap_instagram_grid_rotator]'); ?>"; ?></code> to display within template or theme files.</p>
|
25 |
</div>
|
|
|
26 |
</div>
|
inc/backend/main-page.php
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
<?php
|
2 |
defined('ABSPATH') or die("No script kiddies please!");
|
3 |
-
|
4 |
$apif_settings = get_option( 'apif_settings' );
|
5 |
//$this->print_array($apsc_settings);
|
6 |
?>
|
@@ -43,7 +42,7 @@ $apif_settings = get_option( 'apif_settings' );
|
|
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', 'accesspress-instagram-feed'); ?></a></li>
|
@@ -67,7 +66,7 @@ $apif_settings = get_option( 'apif_settings' );
|
|
67 |
* */
|
68 |
include_once('boards/display-settings.php');
|
69 |
?>
|
70 |
-
|
71 |
<?php
|
72 |
/**
|
73 |
* Captcha Settings
|
@@ -95,6 +94,15 @@ $apif_settings = get_option( 'apif_settings' );
|
|
95 |
</div><!--optionsframework-->
|
96 |
</div>
|
97 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
</div>
|
100 |
</div>
|
1 |
<?php
|
2 |
defined('ABSPATH') or die("No script kiddies please!");
|
|
|
3 |
$apif_settings = get_option( 'apif_settings' );
|
4 |
//$this->print_array($apsc_settings);
|
5 |
?>
|
42 |
<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>
|
43 |
|
44 |
<li><a href="javascript:void(0)" id="display-settings" class="apsc-tabs-trigger"><?php _e('Display Settings', 'accesspress-instagram-feed'); ?></a></li>
|
45 |
+
|
46 |
<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>
|
47 |
|
48 |
<li><a href="javascript:void(0)" id="about-settings" class="apsc-tabs-trigger"><?php _e('About', 'accesspress-instagram-feed'); ?></a></li>
|
66 |
* */
|
67 |
include_once('boards/display-settings.php');
|
68 |
?>
|
69 |
+
|
70 |
<?php
|
71 |
/**
|
72 |
* Captcha Settings
|
94 |
</div><!--optionsframework-->
|
95 |
</div>
|
96 |
</div>
|
97 |
+
|
98 |
+
<div class='apif-upgrade-banner'>
|
99 |
+
<img src="<?php echo APIF_IMAGE_DIR.'/upgrade/upgrade-top.png'; ?>" alt='upgrade-banner-top'/>
|
100 |
+
<div class="apif-button-wrap-bckend">
|
101 |
+
<a href='http://demo.accesspressthemes.com/wordpress-plugins/accesspress-instagram-feeds-pro/' class="apif-demo-btn" target='_blank' />Demo</a>
|
102 |
+
<a href='https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed-pro/' target="_blank" class="apif-upgrade-btn"/>upgrade</a>
|
103 |
+
</div>
|
104 |
+
<img src="<?php echo APIF_IMAGE_DIR.'/upgrade/upgrade-bottom.png'; ?>" alt='upgrade-banner-bottom'/>
|
105 |
+
</div>
|
106 |
|
107 |
</div>
|
108 |
</div>
|
inc/backend/save-settings.php
CHANGED
@@ -1,22 +1,5 @@
|
|
1 |
<?php
|
2 |
defined('ABSPATH') or die("No script kiddies please!");
|
3 |
-
|
4 |
-
//$this->print_array($_POST);die();
|
5 |
-
// echo '<pre>';
|
6 |
-
// print_r($_POST);
|
7 |
-
// echo '</pre>';
|
8 |
-
|
9 |
-
// die();
|
10 |
-
/**
|
11 |
-
[instagram] => Array
|
12 |
-
(
|
13 |
-
[username] => sujit.kayastha
|
14 |
-
[user_id] => asdfas
|
15 |
-
[access_token] => asdfasdf
|
16 |
-
[instagram_mosaic] => mosaic
|
17 |
-
)
|
18 |
-
|
19 |
-
**/
|
20 |
foreach($_POST['instagram'] as $key=>$val){
|
21 |
$$key = sanitize_text_field($val);
|
22 |
}
|
1 |
<?php
|
2 |
defined('ABSPATH') or die("No script kiddies please!");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
foreach($_POST['instagram'] as $key=>$val){
|
4 |
$$key = sanitize_text_field($val);
|
5 |
}
|
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.4
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -31,6 +31,41 @@ All you have to do is either use a widget or shortcode to display your instagram
|
|
31 |
* <strong>Free updates</strong>
|
32 |
- Get free updates for lifetime.
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
= Shortcode =
|
35 |
* Use the shortcode [ap_instagram_feed] to display the instagram feed within your content mosaic layout.
|
36 |
* Use the function `<?php do_shortcode('[ap_instagram_feed]'); ?>` to display within template or theme files mosaic layout.
|
@@ -95,6 +130,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
95 |
5. Backend Display Settings Section
|
96 |
|
97 |
== Changelog ==
|
|
|
|
|
|
|
98 |
= 2.0.6 =
|
99 |
* Addition of new layout - grid rotator layout.
|
100 |
* Addition of new shortcode for grid rotator layout.
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 2.0.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
31 |
* <strong>Free updates</strong>
|
32 |
- Get free updates for lifetime.
|
33 |
|
34 |
+
= Upgrade to pro: =
|
35 |
+
|
36 |
+
★ Supports user feeds, recent media, user likes, popular feeds,
|
37 |
+
any user, hashtag.
|
38 |
+
|
39 |
+
★ Add Instagram feeds to sidebars using widgets.
|
40 |
+
|
41 |
+
★ 10 different layout to choose.
|
42 |
+
|
43 |
+
★ Options to choose number of rows and columns for grid layouts.
|
44 |
+
|
45 |
+
★ Options to choose number of images to display.
|
46 |
+
|
47 |
+
★ Options to display likes and comment counts.
|
48 |
+
|
49 |
+
★ Counter display format options.
|
50 |
+
|
51 |
+
★ Options to display user profile image, username.
|
52 |
+
|
53 |
+
★ For each layout dynamic configurations available.
|
54 |
+
|
55 |
+
★ Option to enable lightbox.
|
56 |
+
|
57 |
+
★ There are all together 5 lightbox to choose from - Swipe box,
|
58 |
+
pretty photo, litbx, venobox.
|
59 |
+
|
60 |
+
★ Option to show load more button.
|
61 |
+
|
62 |
+
★ Jquery Animations And Effects.
|
63 |
+
|
64 |
+
|
65 |
+
= Premium upgrade =
|
66 |
+
|
67 |
+
For premium upgrade please go [here](https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed-pro/)
|
68 |
+
|
69 |
= Shortcode =
|
70 |
* Use the shortcode [ap_instagram_feed] to display the instagram feed within your content mosaic layout.
|
71 |
* Use the function `<?php do_shortcode('[ap_instagram_feed]'); ?>` to display within template or theme files mosaic layout.
|
130 |
5. Backend Display Settings Section
|
131 |
|
132 |
== Changelog ==
|
133 |
+
= 2.0.7 =
|
134 |
+
* removal of unnecessary codes from plugins settings page.
|
135 |
+
|
136 |
= 2.0.6 =
|
137 |
* Addition of new layout - grid rotator layout.
|
138 |
* Addition of new shortcode for grid rotator layout.
|