OVS WP Entity
Utilitaire pour faciliter la création de custom Post type, Taxonomies et Metabox dans Wordpress
by Overscan · github.com/devteamoverscan/ovs-wp-entity · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/devteamoverscan/ovs-wp-entity/archive/refs/heads/main.zipÀ effetuer si vous n'utilisez pas le boiler de Overscan
Dans le dossier "mu-plugins" créer un fichier "ovs.php". Ajouter le code suivant à l'intérieur du fichier nouvellement créé.
<?php
/**
* Plugin Name: Ovs
* Description: Utilitaire pour faciliter la création de custom Post type, Taxonomies et Metabox dans Wordpress
* Plugin URI: https://www.overscan.com/
* Version: 1
* Author: Overscan
* Author URI: https://www.overscan.com/
* Text Domain: ovs
* License: GPL v3 or later
* License URI: https://www.gnu.org/licenses/quick-guide-gplv3.html
*/
/**
*
* @package OVS
* @author Overscan
* @link https://www.overscan.com
*/
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly
}
//Package d'installation
require WPMU_PLUGIN_DIR . '/ovs-wp-entity/init.php';
if(get_option('custom_plugins') !== false) {
foreach (get_option('custom_plugins') as $plugin) {
if(file_exists(WPMU_PLUGIN_DIR . '/'. $plugin.'/init.php')) {
require WPMU_PLUGIN_DIR . '/'. $plugin.'/init.php';
}
}
}