spoloso spoloso - 1 month ago 6
PHP Question

when use Bootstrap not works

I use Bootstrap for my template in wordpress for split header, but it not work
I used below code in header

<div class="container">
<div class="row">
<div class="col-lg-6">
<?php
Better_Mag::generator()->get_main_slider();
?>
</div>
<div class="col-lg-6">
hello world
</div>
</div>
</div>


Screenshot problem: http://prntscr.com/cxfo3d

My website URL: http://hatef[dot]sb/wordpress/
Please replace [dot] with => .

Answer

Change your code like this

<div class="container">
<div class="row">
<div class="col-lg-6">
hello world
</div>
<div class="col-lg-6">
<?php
              Better_Mag::generator()->get_main_slider();
?>
</div>

</div>
</div>