Add title-tag theme support
This commit is contained in:
1 parent
2252d679ac
commit
3232bde906
1 file changed
+7
@@ -1,5 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
// Theme setup.
|
||||||
|
function super_simple_theme_setup() {
|
||||||
|
add_theme_support("title-tag");
|
||||||
|
}
|
||||||
|
add_action("after_setup_theme", "super_simple_theme_setup");
|
||||||
|
|
||||||
|
|
||||||
// Register the theme's navigation menu.
|
// Register the theme's navigation menu.
|
||||||
function register_my_menu() {
|
function register_my_menu() {
|
||||||
register_nav_menu("header-menu", __("Header Menu", "super-simple-wp-theme"));
|
register_nav_menu("header-menu", __("Header Menu", "super-simple-wp-theme"));
|
||||||
|
|||||||
Reference in new issue
Block a user