add_theme_support( ‘title-tag’ ) in conflict with custom titles function
Your problem is that you can not use wp_title() in the theme if the theme already supports title-tag. The <head> of your theme should look like this: <head> <meta charset=”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <?php wp_head(); ?> </head> The filter and title-tag support: add_action( ‘after_setup_theme’, ‘theme_functions’ ); function theme_functions() { add_theme_support( … Read more