Okay
  Public Ticket #3850263
short codes not displaying event
Open

Comments

  • Britta started the conversation

    My goal was to add the short code on the home page right before the instagram feed on the home page of www.shopsatstonefield.com and then display it again in the happenings tab. 

    Short codes not displaying calendar in both locations. Both sections are now blank. 

    I created one event for now to test, added short code to the home page and to the happening page and it is blank. on the home page the html code is this:

    <h2 class="directory_single_title" style="color:black; text-align:center">Upcoming Events & Happenings</h2>
    <div class="col-sm-10 col-sm-offset-1 text-center">
    <p style="text-align: center;">While shopping The Shops at Stonefield, don’t miss out on Charlottesville’s best in news, events, and promotions. With so much going on, you will almost always find a designer fashion show, fun family event, or unique offering to indulge yourself in.</p>
    </div>

            <?php echo do_shortcode('[ameliaeventslistbooking]'); ?>
        </div>
    </section>

    I also added a PhP snippet:  echo do_shortcode('[ameliacatalogbooking]'); 

    I attached screen shots of things too. It happened on the heels of using "The Events Calendar" it worked well at first but then when you clicked on individual events it kept saying page not found. I tried to fix it until the calendar didn't show at all any more.  so I deleted that plugin and went with Amelia. and now I am experiencing the same problem with the short code not displaying the calendar. short codes have always worked before when I had WP Events calendar until it was no longer supported with my version and broke the home page.

    Any ideas what I am doing wrong? 

    Thank you so much! 
    Britta

    Attached files:  Screenshot 2025-04-03 at 10.01.23 AM.png
      Screenshot 2025-04-03 at 10.00.38 AM.png
      Screenshot 2025-04-03 at 9.57.08 AM.png
      Screenshot 2025-04-03 at 9.56.20 AM.png

  •   Britta replied privately
  •  1,673
    Uroš replied

    Hello Britta,

    Thank you for the update on this.

    Please check if you can see the booking form on the page when you are not logged in to WordPress or when you are looking from incognito mode.

    If this is the case then this can be 1 of 3 issues but most likely is the issue with some page optimizer. 

    1. The reason why the form is not visible for non-logged-in users is not in Amelia, but instead in your security settings. They're either configured in a Security plugin (if you have any), or they're on your server's side. 

    The best option would be to reach out to your hosting provider, send them the link of the booking page, and tell them exactly what you told us - you can see the page when you're logged in as an admin, but you can't see it from an incognito window (or when you're logged out). They should be able to lift the block, so admin-ajax calls are sent for non-logged-in users also.

    2. You have some page optimizers so turn them off, purge the cache and see if you can see the booking form then

    3. The new booking form should be displayed when you clear the cache, if you have a caching plugin or optimize plugin, please disable the minify js files option.

    For example, if you have WP Rocket, and you have enabled these JS optimizations, which have a negative effect on our New Step Form, which is based on Vue 3 Framework, the booking form won't show.

    9104114591.png

    The old Form is based on Vue Framework 2, but the New Form is based on Vue Framework 3;

    Once you disable the "minify JS" option in the Optimisations on WP Rocket, or similar, and purge the cache the form should appear.

    Also, the issue could be with the Page Optimize plugin. You have these settings 

    1285857871.png

    and they should be added to this first input amelia_booking_script_index like this

    5493199313.png

    and then everything will work with the new form.

    Hope this helps. 

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Britta replied

    Hi Uros, Thank you so much! I was hopeful, but alas, I cannot see the calendar post in incognito on the home page and the events page.