specify page remove button using php

PHOTO EMBED

Fri Apr 19 2024 09:06:45 GMT+0000 (Coordinated Universal Time)

Saved by @divyasoni23 #php

<?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
    }
    ?>
content_copyCOPY