Add separate "topbar" menu for independent editing
This commit is contained in:
parent
44c9623de9
commit
e47590b7bb
1 changed files with 9 additions and 1 deletions
|
@ -142,4 +142,12 @@ function independent_publisher_posted_author_card() {
|
|||
|
||||
<?php do_action( 'independent_publisher_after_post_published_date' ); ?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
function independent_publisher_setup() {
|
||||
register_nav_menus(
|
||||
array(
|
||||
'topbar' => __( 'Topbar Menu', 'independent-snipette' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue