Plugin Directory

Changeset 648623


Ignore:
Timestamp:
01/06/2013 07:57:59 AM (13 years ago)
Author:
ravidreams
Message:

edited plugin file tctgo_plugin.class.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tag-or-category-term-group-order/trunk/lib/tctgo_plugin.class.php

    r648620 r648623  
    1919        self::$plugin_path = realpath(dirname(__FILE__) . '/../Tag or Category term_group order.php');
    2020       
    21        
    22        
     21        /* Enqueue plugin style-file*/
     22        add_action( 'wp_enqueue_scripts', array(&$this,'tctgo_add_my_stylesheet') );
     23
    2324        register_activation_hook(self::$plugin_path, array(&$this, 'activate'));
    2425
     
    3031       
    3132    }
     33   
     34   
     35   
     36   
     37   public  function tctgo_add_my_stylesheet() {
     38        wp_register_style( 'tctgo-style', plugins_url('style.css', __FILE__) );
     39        wp_enqueue_style( 'tctgo-style' );
     40    }
     41   
    3242   
    3343    public function add_column_header ($columns) {
Note: See TracChangeset for help on using the changeset viewer.