Last active
October 14, 2016 05:37
-
-
Save aslamhindko/85e3866d58a9cfef65b9c7b85ac1c3eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
agat wordpress main har page per alag header image leni ho tu is k liye code dege | |
<?php $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(),'full', true); ?> | |
<section class="treatmentpage" style="background: url(<?php echo $thumbnail[0]; ?>) no-repeat;"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<h1><?php the_title(); ?></h1> | |
<ol class="breadcrumb"> | |
<li> | |
<a href="<?php echo site_url(); ?>">Home</a> | |
</li> | |
<li class="active"><?php the_title(); ?></li> | |
</ol> | |
</div> | |
</div> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment