WordPress.org

Plugin Directory

Changeset 415421


Ignore:
Timestamp:
07/26/11 14:13:13 (3 years ago)
Author:
philiparthurmoore
Message:

Version 0.4.1

  • Remove shortcode filtering from the Graph Paper Press Page template page-blog.php, for Widescreen and Modularity (and child themes)
Location:
photo-galleria
Files:
33 added
2 edited

Legend:

Unmodified
Added
Removed
  • photo-galleria/trunk/photo-galleria.php

    r392733 r415421  
    66Plugin URI: http://graphpaperpress.com/2008/05/31/photo-galleria-plugin-for-wordpress/ 
    77Description: Creates beautiful slideshows from embedded WordPress galleries. 
    8 Version: 0.4.0 
     8Version: 0.4.1 
    99Author: Thad Allender 
    1010Author URI: http://graphpaperpress.com 
     
    393393     
    394394    // Show only on single posts and pages 
    395     if ( !is_admin() && is_single() || !is_admin() && is_page() ) { 
     395    if ( (!is_admin() && is_single()) || (!is_admin() && is_page()) && ( !is_page_template('page-blog.php') ) ) { 
    396396        echo "\n<script type=\"text/javascript\"> 
    397397                 
     
    505505} 
    506506 
    507     // Remove original wp gallery shortcode 
    508     remove_shortcode('gallery'); 
    509  
    510     // Add our new shortcode with galleria markup 
    511     add_shortcode('gallery', 'photo_galleria_shortcode'); 
     507 
     508    add_action('wp_head','add_gppphotogalleria_gallery'); 
     509    function add_gppphotogalleria_gallery() { 
     510        if( ( is_single() || is_page() ) && ( !is_page_template('page-blog.php') ) ){ 
     511            remove_shortcode('gallery'); 
     512            add_shortcode('gallery', 'photo_galleria_shortcode'); 
     513        } 
     514    } 
     515 
    512516 
    513517// Copy Photo Galleria Themes 
  • photo-galleria/trunk/readme.txt

    r392733 r415421  
    44Tags: photo, photos, gallery, galleries, photo gallery, lightbox  
    55Requires at least: 3.0 
    6 Tested up to: 3.1.3 
    7 Stable tag: 0.4.0 
     6Tested up to: 3.2.1 
     7Stable tag: 0.4.1 
    88 
    99Photo Galleria is a simple, yet elegant, plugin for photographers and designers who want to beautify and streamline their WordPress photo galleries. 
     
    4848 
    4949== Update Notice == 
    50 * Important update: Comment out add_filter calls to avoid fatal errors on plugin removal and installation. 
     50* Remove shortcode filtering from the Graph Paper Press Page template page-blog.php, for Widescreen and Modularity (and child themes) 
    5151 
    5252== Changelog == 
     53 
     54= Version 0.4.1 = 
     55* Remove shortcode filtering from the Graph Paper Press Page template page-blog.php, for Widescreen and Modularity (and child themes) 
    5356 
    5457= Version 0.4.0 = 
Note: See TracChangeset for help on using the changeset viewer.