changed the
This commit is contained in:
@@ -178,7 +178,7 @@ class Partnerexpo_Core {
|
|||||||
private function define_cpts() {
|
private function define_cpts() {
|
||||||
$args = array(
|
$args = array(
|
||||||
'labels' => array(
|
'labels' => array(
|
||||||
'name' => 'partners',
|
'name' => 'pexpo_partners',
|
||||||
'singular_name' => __('Partner', 'partnerexpo-core'),
|
'singular_name' => __('Partner', 'partnerexpo-core'),
|
||||||
'menu_name' => __('Partnerek', 'partnerexpo-core'),
|
'menu_name' => __('Partnerek', 'partnerexpo-core'),
|
||||||
'add_new' => __('Új partner hozzáadása', 'partnerexpo-core'),
|
'add_new' => __('Új partner hozzáadása', 'partnerexpo-core'),
|
||||||
@@ -194,7 +194,7 @@ class Partnerexpo_Core {
|
|||||||
'supports' => array( 'title', 'thumbnail', 'excerpt' ),
|
'supports' => array( 'title', 'thumbnail', 'excerpt' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
register_post_type( 'partners', $args );
|
register_post_type( 'pexpo_partners', $args );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* Plugin Name: PartnerExpo Core
|
* Plugin Name: PartnerExpo Core
|
||||||
* Plugin URI: https://partnerexpo.eu
|
* Plugin URI: https://partnerexpo.eu
|
||||||
* Description: A PartnerEXPO oldal belső pluginja
|
* Description: A PartnerEXPO oldal belső pluginja
|
||||||
* Version: 1.0.0
|
* Version: 1.0.1
|
||||||
* Author: Juhász Levente
|
* Author: Juhász Levente
|
||||||
* Author URI: https://github.com/Duskell/
|
* Author URI: https://github.com/Duskell/
|
||||||
* License: GPL-2.0+
|
* License: GPL-2.0+
|
||||||
@@ -23,7 +23,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
define( 'PARTNEREXPO_CORE_VERSION', '1.0.0' );
|
define( 'PARTNEREXPO_CORE_VERSION', '1.0.1' );
|
||||||
|
|
||||||
function activate_partnerexpo_core() {
|
function activate_partnerexpo_core() {
|
||||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';
|
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user