• Resolved Georges Bustos

    (@georges-bustos)


    Hi

    I’m trying to use the shortcode [booking-form] with Avada theme.

    When I use it in an empty page, it displays the form.
    When I use it in a page that contains already some other code, the form does not show up.
    In my case, I insert the [booking-form] inside a text shortcode of Avada.

    When I check the generated code, I see this (below) :

    Any idea ?

    Thanks very much for your help
    Georges

    <div class=”rtb-booking-form”>
    <form method=”POST” action=”http://preprod.restaurant-alouette.com/reservez-votre-table/”&gt;
    <input type=”hidden” name=”action” value=”booking_request”>

    <fieldset class=”reservation”>

    <legend >
    Réserver une table </legend>

    <div class=”rtb-text date”>
    <label for=”rtb-date”>
    Date </label>
    <input type=”text” name=”rtb-date” id=”rtb-date” value=””>
    </div>

    <div class=”rtb-text time”>
    <label for=”rtb-time”>
    Heure </label>
    <input type=”text” name=”rtb-time” id=”rtb-time” value=””>
    </div>

    <div class=”rtb-select party”>
    <label for=”rtb-party”>
    Personne(s) </label>
    <select name=”rtb-party” id=”rtb-party”>
    <option value=”1″ >1</option>
    <option value=”2″ >2</option>
    <option value=”3″ >3</option>
    <option value=”4″ >4</option>
    <option value=”5″ >5</option>
    <option value=”6″ >6</option>
    <option value=”7″ >7</option>
    <option value=”8″ >8</option>
    <option value=”9″ >9</option>
    <option value=”10″ >10</option>
    </select>
    </div>

    </fieldset>
    <fieldset class=”contact”>

    <legend >
    Coordonnées </legend>

    <div class=”rtb-text name”>
    <label for=”rtb-name”>
    Nom </label>
    <input type=”text” name=”rtb-name” id=”rtb-name” value=””>
    </div>

    <div class=”rtb-text email”>
    <label for=”rtb-email”>
    Email </label>
    <input type=”email” name=”rtb-email” id=”rtb-email” value=””>
    </div>

    <div class=”rtb-text phone”>
    <label for=”rtb-phone”>
    Téléphone </label>
    <input type=”tel” name=”rtb-phone” id=”rtb-phone” value=””>
    </div>

    <div class=”add-message”>

    Ajouter un message

    </div>

    <div class=”rtb-textarea message”>
    <label for=”rtb-message”>
    Message </label>
    <textarea name=”rtb-message” id=”rtb-message”></textarea>
    </div>

    </fieldset>

    <button type=”submit”>Demande de réservation</button>

    </form>
    </div>

    https://wordpress.org/plugins/restaurant-reservations/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you send a link to the page where you’ve added the shortcode but it doesn’t appear? And point out where in the page it should be appearing (that will help).

    Thread Starter Georges Bustos

    (@georges-bustos)

    Hi

    I have just recreated the page and then added the short code. It does work.
    I can now continue to test the plug-in.

    Sorry for this perturbation.

    All the best

    Georges Bustos

    The best kind of problems. The ones that leave as mysteriously as they arrived. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode not working with Avada theme’ is closed to new replies.