Problem sa temom - ne piše "site title"

Da li znate koji dio koda fali u headeru. U tabu gore kada otvorim sajt ne pise
Site Title vec samo domena.com

https://codex.wordpress.org/Function_Reference/get_the_title

<title><?php wp_title( '|', true, 'right' ); ?></title>
Postaviti u get_template_directory() . '/header.php'

nece tako :smiley:

Je l’ upisano ista u CMS-u: Settings -> General -> Site Title | Tagline?

Da upisao sam…

Do teme je 100% jer na default temi radi…

Dobro, kako izgleda header.php od teme ?

`<?php
/**

  • Header template for the theme

*/
?>

> <?php wp_title();?> <?php /* * We add some JavaScript to pages with the comment form * to support sites with threaded comments (when in use). */ if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
/*
 * Always have wp_head() just before the closing </head>
 * tag of your theme, or you will break many plugins, which
 * generally use this hook to add elements to <head> such
 * as styles, scripts, and meta tags.
 */
wp_head();

?>

>
	<div id="navigation" class="stickyNav <?php echo (is_user_logged_in()) ? 'login_user':'';?>" role="banner">

		<nav id="access" class="container_16 containermargin" role="navigation">
		<div class="nav1">
			<h3 class="assistive-text"><?php _e( 'Main menu', 'hct' ); ?></h3>
			<?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
			<div class="skip-link screen-reader-text"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'hct' ); ?>"><?php _e( 'Skip to primary content', 'hct' ); ?></a></div>
            <div id="mobilemenu" class="notonscreen">
                <div align="center" style="padding:10px;">
                	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
                	    <?php if (of_get_option('logo')):?>
                	        <img src="<?php echo of_get_option('logo');?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" width="200" height="30">
                	    <?php else:?>
                	       <h2 class="logo_title">	<?php bloginfo('name');?> </h2>
                        <?php endif;?>
                    </a>
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="sf-logomenu notonmobile">
                <p>
                	<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
                		<?php if (of_get_option('logo')):?>
                	        <img src="<?php echo of_get_option('logo');?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" width="200" height="30">
                	    <?php else:?>
						<h2 class="logo_title">	<?php bloginfo('name');?> </h2>
                        <?php endif;?>
                    </a>
                </p>
            </div>
			<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary location is the one used. If one isn't assigned, the menu with the lowest ID is used. */ ?>
			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary', 'menu_class' => 's_style sf-menu sf-js-enabled sf-arrows' ) ); ?>

			<div class="sf-socialmenu notonmobile">
			<ul class="social_special">
				<li><a href="<?php bloginfo( 'rss2_url' ); ?>" target="_blank"><i class="fa fa-rss"></i></a></li>
				<?php if(of_get_option( 'facebook' )) {?>			
	                <li><a href="<?php echo of_get_option( 'facebook' ); ?>" target="_blank"><i class="fa fa-facebook"></i></a></li>
				<?php }?>
	
	            <?php if(of_get_option( 'twitter' )) {?>
	                <li><a href="https://twitter.com/<?php echo of_get_option( 'twitter' ); ?>" target="_blank"><i class="fa fa-twitter"></i></a></li>
				<?php }?>

	            <?php if(of_get_option( 'gplus' )) {?>
	                <li><a href="<?php echo of_get_option( 'gplus' ); ?>" target="_blank"><i class="fa fa-google-plus"></i></a></li>
			    <?php }?>
		    </ul>
		    </div>

			<ul id="iconmenu" class="sf-menu sf-js-enabled">
                <li id="searchicon" class="notonmobile icon-search"><a href="" class="sf-with-ul"></a>
                    <ul id="searchul" class="sub-menu" style="left: auto; right: 0px;">
                        <li><?php get_search_form( true ); ?></li>
                    </ul>
                </li>
            </ul>
			<div style="clear:both;"></div>
		</div>
		</nav><!-- #access -->

</div><!-- #navigation -->

<div id="wrapper" class="hfeed">
    <div id="contentcontainer" class="container_16 containermargin">

`

Tek sam ustao, mozda nisam jos progledao kako treba, ali ja ne vidim <head></head> tagove

Probaj wp_head(); omotatiti u head tagove.

forum jebe ne mogu pejstati lijepo evo ti poglledaj ovako http://pastebin.com/DdPrRxPg

Ovdje izgleda sve sasvim normalno, nemam ideju stvarno sta bi moglo biti.

Da li koristis zadnju verziju WordPress-a?

Od verzije 4.1 to vise nije preporuceno: https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/

wp -------------Version 4.3.1

Hvala.

@Zdenga

Radi li ovo sa @apazinjan -inovog linka?
Jos | dva.

Nece ni ovo :confused: aaaaaaa ludim po malo…


Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Profit Monkey