<?php if (get_post_field('post_name', get_the_ID()) != 'your-doctors') { ?> <div class="our-specilist__btn is-style-light-btn"> <a href="<?php echo site_url('/your-doctors'); ?>" class="btn"> View All Doctors </a> </div> <?php } ?>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter