Plugin Directory

Changeset 1889458


Ignore:
Timestamp:
06/08/2018 07:47:12 AM (8 years ago)
Author:
velathemes
Message:

version 1.0.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • astore-companion/trunk/astore-companion.php

    r1889388 r1889458  
    7373        wp_enqueue_style( 'wp-color-picker' );
    7474       
     75        $theme = get_option('stylesheet');
     76       
    7577        if(isset($_GET['page']) && $_GET['page']=='astore-template'){
    7678            wp_enqueue_script( 'plugin-install' );
     
    8587                    'i18n' =>array('t1'=> __( 'Install and Import', 'astore-companion' ),'t2'=> __( 'Import', 'astore-companion' ) ),
    8688                ) );
     89
     90    if( $theme == 'astore-pro' ){
     91        $custom_css = '.astore-free{ display:none;}';
     92        wp_add_inline_style( 'astore-companion-admin', wp_filter_nohtml_kses($custom_css) );
     93    }
    8794    }
    8895   
Note: See TracChangeset for help on using the changeset viewer.