add tab options
This commit is contained in:
@@ -19,6 +19,27 @@ if ( file_exists( $composer_autoload ) ) {
|
||||
$timber = new Timber\Timber();
|
||||
}
|
||||
|
||||
|
||||
if( function_exists('acf_add_options_page') ) {
|
||||
|
||||
acf_add_options_page(array(
|
||||
'page_title' => 'Information',
|
||||
'menu_title' => 'Information',
|
||||
'icon_url' => 'dashicons-buddicons-activity',
|
||||
'capability' => 'edit_posts',
|
||||
'redirect' => false
|
||||
));
|
||||
|
||||
acf_add_options_page(array(
|
||||
'page_title' => 'Partenaires',
|
||||
'menu_title' => 'Partenaires',
|
||||
'icon_url' => 'dashicons-buddicons-activity',
|
||||
'capability' => 'edit_posts',
|
||||
'redirect' => false
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This ensures that Timber is loaded and available as a PHP class.
|
||||
* If not, it gives an error message to help direct developers on where to activate
|
||||
|
||||
Reference in New Issue
Block a user