• Resolved aga2442

    (@aga2442)


    hello,

    when i add any shortcode to my homepage it works fine. but when I want to make a new transaction, for example creating a new reservation, all transactions continue on the homepage. When this is the case, it leads to a confusion with other areas in the page.

    instead, is it possible to redirect to the page where all the tools are listed for example when the user takes any action?

    or when the visitor uses any shortcode, is it possible to be redirected to the relevant page defined in the background?

Viewing 1 replies (of 1 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello,

    Thanks for your message. That’s happening because your home page is using a Shortcode rather than the apposite “Search Form” Widget. You should remove the Shortcode in the homepage and publish instead the Widget, and from its parameters you will be able to choose the landing page URL, which will be a drop down menu listing all of your active Shortcodes.

    We do not suggest using Shortcodes in the home page exactly for that reason, or the landing page of the booking process will remain the home page. This is because the current Post ID is always kept during the booking process, and the home page has got an empty Post ID which corresponds to the website root URI.

    You should create at least the following types of Shortcode in Vik Booking and publish them onto an active Page/Post:

    1. Search Form (this is useful to set the permalink for the booking process, for example by adding it to a page called “Book Now”).
    2. Rooms List (useful to list your rooms and give access to the front-end to the details page of each room/listing).
    3. Booking Details. This type of Shortcode is fundamental for the routing functions. You can use it onto a page with a name like “Your reservation”.

    This configuration should fix your problems.

    The VikWP Team

Viewing 1 replies (of 1 total)
  • The topic ‘shortcode support’ is closed to new replies.