How to make title for home to be News, but if page has parent then its name else just post/page name
문제
Made own template from scratch and tutorials. This is showing description of post/page Title and in home its showing website name.
<h3><?php is_home() ? bloginfo('description') : wp_title(''); ?></h3>
I wanted to change that if home page then that it writes News and if page then its name but if page is subpage then parent name.
올바른 솔루션이 없습니다
제휴하지 않습니다 wordpress.stackexchange