Plugin Directory

Changeset 383286


Ignore:
Timestamp:
05/10/2011 06:09:53 PM (15 years ago)
Author:
kunalb
Message:

Final commit before moving to Github

Location:
eventpress/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • eventpress/trunk/controllers/wp.php

    r368060 r383286  
    3030        global $ep_models, $ep_controllers, $ep_views;
    3131
    32         //Enqueu all the post, taxonomy, etc. registration at the init action.
     32        //Register translation support
     33        load_plugin_textdomain( 'eventpress', false, basename( EP_DIR ) . '/lang' );
     34
     35        //Enqueue all the post, taxonomy, etc. registration at the init action.
    3336        add_action( 'init', Array( &$this, 'init' ) );
    3437
     
    9093     */
    9194    function landing_page() {
    92         add_rewrite_rule( 'events/?$', 'index.php?post_type=event', 'top' );
     95        add_rewrite_rule( 'events/?$', 'index.php?post_type=ep_event', 'top' );
    9396    }
    9497
     
    376379        }
    377380
    378         //Register translation support
    379         load_plugin_textdomain( 'eventpress', false, basename( EP_DIR ) . '/lang' );
    380 
    381381        //Register the shortcodes
    382382        add_shortcode( 'ep-calendar', 'ep_calendar' );
     
    550550     */
    551551    function kill_plugin() {
    552         ep_event_model::delete_pages();
    553552    }
    554553
  • eventpress/trunk/themes/wp/loop-event.php

    r280350 r383286  
    2222
    2323        <div class="entry-meta">
    24             <?php twentyten_posted_on(); ?>
     24            <?php /* twentyten_posted_on(); */ ?>
    2525        </div><!-- .entry-meta -->
    2626
  • eventpress/trunk/themes/wp/single-event.php

    r280350 r383286  
    2424
    2525                    <div class="entry-meta">
    26                         <?php twentyten_posted_on(); ?>
     26                        <?php /* twentyten_posted_on(); */ ?>
    2727                    </div><!-- .entry-meta -->
    2828
  • eventpress/trunk/views/wp-tags.php

    r368060 r383286  
    495495 */
    496496if ( !function_exists( 'ep_calendar' ) ) {
    497     function ep_calendar( $args ) {
     497    function ep_calendar( $args = '' ) {
    498498        $calendar = new EP_Calendar( $args );   
    499499    }
Note: See TracChangeset for help on using the changeset viewer.