Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement