Add separate "topbar" menu for independent editing

This commit is contained in:
Hippo 2019-08-04 14:22:02 +05:30
parent 44c9623de9
commit e47590b7bb

View file

@ -142,4 +142,12 @@ function independent_publisher_posted_author_card() {
<?php do_action( 'independent_publisher_after_post_published_date' ); ?> <?php do_action( 'independent_publisher_after_post_published_date' ); ?>
<?php <?php
} }
function independent_publisher_setup() {
register_nav_menus(
array(
'topbar' => __( 'Topbar Menu', 'independent-snipette' ),
)
);
}