Version Description
- Done the security check for the direct access of the plugin backend files.
Download this release
Release Info
Developer | Access Keys |
Plugin | AccessPress Instagram Feed |
Version | 2.1.6 |
Comparing to | |
See all releases |
Code changes from version 2.1.5 to 2.1.6
- accesspress-instagram-feed.php +2 -4
- inc/backend/boards/about.php +1 -0
- inc/backend/boards/display-settings.php +1 -0
- inc/backend/boards/how-to-use.php +1 -0
- inc/backend/boards/instagram-profiles.php +1 -0
- inc/frontend/instagram-feed.php +2 -2
- js/frontend.js +27 -27
- readme.txt +4 -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.1.
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
Text Domain:accesspress-instagram-feed
|
@@ -14,7 +14,7 @@ License: GPLv2 or later
|
|
14 |
|
15 |
//Decleration of the necessary constants for plugin
|
16 |
if( !defined( 'APIF_VERSION' ) ) {
|
17 |
-
define( 'APIF_VERSION', '2.1.
|
18 |
}
|
19 |
|
20 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
@@ -73,9 +73,7 @@ if( !class_exists( 'IF_Class' ) ) {
|
|
73 |
add_shortcode( 'ap_instagram_slider', array($this, 'ap_instagram_slider') );
|
74 |
add_shortcode( 'ap_instagram_mosaic_lightview', array($this, 'ap_instagram_mosaic_light') );
|
75 |
add_shortcode( 'ap_instagram_grid_rotator', array($this, 'ap_instagram_grid_rotator') );
|
76 |
-
|
77 |
add_action( 'widgets_init', array($this, 'register_apif_widget') ); //registers the widget
|
78 |
-
|
79 |
}
|
80 |
/**
|
81 |
* Plugin Translation
|
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.1.6
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
Text Domain:accesspress-instagram-feed
|
14 |
|
15 |
//Decleration of the necessary constants for plugin
|
16 |
if( !defined( 'APIF_VERSION' ) ) {
|
17 |
+
define( 'APIF_VERSION', '2.1.6' );
|
18 |
}
|
19 |
|
20 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
73 |
add_shortcode( 'ap_instagram_slider', array($this, 'ap_instagram_slider') );
|
74 |
add_shortcode( 'ap_instagram_mosaic_lightview', array($this, 'ap_instagram_mosaic_light') );
|
75 |
add_shortcode( 'ap_instagram_grid_rotator', array($this, 'ap_instagram_grid_rotator') );
|
|
|
76 |
add_action( 'widgets_init', array($this, 'register_apif_widget') ); //registers the widget
|
|
|
77 |
}
|
78 |
/**
|
79 |
* Plugin Translation
|
inc/backend/boards/about.php
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
<div class="apsc-boards-tabs" id="apsc-board-about-settings" style="display: none;">
|
2 |
<div class="apsc-tab-wrapper">
|
3 |
<p><strong>AccessPress Instagram Feed </strong> - is a FREE WordPress Plugin by AccessPress Themes. </p>
|
1 |
+
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); ?>
|
2 |
<div class="apsc-boards-tabs" id="apsc-board-about-settings" style="display: none;">
|
3 |
<div class="apsc-tab-wrapper">
|
4 |
<p><strong>AccessPress Instagram Feed </strong> - is a FREE WordPress Plugin by AccessPress Themes. </p>
|
inc/backend/boards/display-settings.php
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
<div class="apsc-boards-tabs" id="apsc-board-display-settings" style="display: none">
|
2 |
<div class="apsc-tab-wrapper">
|
3 |
<div class="apsc-option-inner-wrapper">
|
1 |
+
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); ?>
|
2 |
<div class="apsc-boards-tabs" id="apsc-board-display-settings" style="display: none">
|
3 |
<div class="apsc-tab-wrapper">
|
4 |
<div class="apsc-option-inner-wrapper">
|
inc/backend/boards/how-to-use.php
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
<div class="apsc-boards-tabs" id="apsc-board-how_to_use-settings" style="display:none">
|
2 |
<div class="apsp-sub-title">Instagram 4 Different Layout Shortcode</div>
|
3 |
<div class="apsc-tab-wrapper">
|
1 |
+
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); ?>
|
2 |
<div class="apsc-boards-tabs" id="apsc-board-how_to_use-settings" style="display:none">
|
3 |
<div class="apsp-sub-title">Instagram 4 Different Layout Shortcode</div>
|
4 |
<div class="apsc-tab-wrapper">
|
inc/backend/boards/instagram-profiles.php
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
<div class="apsc-boards-tabs" id="apsc-board-social-profile-settings">
|
2 |
<div class="apsc-tab-wrapper">
|
3 |
<!--Instagram-->
|
1 |
+
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); ?>
|
2 |
<div class="apsc-boards-tabs" id="apsc-board-social-profile-settings">
|
3 |
<div class="apsc-tab-wrapper">
|
4 |
<!--Instagram-->
|
inc/frontend/instagram-feed.php
CHANGED
@@ -94,7 +94,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
94 |
<?php } ?>
|
95 |
</header>
|
96 |
<?php if ($image_like == '1') : ?>
|
97 |
-
<!-- Image like
|
98 |
<span class="instagram_like_count">
|
99 |
<p class="instagram_imge_like">
|
100 |
<span class="insta like_image">
|
@@ -103,7 +103,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
103 |
<span class="count"><?php echo $likes = $vm['likes']['count']; ?></span>
|
104 |
</p>
|
105 |
</span>
|
106 |
-
<!-- Image like
|
107 |
<?php endif; ?>
|
108 |
</div>
|
109 |
</div>
|
94 |
<?php } ?>
|
95 |
</header>
|
96 |
<?php if ($image_like == '1') : ?>
|
97 |
+
<!-- Image like count section start -->
|
98 |
<span class="instagram_like_count">
|
99 |
<p class="instagram_imge_like">
|
100 |
<span class="insta like_image">
|
103 |
<span class="count"><?php echo $likes = $vm['likes']['count']; ?></span>
|
104 |
</p>
|
105 |
</span>
|
106 |
+
<!-- Image like count section end -->
|
107 |
<?php endif; ?>
|
108 |
</div>
|
109 |
</div>
|
js/frontend.js
CHANGED
@@ -29,36 +29,36 @@ jQuery(document).ready(function($) {
|
|
29 |
|
30 |
|
31 |
$( '.ri-grid' ).gridrotator({
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
|
59 |
});
|
60 |
|
61 |
-
// Mosaic View Layout Javascript
|
62 |
function initHoverEffectForThumbView() {
|
63 |
jQuery('.thumb-elem, .grid-elem header').each(function(){
|
64 |
var thisElem = jQuery(this);
|
29 |
|
30 |
|
31 |
$( '.ri-grid' ).gridrotator({
|
32 |
+
rows : '2',
|
33 |
+
columns : '5',
|
34 |
+
maxStep : 2,
|
35 |
+
interval : 2000,
|
36 |
+
preventClick : false,
|
37 |
+
w1024 : {
|
38 |
+
rows : '2',
|
39 |
+
columns : '5'
|
40 |
+
},
|
41 |
+
w768 : {
|
42 |
+
rows : '2',
|
43 |
+
columns : '5'
|
44 |
+
},
|
45 |
+
w480 : {
|
46 |
+
rows : '2',
|
47 |
+
columns : '5'
|
48 |
+
},
|
49 |
+
w320 : {
|
50 |
+
rows : '2',
|
51 |
+
columns : '5'
|
52 |
+
},
|
53 |
+
w240 : {
|
54 |
+
rows : '2',
|
55 |
+
columns : '5'
|
56 |
+
}
|
57 |
+
});
|
58 |
|
59 |
});
|
60 |
|
61 |
+
// Mosaic View Layout Javascript
|
62 |
function initHoverEffectForThumbView() {
|
63 |
jQuery('.thumb-elem, .grid-elem header').each(function(){
|
64 |
var thisElem = jQuery(this);
|
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.5
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,6 +132,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
132 |
5. Backend Display Settings Section
|
133 |
|
134 |
== Changelog ==
|
|
|
|
|
|
|
135 |
= 2.1.5 =
|
136 |
* Update the owl carausel slider - js and css files to newer version.
|
137 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 2.1.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
5. Backend Display Settings Section
|
133 |
|
134 |
== Changelog ==
|
135 |
+
= 2.1.6 =
|
136 |
+
* Done the security check for the direct access of the plugin backend files.
|
137 |
+
|
138 |
= 2.1.5 =
|
139 |
* Update the owl carausel slider - js and css files to newer version.
|
140 |
|