Plugin Directory

Changeset 760253


Ignore:
Timestamp:
08/21/2013 07:30:32 PM (13 years ago)
Author:
cmdtv
Message:

FIXED: Many Theme functions updated to work outside the Loop
FIXED: Icon font now compatible with FontAwesome
FIXED: Once the Project Submission Template has been copied to the active plugin directory do not remove it.
UPDATED: Templates now reflect icon font changes

Location:
community-jar/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • community-jar/trunk/README.txt

    r760147 r760253  
    55Requires at least: 3.4
    66Tested up to: 3.6
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.3
    88
    99Have a need or Help a need? The Community Jar makes it easy for anyone to submit a service project or volunteer to help meet a need.
  • community-jar/trunk/plugin.php

    r760147 r760253  
    44Plugin URI: http://ChurchMediaDesign.tv/community-jar
    55Description: Have a need or Help a need? The Community Jar makes it easy for anyone to submit a service project or volunteer to help meet a need.
    6 Version: 1.0.1
     6Version: 1.0.3
    77Author: Brad Zimmerman
    88Author URI: http://ChurchMediaDesign.tv/
     
    139139        // Register the plugin template files on plugin acivation
    140140        register_activation_hook( __FILE__, array( $this, 'register_project_template' ) );
    141         register_deactivation_hook( __FILE__, array( $this, 'deregister_project_template' ) );
    142141       
    143142        // Register the plugin template files when the theme is switched
     
    12611260        return $template;
    12621261    }
    1263    
    1264     /**
    1265      * Removes the template from the theme directory that was added during theme activation.
    1266      *
    1267      * @version 1.0
    1268      * since    1.0
    1269      */
    1270     public static function deregister_project_template() {
    1271        
    1272         // Get the path to the theme
    1273         $theme_dir = get_template_directory();
    1274         $template_path = $theme_dir . '/community-jar-project-submission.php';
    1275        
    1276         // If the template file is in the theme path, delete it.
    1277         if( file_exists( $template_path ) ) {
    1278             unlink( $template_path );
    1279         } // end if
    1280        
    1281     } // end deregister_project_template
    12821262     
    12831263    /*---------------------------------------------------------*
Note: See TracChangeset for help on using the changeset viewer.