wp_head() doesn't work please help me
-
Friends i’m new to developing wordpress theme.
as i’m developing an wordpress theme. but problem it that when i install any plugin on my theme is does’nt show properly. by mean it show without own CSS FILES. But when i change theme it appear properly.
as i’m using wp_head(); before </head>but it doesnt work.
as i’ developing my theme in bootstarp 3.2.
////////////index.php file is:‘<?php get_header() ?>
<?php get_sidebar();?>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(“sidebar”) ) : ?>
<?php endif; ?>
<?php get_footer();?>’//////////////header.php is:
‘<!DOCTYPE html>
<html>
<head>
<!–[if lt IE 9]>
<script src=”https://oss.maxcdn.com/libs/html5shiv/3.7.0/
html5shiv.js”></script>
<script src=”https://oss.maxcdn.com/libs/respond.js/1.3.0/
respond.min.js”></script>
<![endif]–>
<meta charset=”<?php bloginfo(‘charset’); ?>” />
<title><?php bloginfo(‘name’);?></title>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″ />
<link type=”text/css” rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_directory’);?>/css/bootstrap.min.css” />
<link type=”text/css” rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_directory’);?>/css/custom.css” />
<script src=”https://code.jquery.com/jquery.js”></script>
<script type=”text/javascript” src=”<?php bloginfo(‘stylesheet_directory’);?>/js/bootstrap.min.js”></script>
<?php wp_head();?>
</head>
<body>
<div class=”container”>’/////////////////functions.php
‘<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(
‘name’ => ‘sidebar’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”,
));
?>
‘sorry for poor english
please help
The topic ‘wp_head() doesn't work please help me’ is closed to new replies.