Plugin Directory

Changeset 1399651


Ignore:
Timestamp:
04/19/2016 08:13:39 PM (10 years ago)
Author:
emilushi
Message:

Updated to 1.2.0: Added horizontal option

Location:
latest-posts-with-thumbnails-and-ads/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • latest-posts-with-thumbnails-and-ads/trunk/latest_posts_with_thumbnails_and_ads.php

    r1233865 r1399651  
    33* Plugin Name: Latest Posts With Thumbnails and Ads
    44* Plugin URI: http://www.shomtek.com/plugins/latest_posts_with_thumbnails_and_ads
    5 * Description: Simple wordpress plugin that shows latest posts of your blog with pics, possibility to show your ads between posts. If the widget genereted by the plugin will be showed on a single post page the current post will be hidden from the list. <a href="http://www.shomtek.com" title="SHOMTek">www.shomtek.com</a>
    6 * Version: 1.0.1
     5* Description: Simple wordpress plugin that shows latest posts of your blog with pics, possibility to show your ads between posts, select you prefered view from vertical to horizontal carousel. If the widget genereted by the plugin will be showed on a single post page the current post will be hidden from the list. <a href="http://www.shomtek.com" title="SHOMTek">www.shomtek.com</a>
     6* Version: 1.2.0
    77* Author: Eduart Milushi
    88* Author URI: http://shomtek.com
     
    3434
    3535// Pluing version
    36 define( 'SHOMTEK_VERSION', '1.0' );
     36define( 'SHOMTEK_VERSION', '1.2.0' );
    3737
    3838// Define plugin directory
     
    4747
    4848    wp_enqueue_style( 'plugin_style', SHOMTEK__PLUGIN_URL . 'assets/style.css', array(), SHOMTEK_VERSION );
     49    wp_enqueue_style( 'owlCarousel_css', SHOMTEK__PLUGIN_URL . 'assets/owl.carousel.2.0.0-beta.2.4/assets/owl.carousel.css', array(), SHOMTEK_VERSION );
    4950
    5051}
    5152
    5253add_action( 'wp_enqueue_scripts', 'shomtek_load_plugin_css' );
     54
     55function shomtek_load_plugin_js() {
     56    wp_enqueue_script( 'owlCarousel', SHOMTEK__PLUGIN_URL . 'assets/owl.carousel.2.0.0-beta.2.4/owl.carousel.min.js', array(), '2.4', true );
     57    wp_enqueue_script( 'plugin_script', SHOMTEK__PLUGIN_URL . 'assets/shomtek.js', array(), SHOMTEK_VERSION, true );
     58
     59}
     60
     61add_action( 'wp_enqueue_scripts', 'shomtek_load_plugin_js' );
    5362
    5463// Register Recent Post With Pics Widget
     
    5867
    5968        register_widget( 'shomtek_latest_posts' );
    60    
     69
    6170    }
    6271
  • latest-posts-with-thumbnails-and-ads/trunk/readme.txt

    r1399647 r1399651  
    1 === Latest Posts With Thumbnails and Carousel ===
     1=== Latest Posts With Thumbnails and Ads ===
    22Contributors: emilushi
    33Tags: widget, latest post, recent posts, sidebar, latest posts with thumbnails, thumbnails, ads, latest posts horizontal, latest posts carousel
     
    3939
    4040= 1.2.0 =
    41 * Fixed assent loading and plugin functionality with AdBlock extension enabled
    42 * Changed plugin name from Latest Posts With Thumbnails and Ads to Latest Posts With Thumbnails and Carousel
     41* Tested plugin compatibility with WordPress 4.5
    4342* Added horizontal version
    4443* Added OWL Carousel for horizontal option
Note: See TracChangeset for help on using the changeset viewer.