Version Description
- Added the dependency for the frontend.js and added the scripts to be loaded to the footer.
Download this release
Release Info
Developer | Access Keys |
Plugin | ![]() |
Version | 2.2.7 |
Comparing to | |
See all releases |
Code changes from version 2.2.6 to 2.2.7
- accesspress-instagram-feed.php +5 -5
- js/frontend.js +7 -10
- 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.2.
|
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.2.
|
18 |
}
|
19 |
|
20 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
@@ -148,10 +148,10 @@ if( !class_exists( 'IF_Class' ) ) {
|
|
148 |
|
149 |
wp_enqueue_script( 'lightbox-js', APIF_JS_DIR . '/lightbox.js', array('jquery'), '2.8.1', true );
|
150 |
wp_enqueue_script( 'apif-isotope-pkgd-min-js', APIF_JS_DIR . '/isotope.pkgd.min.js', array('jquery'), '2.2.0', true );
|
151 |
-
wp_enqueue_script( 'apif-modernizr-custom', APIF_JS_DIR . '/modernizr.custom.26633.js', '', APIF_VERSION );
|
152 |
-
wp_enqueue_script( 'apif-gridrotator', APIF_JS_DIR . '/jquery.gridrotator.js', array('jquery', 'apif-modernizr-custom'), APIF_VERSION );
|
153 |
wp_enqueue_script( 'owl-carousel-js', APIF_JS_DIR . '/owl.carousel.js', array('jquery') );
|
154 |
-
wp_enqueue_script( 'apif-frontend-js', APIF_JS_DIR . '/frontend.js', array('jquery'), APIF_VERSION );
|
155 |
}
|
156 |
//instagram feed shortcode
|
157 |
function ap_instagram_feed() {
|
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.2.7
|
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.2.7' );
|
18 |
}
|
19 |
|
20 |
if( !defined( 'APIF_IMAGE_DIR' ) ) {
|
148 |
|
149 |
wp_enqueue_script( 'lightbox-js', APIF_JS_DIR . '/lightbox.js', array('jquery'), '2.8.1', true );
|
150 |
wp_enqueue_script( 'apif-isotope-pkgd-min-js', APIF_JS_DIR . '/isotope.pkgd.min.js', array('jquery'), '2.2.0', true );
|
151 |
+
wp_enqueue_script( 'apif-modernizr-custom', APIF_JS_DIR . '/modernizr.custom.26633.js', '', APIF_VERSION, true );
|
152 |
+
wp_enqueue_script( 'apif-gridrotator', APIF_JS_DIR . '/jquery.gridrotator.js', array('jquery', 'apif-modernizr-custom'), APIF_VERSION, true );
|
153 |
wp_enqueue_script( 'owl-carousel-js', APIF_JS_DIR . '/owl.carousel.js', array('jquery') );
|
154 |
+
wp_enqueue_script( 'apif-frontend-js', APIF_JS_DIR . '/frontend.js', array('jquery', 'apif-isotope-pkgd-min-js', 'apif-modernizr-custom', 'apif-gridrotator'), APIF_VERSION, true);
|
155 |
}
|
156 |
//instagram feed shortcode
|
157 |
function ap_instagram_feed() {
|
js/frontend.js
CHANGED
@@ -1,14 +1,11 @@
|
|
1 |
-
(function ($) {
|
2 |
-
$(function () {
|
3 |
-
$(window).load(function(){
|
4 |
-
var $grid = $('.ifgrid').isotope({
|
5 |
-
itemSelector: '.element-itemif'
|
6 |
-
});
|
7 |
-
});
|
8 |
-
});
|
9 |
-
}(jQuery));
|
10 |
-
|
11 |
jQuery(document).ready(function($) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
$(".owl-carousel").owlCarousel({
|
13 |
margin: 10,
|
14 |
loop: true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
jQuery(document).ready(function($) {
|
2 |
+
|
3 |
+
$('.ifgrid').isotope({
|
4 |
+
// options
|
5 |
+
itemSelector: '.element-itemif',
|
6 |
+
// layoutMode: 'fitRows'
|
7 |
+
});
|
8 |
+
|
9 |
$(".owl-carousel").owlCarousel({
|
10 |
margin: 10,
|
11 |
loop: true,
|
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.7
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -138,6 +138,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
138 |
5. Backend Display Settings Section
|
139 |
|
140 |
== Changelog ==
|
|
|
|
|
|
|
141 |
= 2.2.6 =
|
142 |
* Addition of the instagram user ID optional info in the plugin's backend settings.
|
143 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 2.2.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
138 |
5. Backend Display Settings Section
|
139 |
|
140 |
== Changelog ==
|
141 |
+
= 2.2.7 =
|
142 |
+
* Added the dependency for the frontend.js and added the scripts to be loaded to the footer.
|
143 |
+
|
144 |
= 2.2.6 =
|
145 |
* Addition of the instagram user ID optional info in the plugin's backend settings.
|
146 |
|