Dave
Forum Replies Created
-
AuthorPosts
-
Hi,
Just come across a small issue I’m having in the Elementor designer again.
I’ve added the Closed Now / Open Now business hours meta data to the place archive item I’ve created in Elementor. The element works fine in the archive pages using the ‘Archive Posts’ widget. It allows the user to click the arrow and open a list of the places hours. Example here:
https://whatsonhub.com/places/category/restaurants/united-kingdom/east-riding-of-yorkshire/However, when using the same skin in the GD Listings widget at the bottom of a details page, that business hours element is holding the hours list open instead of being hidden. No button appears either to allow the user to close it. You can see this under ‘Nearby Restaurants’ on this page for example:
https://whatsonhub.com/events/united-kingdom/east-riding-of-yorkshire/the-woman-in-black-18Can you please help?
Thanks,
DaveThanks Alex.
Also, I’ve selected the ‘event_dates’ field to insert into the item. Works well for most, but when it comes to recurring events, it displays every single date available.
I can’t see any other field to choose from that would select on the first recurrence. Is it possible to shorten this down somehow or provide another field that would allow me to just have the next recurrence only?
Thanks,
DaveHi Alex,
That’s exactly how I’ve done it each time so far. In the templates, they are set as an actual image. Problem is with that, is that although it’s possible to overlay text on the top, it’s not possible to overlay a gradient.
I’d also like to have a fixed height and that the image centres both vertically and horizontally, but it’s not really possible again with an image, unless it’s cropped in wordpress, but Stiofan thinks Jetpack is preventing the custom sizes.
So in theory, a background image of a div section is the way to go. It allows me to dynamically insert the Featured Image in the editor, just like an image, but on the front end, it keeps repeating the same image.
Would Stiofan mind taking another look? I’m guessing it’s just not picking up the post ID for each event for some reason.
Thanks,
DaveThis reply has been marked as private.Sorry guys, I have another problem. This time, I’m trying to set up the event archive and archive items. However, it’s coming up with an error “post ID is missing” when trying to populate the listings with the archive item…
https://whatsonhub.com/events/category/theatre-shows/united-kingdom/east-riding-of-yorkshire/
I set up a second archive item template called “event archive 2” as I thought maybe it was an error in the first one I created (event archive item). But it’s still not working.
I’ve changed it back to default in the event settings archive item thinking it might be the same error as yesterday.
Can you help please?
Thanks,
DaveGot it. Great suggestion on asking them to do it manually though. Thanks for your help.
Ah I see. Thanks Alex. So the package can’t select the category automatically?
Got it. Thanks again for your help.
Ah I see. Ok thanks Stiofan.
For some reason, the main featured image isn’t showing though. It does when I’m editing it in the theme builder within elementor, but not on the live listings i.e.
https://whatsonhub.com/events/united-kingdom/east-riding-of-yorkshire/the-woman-in-black-18/
Any ideas?
Thanks,
DaveAlso just going back to your point Alex about assigning a package to a category, is that possible? I’d love to do that.
Thanks,
DaveThis reply has been marked as private.Brilliant, that’s worked! thanks!
I had no idea there was a difference in curly ones and straight ones lol.
Thanks again,
DaveHi Stiofan,
Sorry, do you mean I just need to swap all the ” inside the script to ‘ ?
Thanks,
DaveThanks Alex.
I’ve just setup a custom field with field key as ‘eventbrite_checkout_id”.
I’ve set up the following shortcode and inserted it into the event details page using the tabs:
[gd_dynamic_content key=”eventbrite_checkout_id” condition=”is_not_empty”]<div id=”eventbrite-widget-container″></div>
<script src=”https://www.eventbrite.co.uk/static/widgets/eb_widgets.js”></script>
<script type=”text/javascript”>
var exampleCallback = function() {
console.log(‘Order complete!’);
};window.EBWidgets.createWidget({
// Required
widgetType: ‘checkout’,
eventId: ‘%%eventbrite_checkout_id%%’,
iframeContainerId: ‘eventbrite-widget-container’,// Optional
iframeContainerHeight: 425, // Widget height in pixels. Defaults to a minimum of 425px if not provided
onOrderComplete: exampleCallback // Method called when an order has successfully completed
});
</script>
[/gd_dynamic_content]As you can see, I’ve set the field key to the correct custom field ID, and inserted the custom field %% tag into the code in the middle.
I’ve inserted my eventbrite event ID into the following listing, but it’s not picking up the checkout for some reason.
https://whatsonhub.co.uk/events/united-kingdom/northern-lincolnshire/rolling-stones-story/
Any ideas?
Thanks,
Dave -
AuthorPosts