javascript - How to implement bootstrap tour on wordpress -
javascript - How to implement bootstrap tour on wordpress -
i'm trying implement bootstrap tour wordpress site bootstrap theme far every time seek link stylesheets (css) , javascrit doesn't work. page wont load stylesheets or javascript.
all setup works fine when work locally when seek implemented on wordpress nil works.
is there specific way have setup stylesheets , javascript on wordpress?
this header:
<html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo('charset'); ?>" /> <?php if (is_search()) { ?> <meta name="robots" content="noindex, nofollow" /> <?php } ?> <title> <?php wp_title('|', true, 'right'); ?> </title> <!-- bootstrap core css --> <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri();?>/css/bootstrap.css"> <!-- add together custom css here --> <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri();?>/css/bootstrap-tour.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri();?>/css/landing-page.css"> <script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/jquery-1.10.2.js"></script> <script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/bootstrap.js"></script> <script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/bootstrap-tour.min.js"></script> <script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/script.js"></script> <link rel="shortcut icon" href="/favicon.ico"> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"> <?php wp_head(); ?> </head> <body <?php body_class(); ?>>
if using child theme
, get_template_directory_uri()
give path of parent theme
for kid theme, utilize get_stylesheet_directory_uri()
instead.
javascript css wordpress bootstrap-tour
Comments
Post a Comment