Risposte nei forum create
Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
-
AutorePost
-
GianArbPartecipante
<?php
define( 'OT_VERSION', '1.1.7.1' );
define( 'OT_PLUGIN_DIR', TEMPLATEPATH . '/option-tree');
define( 'OT_PLUGIN_URL', get_template_directory_uri() . '/option-tree');
/**
* Required Files
*
* @since 1.0.0
*/
require_once( OT_PLUGIN_DIR . '/functions/functions.load.php' );
require_once( OT_PLUGIN_DIR . '/classes/class.admin.php' );
/**
* Instantiate Classe
*
* @since 1.0.0
*/
$ot_admin = new OT_Admin();
/**
* WordPress Activate/Deactivate
*
* @uses register_activation_hook()
* @uses register_deactivation_hook()
*
* @since 1.0.0
*/
register_activation_hook( __FILE__, array( $ot_admin, 'option_tree_activate' ) );
register_deactivation_hook( __FILE__, array( $ot_admin, 'option_tree_deactivate' ) );
/**
* Required action filters
*
* @uses add_action()
*
* @since 1.0.0
*/
add_action( 'init', array( $ot_admin, 'create_option_post' ), 5 );
add_action( 'admin_init', array( $ot_admin, 'option_tree_init' ) );
add_action( 'admin_menu', array( $ot_admin, 'option_tree_admin' ) );
add_action( 'wp_ajax_option_tree_array_save', array( $ot_admin, 'option_tree_array_save' ) );
add_action( 'wp_ajax_option_tree_array_reload', array( $ot_admin, 'option_tree_array_reload' ) );
add_action( 'wp_ajax_option_tree_array_reset', array( $ot_admin, 'option_tree_array_reset' ) );
add_action( 'wp_ajax_option_tree_add', array( $ot_admin, 'option_tree_add' ) );
add_action( 'wp_ajax_option_tree_edit', array( $ot_admin, 'option_tree_edit' ) );
add_action( 'wp_ajax_option_tree_delete', array( $ot_admin, 'option_tree_delete' ) );
add_action( 'wp_ajax_option_tree_next_id', array( $ot_admin, 'option_tree_next_id' ) );
add_action( 'wp_ajax_option_tree_sort', array( $ot_admin, 'option_tree_sort' ) );
add_action( 'wp_ajax_option_tree_import_data', array( $ot_admin, 'option_tree_import_data' ) );
add_action( 'wp_ajax_option_tree_update_export_data', array( $ot_admin, 'option_tree_update_export_data' ) );
add_action( 'wp_ajax_option_tree_add_slider', array( $ot_admin, 'option_tree_add_slider' ) );
add_action( 'wp_ajax_option_tree_save_layout', array( $ot_admin, 'option_tree_save_layout' ) );
add_action( 'wp_ajax_option_tree_delete_layout', array( $ot_admin, 'option_tree_delete_layout' ) );
add_action( 'wp_ajax_option_tree_activate_layout', array( $ot_admin, 'option_tree_activate_layout' ) );
add_action( 'wp_ajax_option_tree_import_layout', array( $ot_admin, 'option_tree_import_layout' ) );
add_action( 'wp_ajax_option_tree_update_export_layout', array( $ot_admin, 'option_tree_update_export_layout' ) );
Ho provato a leggere il wiki, ma non mi ci ritrovo.. Questo è il mio file index.phpGianArbPartecipanteUn blog intendi una struttura di CMS che non sia WP?
Il widget che dici tu mi pubblica gli articoli del singolo blog.. non di tutti.. almeno io penso funzioni cosi’.. non riesco a farlo andare diversamente eheh
-
AutorePost
Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)