Plugin Directory

Changeset 806538


Ignore:
Timestamp:
11/19/2013 03:50:29 AM (12 years ago)
Author:
wirka
Message:

Send update for version 0.3

Location:
multiple-gallery-on-post/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • multiple-gallery-on-post/trunk/admin/options.php

    r806114 r806538  
    3333    <?php
    3434}
    35 
    3635
    3736/**
  • multiple-gallery-on-post/trunk/functions.php

    r806114 r806538  
    243243   
    244244// Register style and scripts
    245 // Since 0.1
    246 if(! function_exists('mgop_add_head_tag')){
    247    
    248     add_action('wp_head', 'mgop_add_head_tag');
    249     function mgop_add_head_tag(){
    250         wp_enqueue_style( 'mgop-theme-style', plugins_url() . '/multiple-gallery-on-post/style/style.css' );
     245// Since 0.3
     246if(! function_exists('mgop_register_plugin_styles')){
     247   
     248    add_action( 'wp_enqueue_scripts', 'mgop_register_plugin_styles' );
     249    function mgop_register_plugin_styles(){
     250        wp_register_style( 'mgop-theme-style', plugins_url() . '/multiple-gallery-on-post/style/style.css' );
     251        wp_enqueue_style( 'mgop-theme-style' );
     252       
    251253        wp_enqueue_script( 'mgop-theme-script', plugins_url() . '/multiple-gallery-on-post/style/style.js' );
    252254    }
  • multiple-gallery-on-post/trunk/multiple-gallery-on-post.php

    r806114 r806538  
    44 * Plugin URI: http://iwayanwirka.duststone.com/multiple-gallery-on-post/
    55 * Description: Very simple gallery plugin embeded on post as metabox, be able to add multiple metaboxes in one post with ability to insert multiple images for each.
    6  * Version: 0.2
     6 * Version: 0.3
    77 * Author: I Wayan Wirka
    88 * Author URI: http://iwayanwirka.duststone.com/
  • multiple-gallery-on-post/trunk/readme.txt

    r806114 r806538  
    17172. Gallery as a metabox for each galleries.
    18183. Unlimited images.
    19 4. Be able to be automatically picked up into post display.
     194. Be able to displayed by shortcode or automatically before or after post content.
    2020
    2121== Installation ==
     
    24243. Go to settings page on Settings -> Multiple Gallery on Post.
    25254. Define gallery metaboxes through plugin setting page per content type.
    26 5. Your post or page (depend on your settings) will have new gallery metabox(es), feel free to add new images.
     265. Go to edit post or page, it will have new gallery metaboxes(depend on your settings), feel free to add new images.
    2727
    2828== Screenshots ==
     
    3232
    3333== Changelog ==
     34= 0.3 =
     35* Fix registering style plugin to wp_head() instead of wp_footer().
     36
    3437= 0.2 =
    3538* Add options to display by shortcode.
     
    3942
    4043== Upgrade Notice ==
     44= 0.3 =
     45* Fix registering style plugin to wp_head() instead of wp_footer().
     46
    4147= 0.1 =
    4248* Initial release.
Note: See TracChangeset for help on using the changeset viewer.