Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, is the plugin active in the second screenshot? If yes, where have you put the shortcode?

    Regards

    Nickolas

    Thread Starter hkow

    (@hkow)

    Hi Yeah the plugin is active. The short code is in the end of the screenshot you can see it.

    I dont change the position between the screenshot.

    The shortcode is integrated in an HTML of a booking script (Hbook)

    Plugin Author nickboss

    (@nickboss)

    Can you send me a screenshot of the HTML where you have added the plugin?

    Please note that the shortcode is processed when it is inside the contents of a page or post. If it added in another way, it may not be processed.

    Nickolas

    Thread Starter hkow

    (@hkow)

    Yeah I’ve added the shortcode in a form of the Hbook plugin (the form accept html)
    you can see it here : http://prntscr.com/noat82

    The form is in the content of a wordpress page.

    I also tried to add the short code in the php file of the form but without success.

    I don’t understand why its work in the visual page editor but not on the live page of the site.
    I really need to add it in the form.

    Do you have an idea ?

    Thanks

    Plugin Author nickboss

    (@nickboss)

    I do not think that this is the right way to do it.

    You can try with PHP using the following code:

    echo do_shortcode("[wordpress_file_upload]");

    Please note that this is the default shortcode. If you want to change options, you will have to do it manually.

    Nickolas

    Thread Starter hkow

    (@hkow)

    Hi !

    Thank you ! 🙂
    I tried to add short by PHP, now I have the uploader on my page….
    BUT he is not working 🙁

    When I click to upload a file, its open the explorer to select file, but after I select, its doesnt upload the file.

    You can try it here : https://sweetlovesuite.fr/reservation/
    (just pick 2 date) click “Chercher” and “Reserver maintenant” and scroll down, you will see the upload)

    Plugin Author nickboss

    (@nickboss)

    HBook plugin changes the IDs of the elements of the upload form (I do not know why), so the upload form does not work.

    You need to put the upload form outside HBook form. Can you do this?

    Nickolas

    Thread Starter hkow

    (@hkow)

    I will try to add it between 2 div of Hbook in hope it will not change the ID.

    Do you think if I load the plugin in another page, and insert an iframe in the réservation page it can work?

    Plugin Author nickboss

    (@nickboss)

    No this is not a good idea.

    How do you edit the page? Using WordPress page editor? Or is it a custom one?

    Nickolas

    Thread Starter hkow

    (@hkow)

    In the WordPress page editor, i only have the hbook short code.

    And so I added WP upload in the middle of Php file of Hbook form.

    Plugin Author nickboss

    (@nickboss)

    Ok so put WordPress File Upload shortcode below hbook shortcode.

    Nickolas

    Thread Starter hkow

    (@hkow)

    Yeah its work but it is a booking form so if I put it below it will not be seen by most of people and they will pay without upload the documents

    Plugin Author nickboss

    (@nickboss)

    Ok I understand, please send me the php file of hbook in my email [email protected] to have a look.

    Nickolas

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Upload code working in editor but not live’ is closed to new replies.