• Hi Guys,

    I’m trying to have a link only on my “Hot Deals” page, but my provider keeps telling me their system says my link is sitewide. I’m using the following code:

    <p style="text-align: justify;">Find affordable <a href="https://www.cheapcaribbean.com/" target="_blank"><span style="color: #3333ff;"><span style="text-decoration: underline;">all inclusive         vacations</span></span></a> online today.</p>

    I only want it to show on the following page https://caribbeantl.com/hot-deals

    Is there some php code I must add? any assistance is very much appreciated.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • <?php if( is_page( 'Hot Deals') ) :?>
    <p style="text-align: justify;">Find affordable <a href="https://www.cheapcaribbean.com/" target="_blank"><span style="color: #3333ff;"><span style="text-decoration: underline;">all inclusive         vacations</span></span></a> online today.</p>
    <?php endif;?>
    Thread Starter shaimart

    (@shaigan)

    Thanks! Although I’m still being told that the link is showing up site wide :/

    Any idea what else I can do?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Show Link on Specific Page Only’ is closed to new replies.