Join our new community forum for support & discussion

Join Now

Home Support Themes RentalHive Book Now Button

Book Now Button

  • Author
    Posts
  • Rantsho

    Is it possible to have a “Book Now” button as part of the social links? The book now button will be ideal for listings that want to promote direct booking on their website. Please let me know when this feature is available. I want to buy it now. I bought all the extensions except the social link.

    ihor developer

    If you display social links as buttons (instead of icons) then the Book Now button will be in the same area (maybe with an extra space) as the social buttons (in the listing sidebar). Please note that the Bookings extension is required for the Book Now functionality.

    Rantsho

    My request was to have a “Book Now” button that links to an external booking website. Not the “Book Now” button from the Booking plugin.

    But I have managed to do it for myself. I edited the social links plugin code and replaced the name of the ‘website’ button to “book Now”

    // Exit if accessed directly.
    defined( 'ABSPATH' ) || exit;
    
    return [
    	'website'     => [
    		'label' => esc_html__( 'Book Now', 'hivepress-social-links' ),
    	],
    ],
    ihor developer

    Thanks for posting the solution! Please don’t edit the plugin code directly because any changes will be overridden on update. Instead, you can override this array via the hivepress/v1/social_links filter hook.

Viewing 4 posts - 1 through 4 (of 4 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.