Anchor for booking form.

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 10 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14509

    I would like to make an anchor to a booking form

    like this:

    <h3 id=”eo-booking-title”>Booking</h3>


    how to make it in the most efficient way?

    i can do it manually, but after your update it will be removed.
    is there another way to do it?

    cinzia rascazzo
    #14512

    Do you mean you want to link to an event’s booking form? If so http://yoursite.com/events/event/event-name#eo-booking-form should do it.

    You can do that via:

    $url = get_the_permalink( $event_id ) .  '#eo-booking-form';
    
    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.