• Hi there.

    I need to put out a message about our organisations approach to the Coronavirus spread.

    I have created a page with the statement and would like to place a page link on the Homepage linking to the statement. Logical place would be on the info bar that currently says “Helping you to be a safer rider or driver” . Is it possible to change this text to a page link elsewhere on the site ?

    Thank you, and thanks as always for a great product.

    Andrew

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi
    Thanks for contacting to us.
    To link text below the banner, the picture follows the given below instruction.

    1 Find the index-slider-two.php file and find the below line of code on line no 38.

    <section class="header-title"><h2><?php echo esc_html($current_options['slider_head_title']); ?> </h2></section>

    2 Replace it with the below line of code.
    <section class="header-title"><h2> <a href="enter_your_link_here"><?php echo esc_html($current_options['slider_head_title']); ?> </a></h2></section>

    Change href link value as your need.
    Thanks
    A

    • This reply was modified 4 years, 8 months ago by akhlesh-nagar.
    Thread Starter zimmer46

    (@zimmer46)

    That works perfectly.
    I deleted line 38 and replaced it. However, is there a way to force php to just ignore a line of code rather than delete it ? I have tried // and # but they didn’t work.

    Thanks again for your help. Great support as always.

    Andrew

    Hi
    If you want to comment out old 38 line code.
    Use comments line like in below formate.
    <!–<section class=”header-title”><h2> <?php //echo esc_html($current_options[‘slider_head_title’]); ?> </h2></section>–>

    Let me know for any confusion.

    Thanks

    Thread Starter zimmer46

    (@zimmer46)

    Perfect.
    All part of my education.

    Thank you.

    Andrew

    Glad to help you.
    If you like our Theme & Support, rate us HERE.
    https://www.ads-software.com/support/theme/busiprof/reviews/#new-post
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Create page link on front page’ is closed to new replies.