-
Hi !
I would like to know if there is the possibility to change the url of the “Rent” button at the top right (header). I would like it to point to a custom URL, like http://www.your-site.com/book, instead of http://www.your-site.com/catalog
If not, is there the possibility to add a button with a customed URL?
Thank you !
We don’t have this option in the theme. You can modify theme templates to do this:
- renroll/templates/header-mobile-book-now.php
- renroll/templates/header-book-now.php
Please, use child theme.
I alexy and Jamel, I have the same problem. I think that it´s incredible, never i have had to entry in php editor to change a link!
Sorry, i followed your instructions but there aren´t place to change these link. Could you show how do it??
>renroll/templates/header-mobile-book-now.php
>renroll/templates/header-book-now.php
Attachments:
You must be logged in to view attached files.Hi info_316 !
The answer of Alexey is good but annoying…
You can edit this button on most of themes but not on Renroll Theme. Maybe an update ?
Edit the two files and put your custom URL like this:
File: header-book-now.php
<?php if ( templines_show_desktop_rent_button() ) { ?>
c-header_book-now”
href=”href=”https://www.your-website.com/page”><?php echo esc_html( templines_mod( ‘header_book_text’ ) ); ?>
<i class=”ip-z-arrow-right c-header_book-now-ico”></i>
<?php } ?>—
File: header-mobile-book-now.php
<?php if ( templines_show_mobile_rent_button() ) { ?>
<a class=”c-button c-button–small c-header_mobile-book-now”
href=”https://www.your-website.com/page”><?php echo esc_html( templines_mod( ‘mobile_header_book_text’ ) ); ?>
<?php } ?>Just copy the code, paste it, and change the URL. Make a backup (in case).
It’s ok for me. Tell me if it’s good for you.
Please update theme. We’ve added option: https://monosnap.com/file/YJoZq8No7NeYcvJ9a0kDaziSpdbuNa
Custom URL for the "Rent" button – Top right header
This topic is: not resolved
Viewing 6 posts - 1 through 6 (of 6 total)