Plugin Directory

Changeset 1612001


Ignore:
Timestamp:
03/10/2017 02:35:29 PM (9 years ago)
Author:
Dge-06
Message:

ajout de meta box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • count-share-by-jm-crea/trunk/index.php

    r1601238 r1612001  
    44 * Plugin URI: http://www.jm-crea.com
    55 * Description: Intégrez des boutons de partage vers les réseaux sociaux sur vos pages et sur vos posts. Compteurs inclus.
    6  * Version: 1.0
     6 * Version: 1.1
    77 * Author: JM Créa
    88 * Author URI: http://www.jm-crea.com
    99 */
    1010 
    11  
     11
     12
    1213/* INSTALLATION DU PLUGIN */
    1314include( plugin_dir_path( __FILE__ ) . 'includes/install.php');
    1415register_activation_hook(__FILE__, 'creer_table_cs_jm_crea');
    1516register_activation_hook(__FILE__, 'insert_table_cs_jm_crea');
     17include( plugin_dir_path( __FILE__ ) . 'includes/meta-box-cs.php');
    1618
    1719
     
    127129include( plugin_dir_path( __FILE__ ) . 'includes/fonctions.php');
    128130
    129 
    130 
    131 
    132131add_action( 'wp_enqueue_scripts', 'cs_fa_by_jm_crea' );
    133132function cs_fa_by_jm_crea() {
     
    136135
    137136
    138 
    139137function head_meta_cs_jm_crea() {
    140 echo("<meta name='Count Share By JM Créa' content='1.0' />\n");
     138echo("<meta name='Count Share By JM Créa' content='1.1' />\n");
    141139}
    142140add_action('wp_head', 'head_meta_cs_jm_crea');
Note: See TracChangeset for help on using the changeset viewer.